Just thought I'd post this here, It's pretty useful, indeed.
Difficulty: Easy/Average
Made by: Equal (Me)
Hello, I'm going to teach you how to add walls to your mod.
Go to your mod's data folder.
(eg. MODSDK\Mods\EqualMod\data\)
Open Mod.xml
Add include with the type all source=DATA:"DATA:YOURMod/data/GlobalData/LogicCommandSet.xml"
after the required files.
And replace the YOURMod with your mod folder's name.
Create a new folder called GlobalData into your mod's data folder.
Copy and paste the LogicCommandSet.xml from your GlobalData folder which is in CnC3Xml folder to your new folder.
(MODSDK\CnC3Xml\GlobalData\ > MODSDK\Mods\EqualMod\GlobalData)
GDI
Now open LogicCommandSet.xml and search for
Code:
GDIConstructionYardCommandSet
Under that you should see a list of items like:
QUOTE
<Cmd>Command_ConstructGDISurveyor</Cmd>
So, after that ^^^^ you add:
CODE
<Cmd>Command_ConstructGDIWallHub</Cmd>
Now your almost done for adding walls for GDI.
Search for
CODE
id="GDIWallHubCommandSet">
Below it add
CODE
<Cmd>Command_GDI_BeginWallSpan</Cmd>
So it looks like
CODE
<LogicCommandSet>
<Cmd>Command_GDI_BeginWallSpan</Cmd>
<Cmd>Command_SelfRepair</Cmd>
<Cmd>Command_Sell</Cmd>
</LogicCommandSet>
Now you have walls for GDI. It's located in the defense production queue.
To add walls for NOD and Scrin keep reading.
NOD
Open LogicCommandSet.xml file, search for
QUOTE
id="NODConstructionYardCommandSet">
Under that you see a list of items, including
CODE
<Cmd>Command_ConstructNODEmissary</Cmd>
Below it add
CODE
<Cmd>Command_NOD_BuildWallHub</Cmd>
Now search for
QUOTE
id="NODWallHubCommandSet">
Below it add
CODE
<Cmd>Command_NOD_BuildWallHub</Cmd>
So it would look like
QUOTE
<LogicCommandSet>
<Cmd>Command_NOD_BuildWallHub</Cmd>
<Cmd>Command_SelfRepair</Cmd>
<Cmd>Command_Sell</Cmd>
</LogicCommandSet>
Your done for NOD!
Scrin
Open LogicCommandSet.xml file, search for
CODE
id="AlienDronePlatformCommandSet">
Under that you see a list of items, including
CODE
<Cmd>Command_ConstructAlienFoundry</Cmd>
Below it add
CODE
<Cmd>Command_ConstructAlienWallHub</Cmd>
Now search for
CODE
id="AlienWallHubCommandSet">
Below it add
CODE
<Cmd>Command_ConstructAlienWallHub</Cmd>
So it would look like
CODE
<LogicCommandSet>
<Cmd>Command_ConstructAlienWallHub</Cmd>
<Cmd>Command_SelfRepair</Cmd>
<Cmd>Command_Sell</Cmd>
</LogicCommandSet>
Your done for Scrin!
Buildmod and start playing.