how do you set events to occur?

ViciousSatsuma

Chieftain
Joined
Aug 3, 2006
Messages
2
'm currently working on a simple mod of middle age europe with a few new civs and a few renamed religions. However, I would like to put in some events for:

- the fouding of Protestantism
- important events in spread of religion, e.g. the English Reformation
- the Mongol Invasions
- the Crusades

This is my first mod, so I honestly have no idea whatsoever of how to program events - so far I've pretty much just been changing values and descriptions in xml, and the scenario works, however I would like to improve on it.
 
Python.

It's not very easy, unless you are familier with programming. If you're set on it the syntax can be picked up pretty easily from looking at other people's code, and there is a tutorial (in my sig) which you may find useful to skim through.
 
Learning python isn't terribly hard, it just takes a little while to get used to.

I'd suggest that first you go through the tutorial in this thread http://forums.civfanatics.com/showthread.php?t=97183, which gives a general overview on how python works.

Then head over to The Great Apple's tutorial which will introduce you how python works in Civ4.

Then you just need to start reading and trying to understand as much code as possible made by other people. Great places to look are this thread http://forums.civfanatics.com/showthread.php?t=152856 and the scenarios included in Civ4 and Warlords.

Hope that helps :)
 
Back
Top Bottom