Difference between revisions of "Template:LSL Constants/Vehicle Flags"

From Second Life Wiki
Jump to navigation Jump to search
m (Undo revision 1185503 by Strife Onizuka (Talk))
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{{!}}{{Prettytable}}
{{#if:{{{no_wrapper|}}}||{{{!}} class="sortable" {{Prettytable}}
!Flags
{{!}}-{{Hl2}}
!Value
! Flags
!Description
! title="Value" {{!}}
! class="unsortable" {{!}}Description
{{!}}-}}
{{!}} {{LSL Const|VEHICLE_FLAG_NO_DEFLECTION_UP|integer|hex=0x001|ihex=1}}
{{!}} {{#var:value}}
{{!}} This flag prevents linear deflection parallel to world z-axis. This is useful for preventing ground vehicles with large linear deflection, like {{Wikipedia|Bumper car|bumper cars}}, from climbing their linear deflection into the sky.
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_NO_DEFLECTION_UP}}
{{!}} {{LSL Const|VEHICLE_FLAG_LIMIT_ROLL_ONLY|integer|hex=0x002|ihex=2}}
{{!}} {{LSL Hex|0x1}}
{{!}} {{#var:value}}
{{!}} This flag prevents linear deflection parallel to world z-axis. This is useful for preventing ground vehicles with large linear deflection, like bumper cars, from climbing their linear deflection into the sky.
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_LIMIT_ROLL_ONLY}}
{{!}} {{LSL Hex|0x2}}
{{!}} For vehicles with vertical attractor that want to be able to climb/dive, for instance, airplanes that want to use the banking feature.
{{!}} For vehicles with vertical attractor that want to be able to climb/dive, for instance, airplanes that want to use the banking feature.
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_HOVER_WATER_ONLY}}
{{!}} {{LSL Const|VEHICLE_FLAG_HOVER_WATER_ONLY|integer|hex=0x004|ihex=4}}
{{!}} {{LSL Hex|0x4}}
{{!}} {{#var:value}}
{{!}} Ignore terrain height when hovering.
{{!}} Ignore terrain height when hovering.
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_HOVER_TERRAIN_ONLY}}
{{!}} {{LSL Const|VEHICLE_FLAG_HOVER_TERRAIN_ONLY|integer|hex=0x008|ihex=8}}
{{!}} {{LSL Hex|0x8}}
{{!}} {{#var:value}}
{{!}} Ignore water height when hovering.
{{!}} Ignore water height when hovering.
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT}}
{{!}} {{LSL Const|VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT|integer|hex=0x010|ihex=16}}
{{!}} {{LSL Hex|0x10}}
{{!}} {{#var:value}}
{{!}} Hover at global height instead of height above ground or water.
{{!}} Hover at global height instead of height above ground or water.
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_HOVER_UP_ONLY}}
{{!}} {{LSL Const|VEHICLE_FLAG_HOVER_UP_ONLY|integer|hex=0x020|ihex=32}}
{{!}} {{LSL Hex|0x20}}
{{!}} {{#var:value}}
{{!}} Hover doesn't push down. Use this flag for hovering vehicles that should be able to jump above their hover height.  
{{!}} Hover doesn't push down. Use this flag for hovering vehicles that should be able to jump above their hover height.  
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_LIMIT_MOTOR_UP}}
{{!}} {{LSL Const|VEHICLE_FLAG_LIMIT_MOTOR_UP|integer|hex=0x040|ihex=64}}
{{!}} {{LSL Hex|0x40}}
{{!}} {{#var:value}}
{{!}} Prevents ground vehicles from motoring into the sky. This flag has a subtle effect when used with conjunction with banking: the strength of the banking will decay when the vehicle no longer experiences collisions. The decay timescale is the same as {{LSLG|VEHICLE_BANKING_TIMESCALE}}. This is to help prevent ground vehicles from steering when they are in mid jump.  
{{!}} Prevents ground vehicles from motoring into the sky. This flag has a subtle effect when used with conjunction with banking: the strength of the banking will decay when the vehicle no longer experiences collisions. The decay timescale is the same as [[VEHICLE_BANKING_TIMESCALE]]. This is to help prevent ground vehicles from steering when they are in mid jump.  
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_MOUSELOOK_STEER}}
{{!}} {{LSL Const|VEHICLE_FLAG_MOUSELOOK_STEER|integer|hex=0x080|ihex=128}}
{{!}} {{LSL Hex|0x80}}
{{!}} {{#var:value}}
{{!}} Steer the vehicle using the mouse. Use this flag to make the angular motor try to make the vehicle turn such that its local x-axis points in the same direction as the client-side camera.
{{!}} Steer the vehicle using the mouse. Use this flag to make the angular motor try to make the vehicle turn such that its local x-axis points in the same direction as the client-side camera.
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_MOUSELOOK_BANK}}
{{!}} {{LSL Const|VEHICLE_FLAG_MOUSELOOK_BANK|integer|hex=0x100|ihex=256}}
{{!}} {{LSL Hex|0x100}}
{{!}} {{#var:value}}
{{!}} Same as above, but relies on banking. It remaps left-right motions of the client camera (also known as "yaw") to rotations about the vehicle's local x-axis.  
{{!}} Same as above, but relies on banking. It remaps left-right motions of the client camera (also known as "yaw") to rotations about the vehicle's local x-axis.  
{{!}}-
{{!}}-
{{!}} {{LSLG|VEHICLE_FLAG_CAMERA_DECOUPLED}}
{{!}} {{LSL Const|VEHICLE_FLAG_CAMERA_DECOUPLED|integer|hex=0x200|ihex=512}}
{{!}} {{LSL Hex|0x200}}
{{!}} {{#var:value}}
{{!}} Makes {{LSLG|mouselook}} {{LSLGC|Camera|camera}} rotate independently of the vehicle. By default the client mouselook camera will rotate about with the vehicle, however when this flag is set the camera direction is independent of the vehicle's rotation.
{{!}} Makes [[mouselook]] {{LSLGC|Camera|camera}} rotate independently of the vehicle. By default the client mouselook camera will rotate about with the vehicle, however when this flag is set the camera direction is independent of the vehicle's rotation.
{{!}}}
{{#if:{{{no_wrapper|}}}||{{!}}} }}

Latest revision as of 23:44, 22 December 2013

Flags Description
VEHICLE_FLAG_NO_DEFLECTION_UP 0x001 This flag prevents linear deflection parallel to world z-axis. This is useful for preventing ground vehicles with large linear deflection, like "Wikipedia logo"bumper cars, from climbing their linear deflection into the sky.
VEHICLE_FLAG_LIMIT_ROLL_ONLY 0x002 For vehicles with vertical attractor that want to be able to climb/dive, for instance, airplanes that want to use the banking feature.
VEHICLE_FLAG_HOVER_WATER_ONLY 0x004 Ignore terrain height when hovering.
VEHICLE_FLAG_HOVER_TERRAIN_ONLY 0x008 Ignore water height when hovering.
VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT 0x010 Hover at global height instead of height above ground or water.
VEHICLE_FLAG_HOVER_UP_ONLY 0x020 Hover doesn't push down. Use this flag for hovering vehicles that should be able to jump above their hover height.
VEHICLE_FLAG_LIMIT_MOTOR_UP 0x040 Prevents ground vehicles from motoring into the sky. This flag has a subtle effect when used with conjunction with banking: the strength of the banking will decay when the vehicle no longer experiences collisions. The decay timescale is the same as VEHICLE_BANKING_TIMESCALE. This is to help prevent ground vehicles from steering when they are in mid jump.
VEHICLE_FLAG_MOUSELOOK_STEER 0x080 Steer the vehicle using the mouse. Use this flag to make the angular motor try to make the vehicle turn such that its local x-axis points in the same direction as the client-side camera.
VEHICLE_FLAG_MOUSELOOK_BANK 0x100 Same as above, but relies on banking. It remaps left-right motions of the client camera (also known as "yaw") to rotations about the vehicle's local x-axis.
VEHICLE_FLAG_CAMERA_DECOUPLED 0x200 Makes mouselook camera rotate independently of the vehicle. By default the client mouselook camera will rotate about with the vehicle, however when this flag is set the camera direction is independent of the vehicle's rotation.