Learn To Mod

darkonion

"där-kōn-ė-uhn"
Joined
Apr 14, 2006
Messages
265
Location
Shaw AFB, SC
People with modding experience: Please come share your wealth of knowledge with those of us who just want to learn how to do what you guys do. :worship:
 
ALRIGHT... I personally understant the BASICS of xml scripting... i just need to know how to script out python files and images... someone please help me... :worship:
 
Learn Python, Learn C++ so you can use SDK, Learn XML (Pretty Easy) and start going. It's also good to know how to make units in 3Ds Max 7 or Blender, and how to skin units. You should also learn how to create leaderheads in GIMB or DXTBmp.

That should cover everything, most or all of the above have tutorials in this forum.
 
AlCosta15 said:
Learn Python, Learn C++ so you can use SDK, Learn XML (Pretty Easy) and start going. It's also good to know how to make units in 3Ds Max 7 or Blender, and how to skin units. You should also learn how to create leaderheads in GIMB or DXTBmp.

That should cover everything, most or all of the above have tutorials in this forum.

thanx... but do i need a programm or sumthing to actuall write these files???
 
Go to Python.org and download it. You don't have to do this to write python scripts for Civ, but it will help as you learn it. There are plenty of beginner guides to it on the Internet. I used this one:

http://www.sthurlow.com/python/lesson01/

I already had some C++ and Java experience which really helps, but these lesson should give you enough of a base that you can then look at the Python scripts in Civ's assets and see what they do. There used to be a Civ4 PythonAPI on line, but I can't find it anymore. It lists all the classes and methods (this will make sense after you know some Python) that civ uses. It's out of date now with the new patch anyway, and a new one should be coming soon. Check these forums and the apolyton ones for updates. Maybe someone here knows a working link to the old one in the mean time.

Learning C++ to mod the SDK is a bit trickier as it is much more complex than Python. I'd recommend that you stick to Python for a bit first. If you learn it and enjoy it, it will provide a solid foundation for learning C++. When you want to give that a try, this thread will help you get started, it has links to everything you'll need to download:

http://forums.civfanatics.com/showthread.php?t=166933

Finally, XML is just a way to organize data. You can open those files in any text editor and figure out what they are for.
 
Where do you get the programs for units/leaderheads?
 
AlCosta15 said:
Learn Python, Learn C++ so you can use SDK, Learn XML (Pretty Easy) and start going. It's also good to know how to make units in 3Ds Max 7 or Blender, and how to skin units. You should also learn how to create leaderheads in GIMB or DXTBmp.

That should cover everything, most or all of the above have tutorials in this forum.

what do you mean "blender"? Is that the program where you create models by drawing them in 2D? I think I can get that, is there a civ4 plugin for it then? :crazyeye:

Shqype said:
I have uploaded a "Clean XML" folder with some of the most basic files added as almost empty templates for creating a new mod. Check it out :)

http://forums.civfanatics.com/showthread.php?t=167979

that's very good of you :)
 
Blender is that program. I just keep downloading trials of 3Ds Max, but somebody figured out how to use Blender.
 
what do u need to edit or create .dds files... like the art work and stuff like that...
 
I've fiddled with XML files, and I'm downloading python.

But when I run my mods with XML that I changed, it just runs regular Civ IV, I load the mod but my changes aren't used- please aid me!
 
eljeffe said:
Go to Python.org and download it. You don't have to do this to write python scripts for Civ, but it will help as you learn it. There are plenty of beginner guides to it on the Internet. I used this one:

http://www.sthurlow.com/python/lesson01/

Thank you so much! This is very excellent thank you!
 
Tycoon101 said:
I've fiddled with XML files, and I'm downloading python.

But when I run my mods with XML that I changed, it just runs regular Civ IV, I load the mod but my changes aren't used- please aid me!

are you sure you have put ini files in?
make sure all the files have the correct names as well, that's the most I can say working on your post :cool:
 
dalek master said:
are you sure you have put ini files in?
make sure all the files have the correct names as well, that's the most I can say working on your post :cool:

Oh, never mind, I don't know what I'm talking about anyway:)

Another question: how can I combine mods into one single mod that doesn't have conflicting mods- (I'd like to create some thing with the Training barracks and mercenary mod, along with a few others.)
 
eljeffe said:
Go to Python.org and download it. You don't have to do this to write python scripts for Civ, but it will help as you learn it. There are plenty of beginner guides to it on the Internet. I used this one:

http://www.sthurlow.com/python/lesson01/
...


This site was great and all... but it didn't show me how to write script for civ4... it wasnt up to date on that section :cry:
 
Back
Top Bottom