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: Ship Firing Ranges  (Read 1833 times)

0 Members and 1 Guest are viewing this topic.

May 15, 2018, 08:20:53 PM

Offline Kopaka9000

  • Recruit
  • *
  • Posts: 2
  • Approval: +0/-0
    • View Profile
Ship Firing Ranges
« on: May 15, 2018, 08:20:53 PM »
I was hoping to modify the weapon ranges of starships. When I modify the hardpoint XML files, all ships jump into the battle with the hardpoints completely missing, with the ships flaming as if having taken damage. Even if I change just one hardpoint on just one ship, all ships in the game are affected. What am I doing wrong?

Second, how can I modify the firing range of ground vehicles?

Here is an example. Nothing is modified except the hardpoint range.

<HardPoint Name="HP_Carrack_Weapon_FL">
         <Type> HARD_POINT_WEAPON_ION_CANNON </Type>
            <Is_Targetable>Yes</Is_Targetable>
            <Is_Destroyable>Yes</Is_Destroyable>
            <Tooltip_Text>TEXT_WEAPON_IONCANNON</Tooltip_Text>
            <Health>150.0</Health>

         <Death_Explosion_Particles> Large_Explosion_Space_Empire </Death_Explosion_Particles>
         <Death_Explosion_SFXEvent>Unit_Hardpoint_Turbo_Laser_Death</Death_Explosion_SFXEvent>


            <Model_To_Attach></Model_To_Attach>
            <Attachment_Bone>weap01</Attachment_Bone>
            <Collision_Mesh>weap01</Collision_Mesh>
            <Damage_Decal>weap01</Damage_Decal>
            <Damage_Particles>weap01</Damage_Particles>

         <Death_Breakoff_Prop>  </Death_Breakoff_Prop>

            <Fire_Bone_A>weap01</Fire_Bone_A>
            <Fire_Bone_B>weap01</Fire_Bone_B>
            <Fire_Cone_Width>360.0</Fire_Cone_Width>
            <Fire_Cone_Height>130.0</Fire_Cone_Height>
            <Fire_Projectile_Type>Proj_Ship_Ion_Cannon</Fire_Projectile_Type>
            <Fire_Min_Recharge_Seconds>3.0</Fire_Min_Recharge_Seconds>
            <Fire_Max_Recharge_Seconds>4.0</Fire_Max_Recharge_Seconds>
            <Fire_Pulse_Count>2</Fire_Pulse_Count>
            <Fire_Pulse_Delay_Seconds>0.2</Fire_Pulse_Delay_Seconds>
            <Fire_Range_Distance>4000.0</Fire_Range_Distance>
            <Fire_SFXEvent>Unit_Empire_Ship_Laser_Fire</Fire_SFXEvent>


         <Fire_Inaccuracy_Distance> Fighter, 40.0 </Fire_Inaccuracy_Distance>
         <Fire_Inaccuracy_Distance> Bomber, 70.0 </Fire_Inaccuracy_Distance>
         <Fire_Inaccuracy_Distance> Transport, 70.0 </Fire_Inaccuracy_Distance>
         <Fire_Inaccuracy_Distance> Corvette, 7.0 </Fire_Inaccuracy_Distance>
         <Fire_Inaccuracy_Distance> Frigate, 1.0 </Fire_Inaccuracy_Distance>
         <Fire_Inaccuracy_Distance> Capital, 10.0 </Fire_Inaccuracy_Distance>
         <Fire_Inaccuracy_Distance> SuperCapital, 1.0 </Fire_Inaccuracy_Distance>
    </HardPoint>

 

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!