Step by step:
Go to the data folder and make a new sub folder called "additionalmaps"
( path = D:\CnC3\MOD SDK\Mods\[MODNAME]\Data\additionalmaps )
In here create a file called mapmetadata_*.xml.
I called ours mapmetadata_eva.xml
In here define the audio files like you would with any others, there are example ones in the cnc3 xmls.
Go to the root MOD SDK folder and open up BuildMod.bat with a text editor
Find the line:
CODE
tools\binaryAssetBuilder.exe "%cd%\Mods\%1\data\mod.xml" /od:"%cd%\BuiltMods" /iod:"%cd%\BuiltMods" /ls:true /gui:false /UsePrecompiled:true /vf:true /bcn:LowLOD /bps:"%cd%\BuiltMods\mods\%1\data\mod.manifest"
--- (should be line 6)
Then add this line beneath it:
CODE
tools\binaryAssetBuilder.exe "%cd%\Mods\%1\data\additionalmaps\mapmetadata_eva.xml" /od:"%cd%\BuiltMods" /iod:"%cd%\BuiltMods" /ls:true /gui:false /UsePrecompiled:true /vf:true
--- (i.e. on what then becomes line 7)
Then go to the built mods folder and navigate to the INI folder:
( path = D:\CnC3\MOD SDK\BuiltMods\mods\[MOD NAME]\data\INI )
Copy across Eva.ini from EA's example inis in the Mod SDK folder. Change the side names to ones defined in your playertemplate.ini and the sound file names to ones you defined in the mapmetadata_eva.xml
Then go and compile your mod but make sure all the non INI/Movie/Map folders are deleted out of the /Data folder inside "built mods" first.

Help











