Posted by: Kopaka9000
« on: May 14, 2018, 09:09:09 PM »When I modify the hardpoint ranges, as you described, all my ships start the battle with the hardponts 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. Am I doing something 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>
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>