If I add content (new xml files) do I have to add anything to the names.txt and/or the "*.locale" files?
Here is the basics of what I am doing, the Uber Cargo Mod adds two more levels of Cargo Expansion (Levels 4 and 5), I am trying to add more to this (Up to level 20). The XML part is easy and that I already have. And I even made all the icon png files. What I don't get is do I have to add anything into the names.txt and there is a .locale file called spacegame_tools.locale that has the prop files, some hex value and a description:
example:
Code: Select all
# cargoupgrade3.prop - spaceToolDescription
0xeba16d0d Large Cargo Hold
# cargoupgrade3.prop - spaceToolDetailDescription
0x4cc4dccc Increase your spaceship's cargo capacity.
# cargoupgrade3.prop - spaceToolLockedDescription
# cargoupgrade4.prop - spaceToolDetailDescription
0x4cc4eccc Increase your spaceship's cargo capacity.
# cargoupgrade4.prop - spaceToolLockedDescription
# cargoupgrade5.prop - spaceToolDetailDescription
0x4cc4fccc Increase your spaceship's cargo capacity.
# cargoupgrade5.prop - spaceToolLockedDescription
Also, which is odd, this info does not match what he has in his new xml files:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<properties>
<string16 name="description">Cargo Upgrade</string16>
<key name="parent" groupid="spacetools~" instanceid="tooltemplate" typeid="prop" />
<int32 name="spaceToolBuyCost">2000</int32>
<key name="spaceToolContext" instanceid="#9AB762C0" />
<texts name="spaceToolDescription">
<text>Extreme Cargo Hold</text>
</texts>
<texts name="spaceToolDetailDescription">
<text tableid="spacegame_tools" instanceid="#4CC4DCCC">Increase your spaceship's cargo capacity to maximum so you can haul the most of all.</text>
</texts>
<key name="spaceToolImageID" groupid="ufotools~" instanceid="cargo4" typeid="png" />
<texts name="spaceToolLockedDescription">
<text tableid="spacegame_tools" instanceid="#A0BB7099">Requires ~commodity_requirements~</text>
</texts>
<float name="spaceToolMaxRange">1</float>
<key name="spaceToolType" instanceid="#A8CFDBDA" />
</properties>
Well, if anyone can help me out here, I would greatly appreciate it.