New Resources??

Crypticnight

Chieftain
Joined
Dec 11, 2005
Messages
9
I looked through the tuturial forum and through some of the modding explanations and I have not seen anything on creating new resources. Can anyone direct me to a guide or atleast a reference. I am new to xml but would love to learn. Thanks in advance:)
 
Not sure if any tutorials exist for it, since like units until the SDK comes out you can't truellly make a new model. You can reskin though. I can point you in the right direction. If you are planning on not changing graphics at all skip to step 7

1. If you haven't unpacked the FPK files do so (in a different directory if you want... There is a tool on this site you can use...

2. Follow the path to a resource you want to use as a starting point and copy it to your mod using same directory structure

3. Rename the directory to your new resource

4. Edit the dds files (and model files when sdk comes out)

5. Art/Interface/Buttons/WorldBuilder/ and copy the dds for a resource to your mod and rename and edit as needed.

6. Art/Interface/Buttons/Unit_Resource_Atlas.dds and edit it to include your resource

7. res/fonts and edit the two font files to also include it, note these are in the order that they appear in XML so if you bump everything down to add yours...

8. Edit XML\TERRAIN\CIV4BonusInfos.xml to add your resource

9. Edit XML\ART\CIV4ArtDefines_Bonus.xml to add your resource

10. If you want Edit XML\TERRAIN\CIV4ImprovementInfos.xml to allow a improvement to be built on you resource.
 
I added a few new resources to my mod. Don´t forget to edit the CIV4PlotLSystem.xml or some of the farms and nearly all plantations will be placed in a strange manner. Especially if you want to make new resources with blueprints of resources that need a plantation is not that easy.......

And don´t forget to write texts for civlopedia, at least you should write in the name as description, see ModGameTextInfos_Objects.xml
and ModGameText_Civilopedia_Bonuses.xml

But basically it´s just as phalzyr wrote. You have to try........

I already made coffee, sulphur, salt, potatoes (bad), pearls, tea.
 
Back
Top Bottom