Adding constants to code (and values to confLSL file)
This commit is contained in:
parent
4418da5ff9
commit
c71412d2c2
2 changed files with 85 additions and 20 deletions
|
@ -4651,33 +4651,33 @@
|
|||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.25. Character constants">
|
||||
<Word name="AVOID_CHARACTERS" type="integer" value="" status="beta"></Word>
|
||||
<Word name="AVOID_DYNAMIC_OBSTACLES" type="integer" value="" status="beta"></Word>
|
||||
<Word name="CHARACTER_AVOIDANCE_MODE" type="integer" value="" status="beta">Allows you to specify that a character should not try to avoid other characters, should not try to avoid dynamic obstacles (relatively fast moving objects and avatars), or both.</Word>
|
||||
<Word name="AVOID_CHARACTERS" type="integer" value="1" status="beta"></Word>
|
||||
<Word name="AVOID_DYNAMIC_OBSTACLES" type="integer" value="2" status="beta"></Word>
|
||||
<Word name="CHARACTER_AVOIDANCE_MODE" type="integer" value="5" status="beta">Allows you to specify that a character should not try to avoid other characters, should not try to avoid dynamic obstacles (relatively fast moving objects and avatars), or both.</Word>
|
||||
<Word name="CHARACTER_CMD_JUMP" type="integer" value="0x01" status="beta">Makes the character jump. Requires an additional parameter, the height to jump, between 0.1m and 2.0m. This must be provided as the first element of the llExecCharacterCmd option list.</Word>
|
||||
<Word name="CHARACTER_CMD_STOP" type="integer" value="0x00" status="beta">Stops any current pathfinding operation.</Word>
|
||||
<Word name="CHARACTER_DESIRED_SPEED" type="integer" value="1" status="beta">Speed of pursuit in meters per second.</Word>
|
||||
<Word name="CHARACTER_LENGTH" type="integer" value="3" status="beta">Set collision capsule length - cannot be less than two times the radius.</Word>
|
||||
<Word name="CHARACTER_TYPE" type="integer" value="" status="beta">Specifies which walk-ability coefficient will be used by this character.</Word>
|
||||
<Word name="CHARACTER_MAX_ACCEL" type="integer" value="" status="beta">The character's maximum acceleration rate.</Word>
|
||||
<Word name="CHARACTER_MAX_ANGULAR_ACCEL" type="integer" value="" status="beta">The character's maximum angular acceleration about the Z axis.</Word>
|
||||
<Word name="CHARACTER_MAX_ANGULAR_SPEED" type="integer" value="" status="beta">The character's maximum angular speed about the Z axis.</Word>
|
||||
<Word name="CHARACTER_MAX_DECEL" type="integer" value="" status="beta">The character's maximum deceleration rate.</Word>
|
||||
<Word name="CHARACTER_TYPE" type="integer" value="6" status="beta">Specifies which walk-ability coefficient will be used by this character.</Word>
|
||||
<Word name="CHARACTER_MAX_ACCEL" type="integer" value="8" status="beta">The character's maximum acceleration rate.</Word>
|
||||
<Word name="CHARACTER_MAX_ANGULAR_ACCEL" type="integer" value="11" status="beta">The character's maximum angular acceleration about the Z axis.</Word>
|
||||
<Word name="CHARACTER_MAX_ANGULAR_SPEED" type="integer" value="10" status="beta">The character's maximum angular speed about the Z axis.</Word>
|
||||
<Word name="CHARACTER_MAX_DECEL" type="integer" value="9" status="beta">The character's maximum deceleration rate.</Word>
|
||||
<Word name="CHARACTER_RADIUS" type="integer" value="2" status="beta">Set collision capsule radius.</Word>
|
||||
<Word name="CHARACTER_TURN_SPEED_MULTIPLIER" type="integer" value="" status="beta">When a character has to make certain kinds of turns, this value is multiplied by the character's desired speed and the character is slowed down to the new value before being allowed to turn.</Word>
|
||||
<Word name="CHARACTER_TYPE_A" type="integer" value="" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_B" type="integer" value="" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_C" type="integer" value="" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_D" type="integer" value="" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_NONE" type="integer" value="" status="beta" />
|
||||
<Word name="CHARACTER_TURN_SPEED_MULTIPLIER" type="integer" value="12" status="beta">When a character has to make certain kinds of turns, this value is multiplied by the character's desired speed and the character is slowed down to the new value before being allowed to turn.</Word>
|
||||
<Word name="CHARACTER_TYPE_A" type="integer" value="0" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_B" type="integer" value="1" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_C" type="integer" value="2" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_D" type="integer" value="3" status="beta" />
|
||||
<Word name="CHARACTER_TYPE_NONE" type="integer" value="4" status="beta" />
|
||||
<Word name="PURSUIT_FUZZ_FACTOR" type="integer" value="3" status="beta">Selects a random destination near the offset.</Word>
|
||||
<Word name="PURSUIT_INTERCEPT" type="integer" value="4" status="beta">Define whether the character attempts to predict the target's location.</Word>
|
||||
<Word name="PURSUIT_FUZZ_FACTOR" type="integer" value="" status="beta">Selects a random destination near the offset.</Word>
|
||||
<Word name="PURSUIT_OFFSET" type="integer" value="1" status="beta">Go to a position offset from the target.</Word>
|
||||
<Word name="REQUIRE_LINE_OF_SIGHT" type="integer" value="2" status="beta">Define whether the character needs a line-of-sight to give chase.</Word>
|
||||
<Word name="TRAVERSAL_TYPE" type="integer" value="" status="beta">One of TRAVERSAL_TYPE_FAST, TRAVERSAL_TYPE_SLOW, and TRAVERSAL_TYPE_NONE.</Word>
|
||||
<Word name="TRAVERSAL_TYPE_NONE" type="integer" value="" status="beta" />
|
||||
<Word name="TRAVERSAL_TYPE_FAST" type="integer" value="" status="beta" />
|
||||
<Word name="TRAVERSAL_TYPE_SLOW" type="integer" value="" status="beta" />
|
||||
<Word name="TRAVERSAL_TYPE" type="integer" value="7" status="beta">One of TRAVERSAL_TYPE_FAST, TRAVERSAL_TYPE_SLOW, and TRAVERSAL_TYPE_NONE.</Word>
|
||||
<Word name="TRAVERSAL_TYPE_FAST" type="integer" value="1" status="beta" />
|
||||
<Word name="TRAVERSAL_TYPE_NONE" type="integer" value="2" status="beta" />
|
||||
<Word name="TRAVERSAL_TYPE_SLOW" type="integer" value="0" status="beta" />
|
||||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.99. Miscellaneous constants.">
|
||||
|
@ -5012,7 +5012,7 @@
|
|||
<Word name="PU_FAILURE_INVALID_GOAL" type="integer" value="0x03" status="beta">Goal is not on the navigation-mesh and cannot be reached.</Word>
|
||||
<Word name="PU_FAILURE_INVALID_START" type="integer" value="0x02" status="beta">Character cannot navigate from the current location - e.g., the character is off the navmesh or too high above it.</Word>
|
||||
<Word name="PU_FAILURE_NO_VALID_DESTINATION" type="integer" value="0x06" status="beta">There's no good place for the character to go - e.g., it is patrolling and all the patrol points are now unreachable.</Word>
|
||||
<Word name="PU_FAILURE_OTHER" type="integer" value="" />
|
||||
<Word name="PU_FAILURE_OTHER" type="integer" value="1000000" />
|
||||
<Word name="PU_FAILURE_TARGET_GONE" type="integer" value="0x05" status="beta">Target (for llPursue or llEvade) can no longer be tracked - e.g., it left the region or is an avatar that is now more than about 30m outside the region.</Word>
|
||||
<Word name="PU_FAILURE_UNREACHABLE" type="integer" value="0x04" status="beta">Goal is no longer reachable for some reason - e.g., an obstacle blocks the path.</Word>
|
||||
<Word name="PU_GOAL_REACHED" type="integer" value="0x01" status="beta">Character has reached the goal and will stop or choose a new goal (if wandering).</Word>
|
||||
|
|
|
@ -270,6 +270,9 @@ namespace LSLEditor
|
|||
public static readonly integer ATTACH_HUD_BOTTOM = 37;
|
||||
public static readonly integer ATTACH_HUD_BOTTOM_RIGHT = 38;
|
||||
|
||||
public static readonly integer AVOID_CHARACTERS = 1;
|
||||
public static readonly integer AVOID_DYNAMIC_OBSTACLES = 2;
|
||||
|
||||
public static readonly integer CAMERA_PITCH = 0;
|
||||
public static readonly integer CAMERA_FOCUS_OFFSET = 1;
|
||||
public static readonly integer CAMERA_POSITION_LAG = 5;
|
||||
|
@ -298,6 +301,24 @@ namespace LSLEditor
|
|||
public static readonly integer CHANGED_REGION_START = 1024;
|
||||
public static readonly integer CHANGED_MEDIA = 2048;
|
||||
|
||||
public static readonly integer CHARACTER_AVOIDANCE_MODE = 5;
|
||||
public static readonly integer CHARACTER_CMD_JUMP = 0x01;
|
||||
public static readonly integer CHARACTER_CMD_STOP = 0x00;
|
||||
public static readonly integer CHARACTER_DESIRED_SPEED = 1;
|
||||
public static readonly integer CHARACTER_LENGTH = 3;
|
||||
public static readonly integer CHARACTER_TYPE = 6;
|
||||
public static readonly integer CHARACTER_MAX_ACCEL = 8;
|
||||
public static readonly integer CHARACTER_MAX_ANGULAR_ACCEL = 11;
|
||||
public static readonly integer CHARACTER_MAX_ANGULAR_SPEED = 10;
|
||||
public static readonly integer CHARACTER_MAX_DECEL = 9;
|
||||
public static readonly integer CHARACTER_RADIUS = 2;
|
||||
public static readonly integer CHARACTER_TURN_SPEED_MULTIPLIER = 12;
|
||||
public static readonly integer CHARACTER_TYPE_A = 0;
|
||||
public static readonly integer CHARACTER_TYPE_B = 1;
|
||||
public static readonly integer CHARACTER_TYPE_C = 2;
|
||||
public static readonly integer CHARACTER_TYPE_D = 3;
|
||||
public static readonly integer CHARACTER_TYPE_NONE = 4;
|
||||
|
||||
public static readonly integer CLICK_ACTION_NONE = 0;
|
||||
public static readonly integer CLICK_ACTION_TOUCH = 0;
|
||||
public static readonly integer CLICK_ACTION_SIT = 1;
|
||||
|
@ -336,6 +357,8 @@ namespace LSLEditor
|
|||
public static readonly integer ESTATE_ACCESS_BANNED_AGENT_ADD = 64;
|
||||
public static readonly integer ESTATE_ACCESS_BANNED_AGENT_REMOVE = 128;
|
||||
|
||||
public static readonly integer FORCE_DIRECT_PATH = 1;
|
||||
|
||||
public static readonly integer HTTP_BODY_MAXLENGTH = 2;
|
||||
public static readonly integer HTTP_BODY_TRUNCATED = 0;
|
||||
public static readonly integer HTTP_METHOD = 0;
|
||||
|
@ -653,8 +676,23 @@ namespace LSLEditor
|
|||
public static readonly integer PSYS_SRC_PATTERN_ANGLE_CONE = 8;
|
||||
public static readonly integer PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY = 16;
|
||||
|
||||
public static readonly integer PU_EVADE_HIDDEN = 0x07;
|
||||
public static readonly integer PU_EVADE_SPOTTED = 0x08;
|
||||
public static readonly integer PU_FAILURE_INVALID_GOAL = 0x03;
|
||||
public static readonly integer PU_FAILURE_INVALID_START = 0x02;
|
||||
public static readonly integer PU_FAILURE_NO_VALID_DESTINATION = 0x06;
|
||||
public static readonly integer PU_FAILURE_OTHER = 1000000;
|
||||
public static readonly integer PU_FAILURE_TARGET_GONE = 0x05;
|
||||
public static readonly integer PU_FAILURE_UNREACHABLE = 0x04;
|
||||
public static readonly integer PU_GOAL_REACHED = 0x01;
|
||||
public static readonly integer PU_SLOWDOWN_DISTANCE_REACHED = 0x00;
|
||||
|
||||
public static readonly integer PUBLIC_CHANNEL = 0;
|
||||
|
||||
public static readonly integer PURSUIT_FUZZ_FACTOR = 3;
|
||||
public static readonly integer PURSUIT_INTERCEPT = 4;
|
||||
public static readonly integer PURSUIT_OFFSET = 1;
|
||||
|
||||
public static readonly integer RC_DATA_FLAGS = 2;
|
||||
public static readonly integer RC_DETECT_PHANTOM = 1;
|
||||
public static readonly integer RC_GET_LINK_NUM = 4;
|
||||
|
@ -685,6 +723,8 @@ namespace LSLEditor
|
|||
public static readonly integer REMOTE_DATA_REQUEST = 2;
|
||||
public static readonly integer REMOTE_DATA_REPLY = 3;
|
||||
|
||||
public static readonly integer REQUIRE_LINE_OF_SIGHT = 2;
|
||||
|
||||
public static readonly integer STATUS_PHYSICS = 1;
|
||||
public static readonly integer STATUS_ROTATE_X = 2;
|
||||
public static readonly integer STATUS_ROTATE_Y = 4;
|
||||
|
@ -719,6 +759,11 @@ namespace LSLEditor
|
|||
public static readonly vector TOUCH_INVALID_TEXCOORD = new vector(-1.0, -1.0, 0.0);
|
||||
public static readonly vector TOUCH_INVALID_VECTOR = new vector(0.0, 0.0, 0.0);
|
||||
|
||||
public static readonly integer TRAVERSAL_TYPE = 7;
|
||||
public static readonly integer TRAVERSAL_TYPE_FAST = 1;
|
||||
public static readonly integer TRAVERSAL_TYPE_NONE = 2;
|
||||
public static readonly integer TRAVERSAL_TYPE_SLOW = 0;
|
||||
|
||||
public static readonly integer TYPE_INTEGER = 1;
|
||||
public static readonly integer TYPE_FLOAT = 2;
|
||||
public static readonly integer TYPE_STRING = 3;
|
||||
|
@ -1385,11 +1430,21 @@ namespace LSLEditor
|
|||
return dblA;
|
||||
}
|
||||
|
||||
public void llCreateCharacter(list Options)
|
||||
{
|
||||
Verbose("llCreateCharacter({0})", Options);
|
||||
}
|
||||
|
||||
public void llCreateLink(key target, integer simulator)
|
||||
{
|
||||
Verbose("CreateLink(" + target + "," + simulator + ")");
|
||||
}
|
||||
|
||||
public void llDeleteCharacter()
|
||||
{
|
||||
Verbose("llDeleteCharacter()");
|
||||
}
|
||||
|
||||
public list llDeleteSubList(list _src, integer _start, integer _end)
|
||||
{
|
||||
int intLength = _src.Count;
|
||||
|
@ -1646,6 +1701,16 @@ namespace LSLEditor
|
|||
return rot;
|
||||
}
|
||||
|
||||
public void llEvade(key TargetID, list Options)
|
||||
{
|
||||
Verbose("llEvade({0}, {1})", TargetID, Options);
|
||||
}
|
||||
|
||||
public void llExecCharacterCmd(integer Command, list Options)
|
||||
{
|
||||
Verbose("llExecCharacterCmd({0}, {1})", Command, Options);
|
||||
}
|
||||
|
||||
public Float llFabs(Float val)
|
||||
{
|
||||
double dblA = Math.Abs(val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue