Creating New <Hurrytypes>

CaptainMidnight

Warlord
Joined
Apr 16, 2006
Messages
141
How do I make a new HurryType?

I'm making a new civic that requires a hurry type different from HURRY_POPULATION or HURRY_GOLD.

Initially I thought this would be easy XML changes. I created a new HurryType HURRY_POPULATION2 by copying HURRY_POPULATION XML, changed the values and changed the necessary civic in Civivinfos.

Civ4 loads without errors but when I switch to the new civic in game it won't allow me to use it.

I know the hurrytype is linked to the button on the interface, I figure as long as I don't let the new civic clash with slavery the button will work the same. However, it doesn't. I've been looking but can't seem to find any threads on the subject.
 
It's possible that the number of HurryTypes are encoded in the SDK.
 
I didn't see any limit in the DLL.

You'd need to change the Python interface code to have a different button for this hurry type (look for WIDGET_HURRY in CvMainInterface.py).
You might need to do more to make it work, but you probably need to add a button there anyway.
 
I did say possible. Apparently, I was wrong.
 
Top Bottom