davidlallen
Deity
I have created a few new promotions for my Mad Max mod in progress. The XML appears to be correct. But, in the civilopedia, the tree of promotions is totally messed up.
Please find my promotions file by clicking this link. If you have trouble following the link please PM me. Put the file into customassets/xml/units and then bring up BTS and look in the civilopedia. You don't need to start any game, and there is only one file I have modified.
In the promotions page of the civilopedia, you will see the big pink spots for my new promotions. I intentionally left out the button graphics for this simplified test. Even without the graphics you can hover the mouse over the pink squares to see the promotion names.
What I want is a progression Erratic Driving I,II,III and a progression Less Fuel I,II,III. This is what shows up in my XML. I have used the PromotionPrereqOr1 field the same way that the standard Combat I-VI and Guerilla I-III use it.
But in my civilopedia, and also in game play, what I get is messed up. Erratic Driving I leads to hardpoint instead of Erratic Driving II. Erratic Driving II does not require Erratic Driving I or lead to anything. Erratic Driving III does not require anything. The Less Fuel promotion tree is similarly messed up.
It is *obvious* that my XML is right! Why is the game messing it up?
Please find my promotions file by clicking this link. If you have trouble following the link please PM me. Put the file into customassets/xml/units and then bring up BTS and look in the civilopedia. You don't need to start any game, and there is only one file I have modified.
In the promotions page of the civilopedia, you will see the big pink spots for my new promotions. I intentionally left out the button graphics for this simplified test. Even without the graphics you can hover the mouse over the pink squares to see the promotion names.
What I want is a progression Erratic Driving I,II,III and a progression Less Fuel I,II,III. This is what shows up in my XML. I have used the PromotionPrereqOr1 field the same way that the standard Combat I-VI and Guerilla I-III use it.
But in my civilopedia, and also in game play, what I get is messed up. Erratic Driving I leads to hardpoint instead of Erratic Driving II. Erratic Driving II does not require Erratic Driving I or lead to anything. Erratic Driving III does not require anything. The Less Fuel promotion tree is similarly messed up.
It is *obvious* that my XML is right! Why is the game messing it up?