sim/
sim/weapons/
sim/weapons/gun_del_the_deg_max[25]
float
in unspecified units
Aimable guns for c130 Spectre, etc
sim/weapons/gun_del_the_deg_now[25]
float
in unspecified units
Aimable guns for c130 Spectre, etc
sim/weapons/i[25]
int
in unspecified units
sim/weapons/impact_time[25]
float
in unspecified units
sim/weapons/j[25]
int
in unspecified units
Keep track for fast ground-elev-finding
sim/weapons/Jxx_unitmass[25]
float
in float
(placeholder)
sim/weapons/Jyy_unitmass[25]
float
in float
(placeholder)
sim/weapons/Jzz_unitmass[25]
float
in unspecified units
MI
sim/weapons/L[25]
float
in float
(placeholder)
sim/weapons/las_range[25]
float
in float
(placeholder)
sim/weapons/M[25]
float
in float
(placeholder)
sim/weapons/mis_cone_width[25]
float
in unspecified units
For heat or radar-guided, you must keep the target within this cone to track him
sim/weapons/mis_crat_per_deg_bore[25]
float
in float
(placeholder)
sim/weapons/mis_crat_per_degpersec[25]
float
in float
(placeholder)
sim/weapons/mis_crat_per_degpersec_bore[25]
float
in float
(placeholder)
sim/weapons/mis_drag_chute_S[25]
float
in float
(placeholder)
sim/weapons/mis_drag_co[25]
float
in float
(placeholder)
sim/weapons/mis_duration1[25]
float
in unspecified units
delay
sim/weapons/mis_duration2[25]
float
in unspecified units
boost
sim/weapons/mis_duration3[25]
float
in unspecified units
sustain
sim/weapons/mis_thrust1[25]
float
in unspecified units
delay
sim/weapons/mis_thrust2[25]
float
in unspecified units
boost
sim/weapons/mis_thrust3[25]
float
in unspecified units
sustain
sim/weapons/N[25]
float
in float
(placeholder)
sim/weapons/next_bull_time[25]
float
in unspecified units
For guns, this is the next fire time
sim/weapons/phi[25]
float
in Deg
Angle relative to the aircraft
sim/weapons/phi_con[25]
float
in Deg
Angle relative to the mounting flight control
sim/weapons/Prad[25]
float
in float
(placeholder)
sim/weapons/psi[25]
float
in Deg
Angle relative to the aircraft
sim/weapons/psi_con[25]
float
in Deg
Angle relative to the mounting flight control
sim/weapons/q1[25]
float
in float
(placeholder)
sim/weapons/q2[25]
float
in float
(placeholder)
sim/weapons/q3[25]
float
in float
(placeholder)
sim/weapons/q4[25]
float
in float
(placeholder)
sim/weapons/Qrad[25]
float
in float
(placeholder)
sim/weapons/Rrad[25]
float
in float
(placeholder)
sim/weapons/rudd_rat[25]
float
in float
(placeholder)
sim/weapons/s_frn[25]
float
in float
(placeholder)
sim/weapons/shell/
sim/weapons/shell/is_attached
int
in V11TODO
TODO
sim/weapons/shell/thrust_rat
float
in V11TODO
TODO
sim/weapons/s_sid[25]
float
in float
(placeholder)
sim/weapons/s_top[25]
float
in unspecified units
Area
sim/weapons/target_index[25]
int
in int
Target index
sim/weapons/targ_h[25]
float
in unspecified units
Bomb targets
sim/weapons/targ_lat[25]
float
in float
(placeholder)
sim/weapons/targ_lon[25]
float
in float
(placeholder)
sim/weapons/the[25]
float
in Deg
Angle relative to the aircraft
sim/weapons/the_con[25]
float
in Deg
Angle relative to the mounting flight control
sim/weapons/time_point[25]
float
in unspecified units
Speed and dist to target for data output
sim/weapons/total_weapon_mass_max[25]
float
in unspecified units
Warhead and casing, fuel and tank
sim/weapons/total_weapon_mass_now[25]
float
in float
(placeholder)
sim/weapons/type[25]
int
in enum
(V10 style!) For the geometry we scan right into the acf structure unused array-spaces.
sim/weapons/V_msc[25]
float
in float
(placeholder)
sim/weapons/vx[25]
float
in float
(placeholder)
sim/weapons/vy[25]
float
in float
(placeholder)
sim/weapons/vz[25]
float
in float
(placeholder)
sim/weapons/warhead_type[25]
int
in enum
(V10 style!) Conventional or nuke
sim/weapons/weapon_count
int
in int
The number of weapons available via datarefs.
sim/weapons/wpn_struct[25]
int
in Pointers
Pointers to the raw weapon structs.
sim/weapons/x[25]
float
in float
(placeholder)
sim/weapons/X_body_aero[25]
float
in float
(placeholder)
sim/weapons/x_wpn_att[25]
float
in unspecified units
This allows us to use our drawing, smoothing, editing, s-t, normal-vector, plotting, etc.
sim/weapons/y[25]
float
in float
(placeholder)
sim/weapons/Y_body_aero[25]
float
in float
(placeholder)
sim/weapons/y_wpn_att[25]
float
in unspecified units
Code to do the weapons as well as everything else.
sim/weapons/z[25]
float
in unspecified units
Flight-status
sim/weapons/Z_body_aero[25]
float
in unspecified units
Centroid
sim/weapons/z_wpn_att[25]
float
in float
(placeholder)
sim/weather/
LEGACY x-plane weather - consider this entire section deprecated for new use and use sim/weather/aircraft or sim/weather/region.
sim/weather/aircraft/
Weather data for the primary aircraft's immediate environment. Read-only. This should be expected to be slightly different from regional weather.
sim/weather/aircraft/altimeter_temperature_error
float
in feet
How much a correctly set barometric altimeter differs from the actual altitude due to non-standard temperature at the altitude the user plane is flying.
sim/weather/aircraft/barometer_current_pas
float
in pascals
Barometric pressure at the point the current flight is at.
sim/weather/aircraft/cloud_base_msl_m[3]
float
in meters
MSL >= 0. The base altitude for this cloud layer.
sim/weather/aircraft/cloud_coverage_percent[3]
float
in float
Cloud coverage per layer, range 0 - 1.
sim/weather/aircraft/cloud_tops_msl_m[3]
float
in meters
>= 0. The tops for this cloud layer.
sim/weather/aircraft/cloud_type[3]
float
in float
Blended cloud types per layer. 0 = Cirrus, 1 = Stratus, 2 = Cumulus, 3 = Cumulo-nimbus. Intermediate values are to be expected.
sim/weather/aircraft/dewpoint_deg_c[13]
float
in degreesC
The dew point at specified levels in the atmosphere.
sim/weather/aircraft/gravity_mss
float
in m/s^2
Acceleration of gravity for the current planet im the aircraft's location.
sim/weather/aircraft/hail_on_aircraft_ratio
float
as a ratio
[0..1] The amount of hail on the airplane windshield as a ratio from 0 to 1.
sim/weather/aircraft/precipitation_on_aircraft_ratio
float
as a ratio
[0..1] The amount of rain on the airplane windshield as a ratio from 0 to 1.
sim/weather/aircraft/qnh_pas
float
in pascal
QNH
sim/weather/aircraft/relative_humidity_sealevel_percent
float
in percent
Relative humidity at sea-level
sim/weather/aircraft/shear_direction_degt[13]
float
in degrees
[0 - 360]. The direction for a wind shear, per above.
sim/weather/aircraft/shear_speed_kts[13]
float
in >=
0. The gain from the shear in knots.
sim/weather/aircraft/snow_on_aircraft_ratio
float
as a ratio
[0..1] The amount of snow on the airplane windshield as a ratio from 0 to 1.
sim/weather/aircraft/speed_sound_ms
float
in m/s
Speed of sound in meters/second at the plane's location.
sim/weather/aircraft/temperature_ambient_deg_c
float
in degreesC
The air temperature outside the aircraft (at altitude).
sim/weather/aircraft/temperature_leadingedge_deg_c
float
in degreesC
The air temperature at the leading edge of the wings in degrees C.
sim/weather/aircraft/temperatures_aloft_deg_c[13]
float
in degreesC
Temperature and ISA temperature at pressure altitudes given in sim/weather/aircraft/atmosphere_alt_levels. If the surface is at a higher elevation, the ISA difference at wherever the surface is is assumed to extend all the way down to sea level.
sim/weather/aircraft/thermal_rate_ms
float
in m/s
>= 0 The climb rate for thermals.
sim/weather/aircraft/turbulence[13]
float
in float
[0 - 10] A turbulence factor, 0-10, the unit is just a scale.
sim/weather/aircraft/visibility_reported_sm
float
in statute_miles
>= 0. The reported visibility (e.g. what the METAR/weather window says).
sim/weather/aircraft/wave_amplitude
float
in meters
Amplitude of waves in the water (height of waves)
sim/weather/aircraft/wave_dir
float
in degrees
Direction of waves.
sim/weather/aircraft/wave_length
float
in meters
Length of a single wave in the water - not writable starting in v12
sim/weather/aircraft/wave_speed
float
in m/s
Speed of water waves - not writable starting in v12
sim/weather/aircraft/wind_altitude_msl_m[13]
float
in meters
>= 0. The center altitude of this layer of wind in MSL meters.
sim/weather/aircraft/wind_direction_degt[13]
float
in degrees
[0 - 360] The direction the wind is blowing from in degrees from true north clockwise.
sim/weather/aircraft/wind_now_direction_degt
float
in degrees
[0-359] The effective direction of the wind at the plane's location.
sim/weather/aircraft/wind_now_speed_msc
float
in m/s
>= 0. The effective speed of the wind at the plane's location.