Imperial Civil War [Empire at War] > Imperial Civil War Tech Support

Changing Squadron Load Out-Adding New Fighter Squadrons

(1/1)

BeondTheGrave:
Hello all. Im new to Modding EAW/TR and Im not sure I'm doing all this right, any tips are appreciated.

I want to make Zsinj's faction a bit more unique, so my goal is to add a few units to his roster and to give them some of his unique fighters for flavor.

Right now Im trying to test this out by adding in the Venator and giving it some new fighter squadrons. So in the Zsinj_Space.xml file I added the following:


--- Code: ---<SpaceUnit Name="Venator_Zsinj">

<Variant_Of_Existing_Type>Generic_Venator</Variant_Of_Existing_Type>

<Affiliation>Pirates, Corporate_Sector</Affiliation>

<Tech_Level>1</Tech_Level>

<Lua_Script>GenericGameObject</Lua_Script>

<HardPoints> Venator_Bay, Venator_Shield, Venator_Engines, Generic_Untargetable_Tractor_Beam, HP_Venator_01, HP_Venator_02, HP_Venator_03, HP_Venator_04, HP_Venator_05, HP_Venator_06, HP_Venator_07, HP_Venator_08, HP_Venator_Turret_01, HP_Venator_Turret_02, HP_Venator_Turret_03, HP_Venator_Turret_04 </HardPoints>

<Starting_Spawned_Units_Tech_0>TIE_Raptor_Squadron_Double, 2</Starting_Spawned_Units_Tech_0>

<Starting_Spawned_Units_Tech_0>TIE_Bomber_Squadron, 1</Starting_Spawned_Units_Tech_0>

<Reserve_Spawned_Units_Tech_0>TIE_Raptor_Squadron_Double, 2</Reserve_Spawned_Units_Tech_0>

<Reserve_Spawned_Units_Tech_0>TIE_Raptor_Squadron, 1</Reserve_Spawned_Units_Tech_0>

</SpaceUnit>
--- End code ---

This has added the Ven to the frigates page on the buildlist. The problem is when I take it into a battle, it doesnt spawn any fighters. Ive tried changing the number, type, hard point, tried switching from Generic_Venator to Template_Venator but I cant get anything to spawn. Any help would be appreciated. I would like to add a few more Zsinj varients such as the Bulk Cruiser, Vic2, etc. to his list.

Additionally, is there a way to change the unit price for Zsinj's faction specifically? If I add
--- Code: ---<Build_Cost_Credits>X</Build_Cost_Credits>
--- End code ---
to the above will it do the trick?

Thanks!

Navigation

[0] Message Index

Reply

Go to full version