Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!

Author Topic: Changing Squadron Load Out-Adding New Fighter Squadrons  (Read 1715 times)

0 Members and 1 Guest are viewing this topic.

September 10, 2020, 10:04:42 PM

Offline BeondTheGrave

  • Recruit
  • *
  • Posts: 1
  • Approval: +0/-0
    • View Profile
Changing Squadron Load Out-Adding New Fighter Squadrons
« on: September 10, 2020, 10:04:42 PM »
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: [Select]
<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>

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: [Select]
<Build_Cost_Credits>X</Build_Cost_Credits> to the above will it do the trick?

Thanks!
« Last Edit: September 10, 2020, 10:09:19 PM by BeondTheGrave »

 

Those working on this mod do so in their own free time and for no pay.
Show your support for them by enabling ads on this site!