Tutorial proposal

Voynitsky

Chieftain
Joined
Nov 12, 2005
Messages
21
Hi people,
I'm fairly new to Civ4 modding but have just done something reasonably interesting that may make a good tutorial. Below is what I've managed to do, so let me know if a tutorial for doing this already exists, if not, and you're interested I'll write on.

Basically, I was playing with modding the XML files for creating new technologies. However, I found that the XML elements provided were limited to certain attributes. I wanted to add new behaviours for my new technology, such as the discovery of my technology would trigger a "We love the King" day in my cities.

This has involved, adding a new element to the technology XML that describes my new behaviour, and then coding with SDK to firstly load the value from the new XML element into the model, and then act upon it.

Easy for the experienced modders, but once you know how to do this it really opens up the possibilities for you with other game objects. Let me know if you want a tutorial written.

Cheers
Voynitsky
 
But, if you want to add to Kael's tutorial, he does have threads of "Sample Code" that you could post in and share your discovery with the community :)
 
He he, that tutorial pretty much covers everything I've done :)

There goes my "giving back" contribution to the community after grabbing loads of unit graphics :D
 
Back
Top Bottom