Discussion in 'Civ4 - Caveman 2 Cosmos' started by Joij21, Jun 14, 2020.
Just curious, how do you add new xml tags?
1. Get github account to create fork, alternatively you can download source code from github.
2. Read this: https://github.com/caveman2cosmos/Caveman2Cosmos/wiki/Developer-Guide
3. @Thunderbrd posted guide about adding new tags somewhere, can't find it now.
So it requires coding with the DLL right?
Yes - every XML tag is done in c++ (DLL).
Even simplest one, that does nothing.
This is how modding in this game works.
Python is interface, BUG settings, pedia, events and other such stuff.
Then where is the functionality for the tags <EarlyArtDefineTag>, <MiddleArtDefineTag>, and <LateArtDefineTag> located in the DLL? I was thinking of just copying and then pasting the code into the Civ4 Colonization DLL of a mod. This is because I want units to change skins based on the game era, however Colonization only has <ArtDefineTag> so units can't change with era changes.
Source code isn't in SVN, but its in those cpp files (they are in github):
This may be referenced under different names in other files too.
Can't find the cpp files on GitHub the DLL isn't there.
Did you look here?
I THINK it's in the tips and tricks somewhere...
You don't decompile DLL, this DLL is created if not present on Github.
Separate names with a comma.