Python debugging and Rise of Rome's great person training function

I was meaning to add text to the game to indicate which one you get anyhow. I'll see how this works.
 
Ok, I added those strings, and I never see anything appear on screen. Where are they supposed to be logged?
 
They will appear with other game messages like a GP being born or combat results. This tells me that you are probably editing the wrong file at this point. You must be using an older version that didn't have the logic correct.
 
I was beginning to suspect that it wasn't working properly, but I am editing the CvEventManager.py in my mods/traingreatperson/assets/python directory. If I load that mod, what other file could it be reading?
 
I think I've got it. I had a backup of the file which would only give a great person in a subsidiary folder. I think the game was loading both the python code that was giving a great person and the code that was giving a pasture 50% of the time. I didn't know it could do that, but I guess it works now.
 
Back
Top Bottom