Difference between revisions of "User:Casper Warden"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
Putting this here since the wiki templates seem to be broken
{| class="wikitable"
 
! Constant !! Description !! Notes
{{#vardefine:display_type|{{#switch:{{{type|}}}|float=|rotation=|vector=|t}}}}{{#if:{{{no_wrapper|}}}||{{{!}} class="sortable" {{Prettytable}}
|-
{{!}}- {{Hl2}}
| [[VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY]]
! {{!}}Constant
| slider between 0 (no deflection) and 1 (maximum strength)
! title="value" {{!}}
| rowspan="2" | Angular deflection affects how the vehicle tends to rotate itself to a particular direction
{{#if:{{#var:display_type}}|!Type}}
|-
! class="unsortable" {{!}}Description
| [[VEHICLE_ANGULAR_DEFLECTION_TIMESCALE]]
{{!}}-
| exponential timescale for the vehicle to achieve full angular deflection
}}{{#ifeq:{{{type|float}}}|float|<span style=""></span>
|-
{{!}} {{LSL Const|VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY|integer|32}}
| [[VEHICLE_ANGULAR_FRICTION_TIMESCALE]]
{{!}}{{#var:value}}
| vector of timescales for exponential decay of angular velocity about the three vehicle axes
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
|  
{{!}} slider between 0 (no deflection) and 1 (maximum strength)
|-
{{!}}-
| [[VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE]]
{{!}} {{LSL Const|VEHICLE_ANGULAR_DEFLECTION_TIMESCALE|integer|33}}
| exponential timescale for the angular motor's effectiveness to decay toward zero
{{!}}{{#var:value}}
|  
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
|-
{{!}} exponential timescale for the vehicle to achieve full angular deflection
| [[VEHICLE_ANGULAR_MOTOR_DIRECTION]]
{{!}}-
| angular velocity that the vehicle will try to achieve
}}{{#ifeq:{{{type|vector}}}|vector|<span style=""></span>
|
{{!}} {{LSL Const|VEHICLE_ANGULAR_FRICTION_TIMESCALE|integer|17}}
|-
{{!}}{{#var:value}}
| [[VEHICLE_ANGULAR_MOTOR_TIMESCALE]]
{{#if:{{#var:display_type}}|{{!}} [[vector]]}}
| exponential timescale for the vehicle to achive its full angular motor velocity
{{!}} vector of timescales for exponential decay of angular velocity about the three vehicle axes
|
{{!}}-
|-
}}{{#ifeq:{{{type|float}}}|float|<span style=""></span>
| [[VEHICLE_BANKING_EFFICIENCY]]
{{!}} {{LSL Const|VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE|integer|35}}
| slider between -1 (leans out of turns), 0 (no banking), and +1 (leans into turns)
{{!}}{{#var:value}}
| rowspan="3" | Banking requires the Vertical Attractor to be configured
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
|-
{{!}} exponential timescale for the angular motor&#39;s effectiveness to decay toward zero
| [[VEHICLE_BANKING_MIX]]
{{!}}-
| slider between 0 (static banking) and 1 (dynamic banking)
}}{{#ifeq:{{{type|vector}}}|vector|<span style=""></span>
|
{{!}} {{LSL Const|VEHICLE_ANGULAR_MOTOR_DIRECTION|integer|19}}
|-
{{!}}{{#var:value}}
| [[VEHICLE_BANKING_TIMESCALE]]
{{#if:{{#var:display_type}}|{{!}} [[vector]]}}
| exponential timescale for the banking behavior to take full effect
{{!}} angular velocity that the vehicle will try to achieve
|
{{!}}-
|-
}}{{#ifeq:{{{type|float}}}|float|<span style=""></span>
| [[VEHICLE_BUOYANCY]]
{{!}} {{LSL Const|VEHICLE_ANGULAR_MOTOR_TIMESCALE|integer|34}}
| slider between -1 (double-gravity) and 1 (full anti-gravity)
{{!}}{{#var:value}}
|
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
|-
{{!}} exponential timescale for the vehicle to achive its full angular motor velocity
| [[VEHICLE_HOVER_HEIGHT]]
{{!}}-
| height the vehicle will try to hover.
{{!}} {{LSL Const|VEHICLE_BANKING_EFFICIENCY|integer|38}}
| Behaves differently depending on the flags:<br />
{{!}}{{#var:value}}
[[VEHICLE_FLAG_HOVER_WATER_ONLY]] - Ignore terrain height when hovering,<br />
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
[[VEHICLE_FLAG_HOVER_TERRAIN_ONLY]] - Ignore water height when hovering.,<br />
{{!}} slider between -1 (leans out of turns), 0 (no banking), and +1 (leans into turns)
[[VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT]] - Use global height instead of height above terrain/water,<br />
{{!}}-
[[VEHICLE_FLAG_HOVER_UP_ONLY]] - Hover up, but not down<br />
{{!}} {{LSL Const|VEHICLE_BANKING_MIX|integer|39}}
|-
{{!}}{{#var:value}}
| [[VEHICLE_LINEAR_DEFLECTION_EFFICIENCY]]
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
| slider between 0 (no deflection) and 1 (maximum strength)
{{!}} slider between 0 (static banking) and 1 (dynamic banking)
| rowspan="2" | Linear deflection affects how the vehicle tends to move along a particular axis
{{!}}-
|-
{{!}} {{LSL Const|VEHICLE_BANKING_TIMESCALE|integer|40}}
| [[VEHICLE_LINEAR_DEFLECTION_TIMESCALE]]
{{!}}{{#var:value}}
| exponential timescale for the vehicle to redirect its velocity to be along its x-axis
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
|
{{!}} exponential timescale for the banking behavior to take full effect
|-
{{!}}-
| [[VEHICLE_LINEAR_FRICTION_TIMESCALE]]
{{!}} {{LSL Const|VEHICLE_BUOYANCY|integer|27}}
| vector of timescales for exponential decay of linear velocity along the three vehicle axes
{{!}}{{#var:value}}
|  
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
|-
{{!}} slider between -1 (double-[[gravity]]) and 1 (full anti-gravity)
| [[VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE]]
{{!}}-
| exponential timescale for the linear motor's effectiveness to decay toward zero
{{!}} {{LSL Const|VEHICLE_HOVER_HEIGHT|integer|24}}
|
{{!}}{{#var:value}}
|-
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
| [[VEHICLE_LINEAR_MOTOR_DIRECTION]]
{{!}} height the vehicle will try to hover.
| linear velocity that the vehicle will try to achieve
{{!}}-
|
{{!}} {{LSL Const|VEHICLE_HOVER_EFFICIENCY|integer|25}}
|-
{{!}}{{#var:value}}
| [[VEHICLE_LINEAR_MOTOR_TIMESCALE]]
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
| exponential timescale for the vehicle to achive its full linear motor velocity
{{!}} slider between 0 (bouncy) and 1 (critically damped) hover behavior
|
{{!}}-
|-
{{!}} {{LSL Const|VEHICLE_HOVER_TIMESCALE|integer|26}}
| [[VEHICLE_REFERENCE_FRAME]]
{{!}}{{#var:value}}
| rotation of vehicle axes relative to local frame
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
| Changes the vehicle's global direction of movement.
{{!}} period of time for the vehicle to achieve its hover height
|-
{{!}}-
| [[VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY]]
{{!}} {{LSL Const|VEHICLE_LINEAR_DEFLECTION_EFFICIENCY|integer|28}}
| slider between 0 (bouncy) and 1 (critically damped) attraction of vehicle z-axis to world z-axis (vertical)
{{!}}{{#var:value}}
| rowspan="2" | Vertical attraction affects how much the vehicle tries to remain upright.
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
|-
{{!}} slider between 0 (no deflection) and 1 (maximum strength)
| [[VEHICLE_VERTICAL_ATTRACTION_TIMESCALE]]
{{!}}-
| exponential timescale for the vehicle to align its z-axis to the world z-axis (vertical)
{{!}} {{LSL Const|VEHICLE_LINEAR_DEFLECTION_TIMESCALE|integer|29}}
|  
{{!}}{{#var:value}}
|}
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
{{!}} exponential timescale for the vehicle to redirect its velocity to be along its x-axis
{{!}}-
}}{{#ifeq:{{{type|vector}}}|vector|<span style=""></span>
{{!}} {{LSL Const|VEHICLE_LINEAR_FRICTION_TIMESCALE|integer|16}}
{{!}}{{#var:value}}
{{#if:{{#var:display_type}}|{{!}} [[vector]]}}
{{!}} vector of timescales for exponential decay of linear velocity along the three vehicle axes
{{!}}-
}}{{#ifeq:{{{type|float}}}|float|<span style=""></span>
{{!}} {{LSL Const|VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE|integer|31}}
{{!}}{{#var:value}}
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
{{!}} exponential timescale for the linear motor&#39;s effectiveness to decay toward zero
{{!}}-
}}{{#ifeq:{{{type|vector}}}|vector|<span style=""></span>
{{!}} {{LSL Const|VEHICLE_LINEAR_MOTOR_DIRECTION|integer|18}}
{{!}}{{#var:value}}
{{#if:{{#var:display_type}}|{{!}} [[vector]]}}
{{!}} linear velocity that the vehicle will try to achieve
{{!}}-
}}{{#ifeq:{{{type|float}}}|float|<span style=""></span>
{{!}} {{LSL Const|VEHICLE_LINEAR_MOTOR_TIMESCALE|integer|30}}
{{!}}{{#var:value}}
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
{{!}} exponential timescale for the vehicle to achive its full linear motor velocity
{{!}}-
}}{{#ifeq:{{{type|vector}}}|vector|<span style=""></span>
{{!}} {{LSL Const|VEHICLE_LINEAR_MOTOR_OFFSET|integer|20}}
{{!}}{{#var:value}}
{{#if:{{#var:display_type}}|{{!}} [[vector]]}}
{{!}} [[offset]] from the [[llGetCenterOfMass|center of mass]] of the vehicle where the linear motor is applied.
{{!}}-
}}{{#ifeq:{{{type|rotation}}}|rotation|<span style=""></span>
{{!}} {{LSL Const|VEHICLE_REFERENCE_FRAME|integer|44}}
{{!}}{{#var:value}}
{{#if:{{#var:display_type}}|{{!}} [[rotation]]}}
{{!}} rotation of vehicle axes relative to local frame
{{!}}-
}}{{#ifeq:{{{type|float}}}|float|<span style=""></span>
{{!}} {{LSL Const|VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY|integer|36}}
{{!}}{{#var:value}}
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
{{!}} slider between 0 (bouncy) and 1 (critically damped) attraction of ''vehicle'' z-axis to [[world]] z-axis (vertical)
{{!}}-
{{!}} {{LSL Const|VEHICLE_VERTICAL_ATTRACTION_TIMESCALE|integer|37}}
{{!}}{{#var:value}}
{{#if:{{#var:display_type}}|{{!}} [[float]]}}
{{!}} exponential timescale for the vehicle to align its z-axis to the world z-axis (vertical)
{{!}}-}}
{{#if:{{{no_wrapper|}}}||{{!}}} }}
<noinclude>{{{{FULLPAGENAME}}|type=rotation}}{{{{FULLPAGENAME}}|type=vector}}{{{{FULLPAGENAME}}|type=float}}</noinclude>

Latest revision as of 18:53, 6 November 2022

Constant Description Notes
VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY slider between 0 (no deflection) and 1 (maximum strength) Angular deflection affects how the vehicle tends to rotate itself to a particular direction
VEHICLE_ANGULAR_DEFLECTION_TIMESCALE exponential timescale for the vehicle to achieve full angular deflection
VEHICLE_ANGULAR_FRICTION_TIMESCALE vector of timescales for exponential decay of angular velocity about the three vehicle axes
VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE exponential timescale for the angular motor's effectiveness to decay toward zero
VEHICLE_ANGULAR_MOTOR_DIRECTION angular velocity that the vehicle will try to achieve
VEHICLE_ANGULAR_MOTOR_TIMESCALE exponential timescale for the vehicle to achive its full angular motor velocity
VEHICLE_BANKING_EFFICIENCY slider between -1 (leans out of turns), 0 (no banking), and +1 (leans into turns) Banking requires the Vertical Attractor to be configured
VEHICLE_BANKING_MIX slider between 0 (static banking) and 1 (dynamic banking)
VEHICLE_BANKING_TIMESCALE exponential timescale for the banking behavior to take full effect
VEHICLE_BUOYANCY slider between -1 (double-gravity) and 1 (full anti-gravity)
VEHICLE_HOVER_HEIGHT height the vehicle will try to hover. Behaves differently depending on the flags:

VEHICLE_FLAG_HOVER_WATER_ONLY - Ignore terrain height when hovering,
VEHICLE_FLAG_HOVER_TERRAIN_ONLY - Ignore water height when hovering.,
VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT - Use global height instead of height above terrain/water,
VEHICLE_FLAG_HOVER_UP_ONLY - Hover up, but not down

VEHICLE_LINEAR_DEFLECTION_EFFICIENCY slider between 0 (no deflection) and 1 (maximum strength) Linear deflection affects how the vehicle tends to move along a particular axis
VEHICLE_LINEAR_DEFLECTION_TIMESCALE exponential timescale for the vehicle to redirect its velocity to be along its x-axis
VEHICLE_LINEAR_FRICTION_TIMESCALE vector of timescales for exponential decay of linear velocity along the three vehicle axes
VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE exponential timescale for the linear motor's effectiveness to decay toward zero
VEHICLE_LINEAR_MOTOR_DIRECTION linear velocity that the vehicle will try to achieve
VEHICLE_LINEAR_MOTOR_TIMESCALE exponential timescale for the vehicle to achive its full linear motor velocity
VEHICLE_REFERENCE_FRAME rotation of vehicle axes relative to local frame Changes the vehicle's global direction of movement.
VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY slider between 0 (bouncy) and 1 (critically damped) attraction of vehicle z-axis to world z-axis (vertical) Vertical attraction affects how much the vehicle tries to remain upright.
VEHICLE_VERTICAL_ATTRACTION_TIMESCALE exponential timescale for the vehicle to align its z-axis to the world z-axis (vertical)