Log in

View Full Version : Quick 'Imperator' Trait fix



Divinus Arma
07-05-2007, 01:49
I'm finding it impossible to get a triumph because my Generals never attain the Imperator trait. I won't go into detail, but with the dedication I have spent in playtesting attempting to attain it, I should have gotten it by now. I understand that this is something that has been discussed internally and will be corrected in the next build.

In the meantime, am I able to manually alter the text code to make this trait more easily attainable? Is this a simple text change or something more difficult?

My thanks and warm regards,

The Div

sgsandor
07-05-2007, 02:04
you can always use the give_trait "charactername"

-Praetor-
07-05-2007, 03:19
IIRC, this was related to the Reinforcement CTD.

The reinforcement CTD found it`s cause on a conditional for a trait.

To put it short, traits work with conditionals. One of such conditionals is the number of soldiers or enemies on the battlefield. The thing is, the engine had troubles calculating the number of soldiers in a battlefied when it involved a reinforcement, thus causing a CTD after the battle, when it calculated the number of soldiers for assigning a certain number of traits.

The thing is that the Imperator trait used that conditional, but since all the traits using that conditional had to be scrapped, the Imperator trait (and ultimately, the Triumphus feature itself) is, since then, broken.

Hope that answers your doubts.

PS: Yeh, you can always use the "give_trait "Yourcharacternamegoeshere" "Imperator" command... or replace the "Imperator" trait with "Triumphator 2" one.

bovi
07-05-2007, 10:23
They're not scrapped, they're rewritten to circumvent the problem. This may not be precise enough though; also I think one of the triggers got its comparator symbol wrong from what I've seen on the forums earlier, so it required a huge battle with very good odds rather than poor, pretty hard to get while satisfying the rest of the conditions. Can't remember which one it was.

Divinus Arma
07-06-2007, 20:12
Okay, so as a temporary fix, I can open up the command prompt on the campaign map and type:

give_trait Yourcharacternamegoeshere Imperator

Is that the correct format?


Is there something that I can do alternatively, such as change the conditionals to be: win X # of battles against faction and Destroy Faction?

blacksnail
07-06-2007, 21:22
Huh, that's a cool idea.

-Praetor-
07-06-2007, 22:07
Okay, so as a temporary fix, I can open up the command prompt on the campaign map and type:

give_trait Yourcharacternamegoeshere Imperator

Is that the correct format?


Is there something that I can do alternatively, such as change the conditionals to be: win X # of battles against faction and Destroy Faction?

Yes, give it a shot.

PS: I guess since the script is leaded every time you click on th show me how button, it might be savegame compatible, right?

Pharnakes
07-06-2007, 22:09
IIRC non save compatible, though. I least I have had... problems with modding the EDCT mid game.

BozosLiveHere
07-06-2007, 22:17
If you just replace lines, there shouldn't be a problem. That said, I don't think I_NumberOfSettlements works in edct. A quick and dirty solution to what you want would be to comment out the Trait BattlePoints and BattleOdds lines in the Imperator triggers.