Quote:
Originally Posted by FG28_Kodiak
You mistake is not the actorname, its correct, but you used
Code:
(part.ParameterTypes.I_VelocityIAS, -1);
you must use
Code:
(part.ParameterTypes.Z_VelocityIAS, -1);
BTW. The simplest way to get the actorname is in game external view, right click -> enable show object names.
|
Parameters info:
http://www.sukhoi.ru/forum/showthrea...=1#post1896460
Code:
/// [Misc.: Machine Spatial Coordinates]
/// <para>Indicates machine position in world coordinates.</para>
/// <para>Subtype 0 shows X-coordinate;</para>
/// <para>Subtype 1 shows Y-coordinate;</para>
/// <para>Subtype 2 shows Z-coordinate.</para>
/// </summary>
Z_Coordinates,
/// <summary>
/// [Misc.: Machine Spatial Orientation]
/// <para>Indicates machine orientation, angles are in degrees.</para>
/// <para>Subtype 0 shows yaw (0 degrees point E);</para>
/// <para>Subtype 1 shows pitch (nose-up is negative);</para>
/// <para>Subtype 2 shows roll (right roll is positive).</para>
/// </summary>
Z_Orientation,
/// <summary>
/// [Misc.: Machine Overload under Acceleration]
/// <para>Indicates overload in m/s/s.</para>
/// <para>Generic subtype (-1) shows accelerometer, being 0 under normal conditions;</para>
/// <para>Subtype 0 shows acceleraton along machine's X axis;</para>
/// <para>Subtype 1 shows acceleraton along machine's Y axis;</para>
/// <para>Subtype 2 shows acceleraton along machine's Z axis.</para>
/// </summary>
Z_Overload,
/// <summary>
/// [Misc.: Machine Altitude AGL]
/// <para>Indicates machine elevation above ground level in meters.</para>
/// </summary>
Z_AltitudeAGL,
/// <summary>
/// [Misc.: Machine Altitude MSL]
/// <para>Indicates machine elevation above 0.0 Z-plane.</para>
/// </summary>
Z_AltitudeMSL,
/// <summary>
/// [Misc.: Machine's Velocity in Air]
/// <para>Indicates machine's aerial velocity.</para>
/// <para>Generic subtype (-1) shows velocity length;</para>
/// <para>Subtype 0 shows aerial flow along machine's X-axis;</para>
/// <para>Subtype 1 shows aerial flow along machine's Y-axis;</para>
/// <para>Subtype 2 shows aerial flow along machine's Z-axis.</para>
/// </summary>
Z_VelocityIAS,
/// <summary>
/// [Misc.: Machine's Velocity in World Coordinates]
/// <para>Indicates machine's absolute velocity.</para>
/// <para>Generic subtype (-1) shows velocity length;</para>
/// <para>Subtype 0 shows machine's speed along world's X-coordinate;</para>
/// <para>Subtype 1 shows machine's speed along world's Y-coordinate;</para>
/// <para>Subtype 2 shows machine's speed along world's Z-coordinate.</para>
/// </summary>
Z_VelocityTAS,
/// <summary>
/// [Misc.: Machine's Mach Factor]
/// <para>Indicates machine's aerial velocity devided by sonic speed.</para>
/// <para>Generic subtype (-1) shows velocity length;</para>
/// <para>Subtype 0 shows aerial flow along machine's X-axis;</para>
/// <para>Subtype 1 shows aerial flow along machine's Y-axis;</para>
/// <para>Subtype 2 shows aerial flow along machine's Z-axis.</para>
/// </summary>
Z_VelocityMach,
/// <summary>
/// [Misc.: Ambient Temperature]
/// <para>Indicates air temperature around machine's location, in K.</para>
/// </summary>
Z_AmbientAirTemperature,