Adding an "Idle" building

OnmyojiOmn

Prince
Joined
Aug 4, 2006
Messages
371
I'd like to add an "Idle" building assignment for cities, for the rare occasion that I can't build Research or Wealth and I don't want to build anything at all, even units. All production would be completely wasted, but the city governor would automatically avoid working production tiles while still taking the city's focus (hammers, beakers, etc.) into account. I've modded other games, but not Civ4. Can anybody point me in the right direction?

Thanks
 
Well I don't know how to get the governor on side (if he isn't automatically, it will most likely require an SDK mod) but the place to start would be CIV4ProcessInfo.xml (found in the GameInfo folder). Just make an entry with no tech requirement (<TechPrereq>NONE</TechPrereq>) which doesn't convert production to any kind of commerce (set all those <iProductionToCommerceModifier>s to 0). That should give you the "building" you want.
 
That's what I ended up doing, as a module. It seems to work fine, and the city governor does adapt without any other changes. I just need an icon for it. Does anyone know if there's something like a red X that's already in the game?
 
There's a red circle with a slash through it used for "No State Religion" on the religion advisor; no clue whether it can be used for your needs, though.
I was able to modify that, it looks great. I guess I'm done! Thanks for the replies.
 
Back
Top Bottom