A New modder (I hope so, please please you give me a hand)

warwarwar

Chieftain
Joined
Feb 27, 2011
Messages
3
I'm new to the forum and I'm Italian and I would like to learn how to create mods for civ 4. How can I do? First of all, I must be able to program in python? (I know only program in pascal and anyway I just started):confused:
 
Welcome to CFC :)

Well, the first tutorial of how to mod is probably this one. This, and many other tutorials, are in the sub-forum in which you've posted your question.

You don't have to know Python. There are a few components to Civ4 modding.

The basic is the XML - most of the game data (which is not art - images, 3d models, video and audio) is held in these files.
XML is simply a text format to hold data which you can edit with any text editor (notepad, even).

You also have all the art files - textures (images), 3d models etc. You can modify existing files or add new ones.

You can do a lot with editing the XML files and editing or adding image files.

Python is a simple-to-learn script language. If you know pascal, you already know the basics of programming so you can learn Python. Most of the UI (user interface) of the game is written in Python, and you can add your own logic in many areas of the game with Python.

In addition, a lot of the game code (written in C++) is available (look at your game folders).
Again, the move from pascal to C++ is not that difficult, since at least the concepts are similar. But you only need this if you want to add functionality to the game.
 
Asaf's right about the first tutorial, the Video Demo is what taught me to mod. Although you can edit XML in notepad, it's best to use Notepad ++
 
Welcome to CFC :)

Well, the first tutorial of how to mod is probably this one. This, and many other tutorials, are in the sub-forum in which you've posted your question.

You don't have to know Python. There are a few components to Civ4 modding.

The basic is the XML - most of the game data (which is not art - images, 3d models, video and audio) is held in these files.
XML is simply a text format to hold data which you can edit with any text editor (notepad, even).

You also have all the art files - textures (images), 3d models etc. You can modify existing files or add new ones.

You can do a lot with editing the XML files and editing or adding image files.

Python is a simple-to-learn script language. If you know pascal, you already know the basics of programming so you can learn Python. Most of the UI (user interface) of the game is written in Python, and you can add your own logic in many areas of the game with Python.

In addition, a lot of the game code (written in C++) is available (look at your game folders).
Again, the move from pascal to C++ is not that difficult, since at least the concepts are similar. But you only need this if you want to add functionality to the game.



:):):):):):):lol::lol:
 
I also suggest starting small; just try to make small changes and then experiment from there.

I also suggest starting with an established mod and make changes on that -- never make changes on the game's XML or python code.

My suggestion would be to find the: CIV4UnitInfos.xml and make small changes to the units -- changing the name, adding points to the Icombat value, movement value. This is where the bread and butter is in modding (at least in my opinion). When you learn how to modify the xml you can really start doing some cool things

From there graduate on to other xml files!

Then move on to manipulating the art files.

After that, move on to python and beyond. . .

I am still learning and I have been playing around for months -- It gets really exciting when you start adding cool abilities to units and buildings.

Good luck!
 
Back
Top Bottom