GWUT:WEAPONS section
Contents
- 1 guidance_type
- 2 aiming_type
- 3 decoy_type
- 4 warhead_type
- 5 threat_type
- 6 report_ammo_low_count
- 7 gun_shake
- 8 damage_capability
- 9 armor_penetration_capability
- 10 smoke_trail_type
- 11 acquire_parent_velocity
- 12 ignore_gravity
- 13 survive_ground_impact
- 14 in_flight_collision_check
- 15 viewable_weapon
- 16 boresight_weapon
- 17 flight_profile_or_self_destr
- 18 flightpath_deviation
- 19 air_to_air / air_to_surface / surface_to_air / surface_to_surface
- 20 decoy / cargo /debris
- 21 start_weight
- 22 final_weight
- 23 diameter
- 24 drag_coefficient
guidance_type
Determines what guidance type has this weapon.
Valid values:
- 0 (WEAPON_GUIDANCE_TYPE_NONE)
- 1 (WEAPON_GUIDANCE_TYPE_PASSIVE_INFRA_RED, fire and forget)
- 2 (WEAPON_GUIDANCE_TYPE_SEMI_ACTIVE_RADAR, illumination source)
- 3 (WEAPON_GUIDANCE_TYPE_ACTIVE_RADAR, fire and forget)
- 4 (WEAPON_GUIDANCE_TYPE_SEMI_ACTIVE_LASER, illumination source)
- 5 (WEAPON_GUIDANCE_TYPE_SEMI_ACTIVE_LASER_BEAM_RIDING, illumination source)
- 6 (WEAPON_GUIDANCE_TYPE_ACTIVE_LASER, fire and forget)
- 7 (WEAPON_GUIDANCE_TYPE_RADIO_COMMAND, control source)
- 8 (WEAPON_GUIDANCE_TYPE_WIRE_GUIDED, control source)
aiming_type
Determines what aiming type used for this weapon.
Valid values:
- 0 (WEAPON_AIMING_TYPE_NONE, decoy and derbis only)
- 1 (WEAPON_AIMING_TYPE_CALC_INTERCEPT_POINT, guided weapons)
- 2 (WEAPON_AIMING_TYPE_CALC_ANGLE_OF_PROJECTION, artillery, same as "3" at this moment just not affected by wind )
- 3 (WEAPON_AIMING_TYPE_CALC_LEAD_AND_BALLISTIC, non-guided weapons)
decoy_type
Determines what type of decoy it is.
Valid values:
- 0 (WEAPON_DECOY_TYPE_NONE)
- 1 (WEAPON_DECOY_TYPE_CHAFF)
- 2 (WEAPON_DECOY_TYPE_FLARE)
- 3 (WEAPON_DECOY_TYPE_SMOKE_GRENADE)
warhead_type
Determines what warhead type has this weapon. Damage calculations, explosion effects and fuse properties depends on it.
Valid values:
- 0 (WEAPON_WARHEAD_TYPE_NONE, for decoy and cargo only)
- 1 (WEAPON_WARHEAD_TYPE_SMOKE_GRENADE)
- 2 (WEAPON_WARHEAD_TYPE_ILLUMINATION_FLARE, reserved)
- 3 (WEAPON_WARHEAD_TYPE_SOLID_SHOT)
- 4 (WEAPON_WARHEAD_TYPE_HIGH_EXPLOSIVE_ANTI_TANK)
- 5 (WEAPON_WARHEAD_TYPE_HIGH_EXPLOSIVE_DUAL_PURPOSE)
- 6 (WEAPON_WARHEAD_TYPE_HIGH_EXPLOSIVE)
- 7 (WEAPON_WARHEAD_TYPE_HIGH_EXPLOSIVE_ANTI_AIRCRAFT)
- 8 (WEAPON_WARHEAD_TYPE_CONVENTIONAL_MUNITIONS, next weapon to it - it's sub-munition)
threat_type
Weapon threat type. For countermeasures functions.
Valid values:
- 0 (THREAT_TYPE_INVALID)
- 1 (THREAT_TYPE_RF_MISSILE)
- 2 (THREAT_TYPE_IR_MISSILE)
- 3 (THREAT_TYPE_LASER_MISSILE)
report_ammo_low_count
At what ammo level warning message will be played, pcs.
gun_shake
Not used.
damage_capability
- Amount of damage caused by solid shot in case of armor penetration at zero range
- Amount of damage caused by explosion in case of direct hit and armor penetration, squared explosion radius in meters
armor_penetration_capability
- Max armor level that can be penetrate at zero range and zero angle
- Max armor level that can be penetrate in case of direct hit
smoke_trail_type
Index number of smoke effect of this weapon, taken from METASMOK database.
acquire_parent_velocity
Adding parent's absolute velocity to weapon muzzle velocity.
ignore_gravity
Makes unguided weapon ignore gravity and move it by straight trajectory.
survive_ground_impact
Weapon after ground or water impact will not destruct and will left lay on the ground.
in_flight_collision_check
Collision check with other objects.
viewable_weapon
External camera will be able to follow this weapon.
boresight_weapon
Weapon has no azimuth/elevation adjustment capabilities.
flight_profile_or_self_destr
Special features for current weapon.
Valid values:
- 0 (Usual weapon)
- 1 (Hellfire flight profile)
- 2 (Vikhr flight profile)
- 3 (Self destruction after weapon lifetime will reach cruise_time value)
flightpath_deviation
Maximum deviation from desired flightpath (guided weapons only, meters).
air_to_air / air_to_surface / surface_to_air / surface_to_surface
Weapon types.
decoy / cargo /debris
Misc non-weapons types
start_weight
- Start weight of motor-powered weapon, used for payload weight and drag force calculations
- Weight of cartridge, used for payload weight calculation
final_weight
- Weight of motor-powered weapon without fuel, used for drag force calculations
- Weight of shell, used for drag force calculations
diameter
Weapon diameter (caliber) in meters, used for drag calculations
drag_coefficient
Modifier of standard drag coefficient (round bullet). Do not be confused with real drag coefficient.