View Full Version : FactionType {saba}, not a valid faction type?
Atraphoenix
03-02-2009, 12:01
When I was using ATV-TW to check my ancillaries that it could not find any! But my mod still does not work.
It found many missing ";" in the trait triggers and it gave this warning : "FactionType {saba}, not a valid faction type".
As I lost my hope with the validator to correct my mod, I will handle by the classical method, trial & error.
I just wondered this code was put intentionally or the validator is correct.
P.S. my mod does not work although I get no error messages. I will go crazy!
The factiontype saba is what was the senate in vanilla. If you haven't got Saba modded into your mod, that will fail.
Atraphoenix
03-02-2009, 12:14
I get no error messages, I cannot track the errors. My mod does not open EB opens but does not enters to campaign menu.
I tried to use ATV-TW validator but it says there is no errors in ancillary files :wall:
:help:
P.S. Of course the game works when I change EDA EA with the backup. feedbacks from my mod users says it does not open even after 30 mins.
Atraphoenix
03-02-2009, 12:19
I did not mod the saba under my mod at the moment.
I only modded AS, Romani, Parthian, Makedon, KH, Baktria, Ptolemies, Pontos, Epirot ancillaries.
In my first mod I only modded romani and Parthia It works fine.
It is a trait error message from ATV-TW validator. I never touch traits cos It is hard to mod them.
So I modded ancillaries but validator says no errors with ancillary files.
and my current mod does not enter main campaign.
and no error message I get.
How can I track ancillary files for if they have any errors or not.
Otherwise I will have track each ancillary and its description one by one that means for hours! I would rather to write the codes from the beginning.
So as I was saying, you can't refer to Saba when you don't have Saba as a faction. You need to remove the references to Saba from the traits (triggers).
You can also use the trait/ancillary validation tool I made, if you like. It's part of eb.jar. Get Traits.java from that, change to point to your RTW and run it.
(That is as detailed instructions as I am going to give for it).
Atraphoenix
03-02-2009, 14:17
how can I find it can you pm me the link etc?
I can't give you a link to your own hard drive. It's part of the EB installation.
Atraphoenix
03-02-2009, 17:04
I found it but I think I need a java compiler to work it.
http://www.oracle.com/technology/products/jdev/index.html
http://www.eclipse.org/
http://www.netbeans.org/
Although, it appears to me that the ATV validator does more than mine. You should probably run both. And it's definitely right about the Saba references. You need to remove the references to Saba from the traits (triggers).
Atraphoenix
03-02-2009, 18:08
Will try it, I checked each ancillary codes. codes had some missing "_" and "_of_" I corrected them all but nothing changes. methinks my coding module- I put each faction ancillaries in one module- is the problem. to correct it I have to sacrifice RTW competability, my solution looks likely works with BI.exe and Alex :sweatdrop:
this is the office system of BI, I hope it works with alex,too.
enums
office_amici_principis_east
office_amici_principis_east_desc
office_amici_principis_east_effects_desc
office_amici_principis_west
office_amici_principis_west_desc
office_amici_principis_west_effects_desc
office_comes_dispositionum_east
office_comes_dispositionum_east_desc
office_comes_dispositionum_east_effects_desc
office_comes_dispositionum_west_effects_desc
office_comes_domesticorum_equitum_east_effects_desc
office_comes_domesticorum_equitum_west_effects_desc
office_comes_litoris_saxonici
office_comes_litoris_saxonici_desc
office_dux_britannium
office_dux_britannium_desc
office_eran_spahbod
office_eran_spahbod_desc
ancillaries
;------------------------------------------
Ancillary office_magister_militum_illyricum
Image magiter_militum_Illyricum.tga
ExcludedAncillaries office_magister_militum_thracias, office_magister_peditum_east, office_magister_militum_orientem
ExcludeCultures barbarian, carthaginian, eastern, hun, nomad
Description office_magister_militum_illyricum_desc
EffectsDescription office_magister_militum_illyricum_effects_desc
Effect Defence 2
Effect TroopMorale 1
Effect Combat_V_Barbarian 1
;------------------------------------------
Ancillary office_magister_militum_thracias
Image magiter_militum_Thracias.tga
ExcludedAncillaries office_magister_militum_illyricum, office_magister_equitum_east, office_magister_militum_orientem
ExcludeCultures barbarian, carthaginian, eastern, hun, nomad
Description office_magister_militum_thracias_desc
EffectsDescription office_magister_militum_thracias_effects_desc
Effect CavalryCommand 1
Effect Combat_V_Barbarian 1
Effect Combat_V_Hun 1
triggers
;------------------------------------------
Trigger trigger_office_eran_spahbod
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and SettlementBuildingExists >= proconsuls_palace
and IsGeneral
and not IsFactionHeir
and not IsFactionLeader
and Attribute Influence >= 1
and Attribute Command >= 3
and not FactionwideAncillaryExists office_eran_spahbod
AcquireAncillary office_eran_spahbod chance 50
;------------------------------------------
Trigger trigger_office_mobadan_mobad
WhenToTest CharacterTurnEnd
Condition EndedInSettlement
and SettlementBuildingExists >= temple_of_one_god_awesome_temple
and IsGeneral
and not IsFactionHeir
and not IsFactionLeader
and Trait Zoroastrian >= 1
and Trait Lewd <= 1
and not FactionwideAncillaryExists office_mobadan_mobad
and Trait ZoroastrianPiety >= 1
and not Attribute Command >= 3
and Attribute Influence >= 1
AcquireAncillary office_mobadan_mobad chance 66
I am nearly hopeless that with this module my mod won't be RTW.exe competable, :wall: but will try :book:it.
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.