Logo Platform
logo amplifiers simplified

Help with trait prerequisites on units

Reply
Copied to clipboard!
9 years ago
Jan 25, 2016, 5:08:09 PM
I've been unable to figure this out yet. I'm trying to make minor faction units unlockable through traits as well as the normal way. Nothing I tried has worked though. Here's my latest non working attempt:



[CODE]$Path(.../EmpireTypeMajor/EmpireTypeMinor,AffinityKazanji) or $Path(.../EmpireTypeMinor,AffinityKazanji) or $Path(.../EmpireTypeMajor,FactionTraitKazanjiUnit)



$Path(.../EmpireTypeMinor,AffinityKazanji) or $Path(../EmpireTypeMajor,FactionTraitKazanjiUnit)

($Property(ClassCity,Garrison:MaximumUnitSlotCount) - $Property(ClassCity,Garrison:UnitSlotCount)) ge 1

[/CODE]

Note that at this point I had removed "$Path(.../EmpireTypeMajor/EmpireTypeMinor,AffinityKazanji) or " from UnitDesignPrerequisites to test if issues were caused by 3 paths in one prerequisite.



I also tried multiple variations of path prerequisites. Is it possible to have multiple possibilities in path prerequisites like with interpreter prerequisites?





Edit: With the help of simulation debug mode, I figured out the problem: I'm an idiot. I didn't load up simulation descriptors in my mod xml.

In case anyone searches up this thread while looking for info, make sure you load all relevant plugins, check your spelling and here's the right path for trait prerequisites:

.../EmpireTypeMajor,FactionTraitKazanjiUnit
0Send private message
9 years ago
Jan 26, 2016, 9:44:39 AM
Try making the trait add the 'minor faction' flag to the empire. so essentially they're always integrated, but with no villages?
0Send private message
?

Click here to login

Reply
Comment