原文件 | MOD文件 | 根节点元素 |
protoy.xml | protomods.xml | <protomods> |
techtreey.xml | techtreemods.xml | <techtreemods> |
civs.xml | civmods.xml | <civmods> |
politiciandata.xml | politicianmods.xml | <politicianmods> |
nuggets.xml | nuggetmods.xml |
<nuggetmods> |
protounitcommands.xml | protounitcommandmods.xml |
<protounitcommandmods> |
cultures.xml | culturemods.xml |
<culturemods> |
maptypes.xml | maptypemods.xml |
<maptypemods> |
mapspecifictechs.xml | mapspecifictechmods.xml |
<mapspecifictechmods> |
attacktime.xml | attacktimemods.xml |
<attacktimemods> |
abilities\abilities.xml | abilities\abilitymods.xml |
<abilitymods> |
abilities\powers.xml | abilities\powermods.xml |
<powermods> |
randomnames.xml | randomnamemods.xml |
<randomnamemods> |
strings\<language>\*.xml | strings\<language>\stringmods.xml |
<stringmods> |
economymode.xml | economymodemods.xml |
<economymodemods> |
personalities.xml | personalitiesmods.xml |
<personalitiesmods> |
homecity<civ>.xml | homecity<civ>.mods.xml |
<homecitymods> |
tactics\<type>.tactics | tactics\<type>.mods.tactics |
<tacticsmods> |
uitechtree\techtreedata_<civ>.xml | uitechtree\techtreedata_<civ>.mods.xml |
<uitechtreemods> |
<protomods> <!-- remove a proto unit --> <Unit mergeMode='remove' name='PropsPottedPlants'/> <!-- modify a proto unit (add a new flag) --> <Unit name='PropsPoles'> <Flag>NotPlayerPlaceable</Flag> </Unit> <!-- modify a proto unit (add a Train and remove an existing Train) --> <Unit name='Manor'> <Train row='0' page='1' column='2'>Longbowman</Train> <Train mergeMode='remove'>xpColonialMilitia</Train> </Unit> <!-- replace a proto unit --> <Unit mergeMode='replace' id="1797" name='deIconUSCowboy'> <DBID>2372</DBID> <Icon>resources\art\units\spc\outlaws\cowboy_icon2.png</Icon> <PortraitIcon>resources\art\units\spc\outlaws\cowboy_portrait2.png</PortraitIcon> </Unit> <!-- add a proto unit --> <Unit name='MyNewProtoUnit'> <DBID>2400</DBID> <!-- ... proto unit data ... --> </Unit> </protomods>
<techtreemods> <!-- modify a tech (add effect - enable Pikeman for the Russians) --> <Tech name ='Age0Russian'> <Effects> <Effect mergeMode='add' type ='Data' amount ='1.00' subtype ='Enable' relativity ='Absolute'> <Target type ='ProtoUnit'>Pikeman</Target> </Effect> </Effects> </Tech> <!-- modify a tech (modify an effect by adding and removing - Sacred Cows now cost 10 food instead of 125 food) --> <Tech name ='ypAge0IndiansSpecialTechs'> <Effects> <Effect mergeMode='remove' type ='Data' amount ='45.00' subtype ='Cost' resource ='Food' relativity ='Absolute'> <Target type ='ProtoUnit'>ypSacredCow</Target> </Effect> <Effect mergeMode='add' type ='Data' amount ='-70.00' subtype ='Cost' resource ='Food' relativity ='Absolute'> <Target type ='ProtoUnit'>ypSacredCow</Target> </Effect> </Effects> </Tech> </techtreemods>
<stringmods> <StringTable> <Language name='English'> <!-- change the text of the Continue button on the Main Menu --> <String _locID='20038'>ModContinue</String> </Language> </StringTable> </stringmods>