Archer Maiden art/audio pack now available, help wanted with the XML [message #761]
Fri, 15 January 2010 05:07
jonwil Messages: 79 Registered: November 2007 Location: Australia
Member owner of CNCMods.net
From: *tpgi.com.au
I have just added an art/audio pack for the Archer Maiden.
Here is how to use it: (This example assumes the RA3 SDK is in the default location of C:\RA3 MOD SDK, that your mod is called samplemod2 and that you have not modified the mod build studio defaultmod.cs. It also assumes that your mod compiles correctly before you bring in the Northern Russia pack)
1.Download the latest version of cc3tools from this site
2.Download the archer maiden art pack from this site
3.Put the JapanArcherInfantry.xml and JapanArcherInfantryEnergyArrowProjectile.xml into your mods data folder. Put the Assets folder into your mods folder.
4.Put the art into the art folder
5.Put assetmerge.exe and cc3tools.dll into a folder, for the
example lets put them in C:\RA3 MOD SDK
6.Edit your mod.xml to reference JapanArcherInfantry.xml, JapanArcherInfantryEnergyArrowProjectile.xml and packedimages.xml. See the mod.xml I included for some example lines.
7.Run the "build data", "build medium LOD" and "build low LOD" steps in the mod build studio. Do not run the other steps yet. You will see errors and warnings related to AudioFile, BaseRenderAssetType and W3DAnimation. These are expected when using this pack.
8.Open up a command prompt and go to the folder with assetmerge.exe in it. Then type assetmerge "C:\RA3 MOD SDK\builtmods\mods\samplemod2\data\mod" "C:\RA3 MOD SDK\mods\samplemod2\assets" followed by assetmerge "C:\RA3 MOD SDK\builtmods\mods\samplemod2\data\mod_m" "C:\RA3 MOD SDK\mods\samplemod2\assets" and assetmerge "C:\RA3 MOD SDK\builtmods\mods\samplemod2\data\mod_l" "C:\RA3 MOD SDK\mods\samplemod2\assets" replacing the name of your mod and the SDK install path as appropriate.
9.Run the remaining build steps in mod build studio.
You will need to re-run step 8 each time you recompile your mod.
Note that this doesn't have the code/art/etc for the archer maiden arrow barrage power as I am still working on the coding for that.
These steps work fine and I can see the Archer Maiden in WorldBuilder and can place it no problems. But I cannot build it in game even though I set up the Japanese barracks to be able to build one. Can someone who knows more about XML please help me figure out whats missing or incorrect with this pack and these steps and these XMLs? The only compile errors I see relate to missing art and audio and those missing assets get added in step 8. Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Coder of BHS.DLL
Official member of Blackhand Studios™