• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Civic tree node bugs

tman2000

Prince
Joined
Feb 11, 2025
Messages
480
I get lots of bugs with my civic tree nodes.

One is where a modifier appears in the quick menu but not on the main tree, and no text. I solved this (which happened twice) by manually typing out the exact same code with a different modifier name, deprecating the old modifier. The game was able to intake the new one fine.

Other times the modifier text won't appear. I've copied and pasted directly: the code is fine, the game just doesn't want to use it.

I also have, with these modifiers that won't display the correct text, functions that are identical to other functions (increase city culture where the other function is happiness). The happiness yield modifier works, but not the culture one. I think it has to do with the fact these modifiers are bugged out in the tree where their names won't display.

Any thoughts on what's going on here? I tried to reset the database by disabling my mod, reloading a save, then enabling and reloading again.
 
I wouldn’t think that not displaying the text would break the modifier. Also don’t worry about resetting the database, it always gets rebuilt from the ground up on game start.

My guess would be you’ve made an assumption, and it’s caused these issues. Problem is, can’t know your wrong assumption without seeing the code
 
I wouldn’t think that not displaying the text would break the modifier. Also don’t worry about resetting the database, it always gets rebuilt from the ground up on game start.

My guess would be you’ve made an assumption, and it’s caused these issues. Problem is, can’t know your wrong assumption without seeing the code
It was a missing forward slash. Didn't cause a crash and caused things to load strangely into the database.
 
Back
Top Bottom