Modders Guide to Civilization V

I tried adding a civ that way. Just an Aztec clone. But when the value list starts to get long, the XML seems easier to read.
Spoiler :
INSERT INTO Civilizations
( Type
, Description
, ShortDescription
, Adjective
, Civilopedia
, CivilopediaTag
--, Strategy
--, Playable
--, AIPlayable
, DefaultPlayerColor
, ArtDefineTag
, ArtStyleType
, ArtStyleSuffix
, ArtStylePrefix
, PortraitIndex
, IconAtlas
, AlphaIconAtlas
, MapImage
, DawnOfManQuote
, DawnOfManImage
, DawnOfManAudio
)
VALUES
( 'CIVILIZATION_AZTEC2'
, 'TXT_KEY_CIV_AZTEC_DESC'
, 'TXT_KEY_CIV_AZTEC_SHORT_DESC'
, 'TXT_KEY_CIV_AZTEC_ADJECTIVE'
, 'TXT_KEY_CIV_AZTEC_PEDIA'
, 'TXT_KEY_CIV5_AZTECS'
--, ''
--, ''
--, ''
, 'PLAYERCOLOR_AZTEC'
, 'ART_DEF_CIVILIZATION_AZTEC'
, 'ARTSTYLE_SOUTH_AMERICA'
, '_AMER'
, 'AMERICAN '
, '2'
, 'CIV_COLOR_ATLAS'
, 'CIV_ALPHA_ATLAS'
, 'MapAztec512.dds'
, 'TXT_KEY_CIV5_DAWN_AZTECS_TEXT'
, 'DOM_Monty.dds'
, 'AS2D_DOM_SPEECH_AZTEC'
);
 
Load Steam, Library > Tools, download the Civ5 SDK. Enable Tuner and logging in the config and enable debug in usersettings INI. Load Tuner prior to loading Civ and you should see output under the Lua Console tab.

Sorry, you lost me there. Got FireTuner open but don't know how to enable logging or debug (can't find the usersettings.ini file). Loaded tuner but I don't know how to find the Lua console tab (the ~ button doesn't seem to do anything). Also, the external worldbuilder doesn't want to work, either, because it says I have to insert the disk.

Finally, the ModBuddy wants a Civ5 user path, and I don't know what that means. I told it to go to MyDocuments (since that was the place it opened up on) but I'm not sure if that's right or how to edit the path.
 
Thanks for the ModdersGuide.pdf:goodjob: i guess, i get it now:)

The only thing is, that only later on page 73 you reveal, that the mod needs to "Build" before tested.

meanwhile i was seriously amazed, why my test-mod dont work.
 
Hey, your guides are incredibly awesome! Well written and organised. Well done :goodjob:

I'm going to share it. :king:
 
Hi, I was trying to make a mod for myself, been reading Kael's guide, and using Mod Buddy, it all seems pretty straightforward.

However, I thought I'd try one small thing, a simple test mod to just create a mod.

I wanted to remove the Barbarian Experience cap for units. It seems it should be a simple change of BARBARIAN_MAX_XP_VALUE in GlobalDefines.xml, but I can't seem to make it work.

I was hoping someone else would give it a look or point me to a mod that does this so I can look at it. I've used the Forums' Search feature to try and find this, but no luck.

This is what I have:
Spoiler :
<GameData>
<Defines>
<Update>
<Set Value="9999"/>
<Where Name="BARBARIAN_MAX_XP_VALUE"/>
</Update>
</Defines>
</GameData>

As you can see, I didn't actually remove the cap, I simply tried to raise it as high as I could.

Edit: Now that I think about it, is this possibly a cap on how much experience barbarians themselves can get, and now how much experience a player's units may get FROM barbarians?
 
Something ive noticed; the guides dont seem to say how to axccess the XML file structure.

Kaels guide says;

'The XML file structure is contained in <install directory>\assets\Gameplay\XML\ directory.'

But when i look for it; there's no 'assets' option. So it seems impossible to access.

It seems impossible to do any modding unless you're a computer nerd. But at least they've made it possible for non-nerds like me to download mods, unlike in CIV 4. Maybe in civ 6 they'll make it possible for non-nerds to mod as well :D
 
Non nerds will never mod.
 
Oh ... it just depends ... you just need to raise the Nerd line and suddenly nerds become un-nerdified (into non-nerds)

equally, lower the poverty line and you can eliminate poverty!

:D
 
A nerd is someone who knows much more about computers than most people, kind of like a genius is far cleverer than most people.

So the number of people capable of modding right now is very limited. Especially when 'guides' are written in a language only nerds can understand.

Why cant there be a guide that actually shows you the text needed to mod each thing, rather than assume everyone knows already?
 
A nerd is someone who knows much more about computers than most people, kind of like a genius is far cleverer than most people.

So the number of people capable of modding right now is very limited. Especially when 'guides' are written in a language only nerds can understand.

Why cant there be a guide that actually shows you the text needed to mod each thing, rather than assume everyone knows already?

:crazyeye:

The default install directory on a 64-bit Windows 7 machine is: C:\Program Files (x86)\Steam\steamapps\common\sid meier's civilization v\assets\Gameplay\XML

Make sure you're checking the install directory, not the My Games directory, which is mainly for containing mods/saves/caches, rather than any core game data.
 
Is it normal that I can't change the main menu's music? I tried to replace it and it does absolutely nothing. I also ticked "Landmarks" on.
 
Do we need to add files ( .dds, for example ) into mod's action list, such as xml files, or xml adding will be enough for this?
 
Do we need to add files ( .dds, for example ) into mod's action list, such as xml files, or xml adding will be enough for this?

Kael's guide instructs us to just drag and drop the files into ModBuddy. That's all I've ever had to do to get icons to work.
 
hello kael, great guide by the way. helped me a lot! I didn't knew notthing about modding before reading it. As I have been wanting to create my own civilization, becouse no one else have created and uploded a Brazilian Civilization mod for Civ5, I've started to build my own mod helped following your guide. I've did it quite well, but when I tried to debug it, i've found a few mistakes, and I wonder if you could help me to solve my problem. Here it goes:

Error 1 The "GenerateModInfo" task failed unexpectedly.
System.Xml.XmlException: The ' ' character, hexadecimal value 0x20, cannot be included in a name.
at System.Xml.XmlDocument.CheckName(String name)
at System.Xml.XmlElement..ctor(XmlName name, Boolean empty, XmlDocument doc)
at System.Xml.XmlDocument.CreateElement(String prefix, String localName, String namespaceURI)
at System.Xml.XmlDocument.CreateElement(String name)
at Firaxis.ModBuddy.Civ5ModBuildTasks.GenerateModInfo.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) C:\Program Files (x86)\MSBuild\Firaxis\ModBuddy\Civ5Mod.targets Line 78 Column 10 Civ5Mod1
 
Back
Top Bottom