OSSL Constants

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Linkified the constants, pointing to (new) pages below this one, prolly good idea to document consts too. Also added page to categories.)
m (Robot: Cosmetic changes)
Line 4: Line 4:
  
 
Sources:
 
Sources:
*LSL_Constants.cs (OpenSim source) for LSL and OSSL Constants
+
* LSL_Constants.cs (OpenSim source) for LSL and OSSL Constants
*CM_Constants.cs (OpenSim source) for LightShare/Windlight Constants
+
* CM_Constants.cs (OpenSim source) for LightShare/Windlight Constants
  
  
Line 12: Line 12:
 
| '''Constant Name''' || '''Value''' || '''Notes'''
 
| '''Constant Name''' || '''Value''' || '''Notes'''
 
|-
 
|-
| [[OSSL_Constants/NPC|NPC]] || 0x20 ||  
+
| [[OSSL Constants/NPC|NPC]] || 0x20 ||  
 
|-
 
|-
| [[OSSL_Constants/CHANGED_ANIMATION|CHANGED_ANIMATION]] || 16384 || OS Only Change Event Useage  
+
| [[OSSL Constants/CHANGED ANIMATION|CHANGED_ANIMATION]] || 16384 || OS Only Change Event Useage  
 
|-         
 
|-         
| [[OSSL_Constants/STATS_TIME_DILATION|STATS_TIME_DILATION]] || 0 || osGetRegionStats  
+
| [[OSSL Constants/STATS TIME DILATION|STATS_TIME_DILATION]] || 0 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_SIM_FPS|STATS_SIM_FPS]] || 1 || osGetRegionStats  
+
| [[OSSL Constants/STATS SIM FPS|STATS_SIM_FPS]] || 1 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_PHYSICS_FPS|STATS_PHYSICS_FPS]] || 2 || osGetRegionStats  
+
| [[OSSL Constants/STATS PHYSICS FPS|STATS_PHYSICS_FPS]] || 2 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_AGENT_UPDATES|STATS_AGENT_UPDATES]] || 3 || osGetRegionStats  
+
| [[OSSL Constants/STATS AGENT UPDATES|STATS_AGENT_UPDATES]] || 3 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_ROOT_AGENTS|STATS_ROOT_AGENTS]] || 4 || osGetRegionStats  
+
| [[OSSL Constants/STATS ROOT AGENTS|STATS_ROOT_AGENTS]] || 4 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_CHILD_AGENTS|STATS_CHILD_AGENTS]] || 5 || osGetRegionStats  
+
| [[OSSL Constants/STATS CHILD AGENTS|STATS_CHILD_AGENTS]] || 5 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_TOTAL_PRIMS|STATS_TOTAL_PRIMS]] || 6 || osGetRegionStats  
+
| [[OSSL Constants/STATS TOTAL PRIMS|STATS_TOTAL_PRIMS]] || 6 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_ACTIVE_PRIMS|STATS_ACTIVE_PRIMS]] || 7 || osGetRegionStats  
+
| [[OSSL Constants/STATS ACTIVE PRIMS|STATS_ACTIVE_PRIMS]] || 7 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_FRAME_MS|STATS_FRAME_MS]] || 8 || osGetRegionStats  
+
| [[OSSL Constants/STATS FRAME MS|STATS_FRAME_MS]] || 8 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_NET_MS|STATS_NET_MS]] || 9 || osGetRegionStats  
+
| [[OSSL Constants/STATS NET MS|STATS_NET_MS]] || 9 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_PHYSICS_MS|STATS_PHYSICS_MS]] || 10 || osGetRegionStats  
+
| [[OSSL Constants/STATS PHYSICS MS|STATS_PHYSICS_MS]] || 10 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_IMAGE_MS|STATS_IMAGE_MS]] || 11 || osGetRegionStats  
+
| [[OSSL Constants/STATS IMAGE MS|STATS_IMAGE_MS]] || 11 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_OTHER_MS|STATS_OTHER_MS]] || 12 || osGetRegionStats  
+
| [[OSSL Constants/STATS OTHER MS|STATS_OTHER_MS]] || 12 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_IN_PACKETS_PER_SECOND|STATS_IN_PACKETS_PER_SECOND]] || 13 || osGetRegionStats  
+
| [[OSSL Constants/STATS IN PACKETS PER SECOND|STATS_IN_PACKETS_PER_SECOND]] || 13 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_OUT_PACKETS_PER_SECOND|STATS_OUT_PACKETS_PER_SECOND]] || 14 || osGetRegionStats  
+
| [[OSSL Constants/STATS OUT PACKETS PER SECOND|STATS_OUT_PACKETS_PER_SECOND]] || 14 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_UNACKED_BYTES|STATS_UNACKED_BYTES]] || 15 || osGetRegionStats  
+
| [[OSSL Constants/STATS UNACKED BYTES|STATS_UNACKED_BYTES]] || 15 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_AGENT_MS|STATS_AGENT_MS]] || 16 || osGetRegionStats  
+
| [[OSSL Constants/STATS AGENT MS|STATS_AGENT_MS]] || 16 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_PENDING_DOWNLOADS|STATS_PENDING_DOWNLOADS]] || 17 || osGetRegionStats  
+
| [[OSSL Constants/STATS PENDING DOWNLOADS|STATS_PENDING_DOWNLOADS]] || 17 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_PENDING_UPLOADS|STATS_PENDING_UPLOADS]] || 18 || osGetRegionStats  
+
| [[OSSL Constants/STATS PENDING UPLOADS|STATS_PENDING_UPLOADS]] || 18 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_ACTIVE_SCRIPTS|STATS_ACTIVE_SCRIPTS]] || 19 || osGetRegionStats  
+
| [[OSSL Constants/STATS ACTIVE SCRIPTS|STATS_ACTIVE_SCRIPTS]] || 19 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/STATS_SCRIPT_LPS|STATS_SCRIPT_LPS]] || 20 || osGetRegionStats  
+
| [[OSSL Constants/STATS SCRIPT LPS|STATS_SCRIPT_LPS]] || 20 || osGetRegionStats  
 
|-
 
|-
| [[OSSL_Constants/OS_NPC_FLY|OS_NPC_FLY]] || 0 || osNPC  
+
| [[OSSL Constants/OS NPC FLY|OS_NPC_FLY]] || 0 || osNPC  
 
|-
 
|-
| [[OSSL_Constants/OS_NPC_NO_FLY|OS_NPC_NO_FLY]] || 1 || osNPC  
+
| [[OSSL Constants/OS NPC NO FLY|OS_NPC_NO_FLY]] || 1 || osNPC  
 
|-
 
|-
| [[OSSL_Constants/OS_NPC_LAND_AT_TARGET|OS_NPC_LAND_AT_TARGET]] || 2 || osNPC  
+
| [[OSSL Constants/OS NPC LAND AT TARGET|OS_NPC_LAND_AT_TARGET]] || 2 || osNPC  
 
|-
 
|-
| [[OSSL_Constants/OS_NPC_SIT_NOW|OS_NPC_SIT_NOW]] || 0 || osNPC  
+
| [[OSSL Constants/OS NPC SIT NOW|OS_NPC_SIT_NOW]] || 0 || osNPC  
 
|-
 
|-
| [[OSSL_Constants/OS_NPC_CREATOR_OWNED|OS_NPC_CREATOR_OWNED]] || 0x1 || osNPC  
+
| [[OSSL Constants/OS NPC CREATOR OWNED|OS_NPC_CREATOR_OWNED]] || 0x1 || osNPC  
 
|-
 
|-
| [[OSSL_Constants/OS_NPC_NOT_OWNED|OS_NPC_NOT_OWNED]] || 0x2 || osNPC  
+
| [[OSSL Constants/OS NPC NOT OWNED|OS_NPC_NOT_OWNED]] || 0x2 || osNPC  
 
|-
 
|-
| [[OSSL_Constants/OS_NPC_SENSE_AS_AGENT|OS_NPC_SENSE_AS_AGENT]] || 0x4 || osNPC  
+
| [[OSSL Constants/OS NPC SENSE AS AGENT|OS_NPC_SENSE_AS_AGENT]] || 0x4 || osNPC  
 
|-
 
|-
| [[OSSL_Constants/PARCEL_DETAILS_CLAIMDATE|PARCEL_DETAILS_CLAIMDATE]] || 10|| osSetParcelDetails
+
| [[OSSL Constants/PARCEL DETAILS CLAIMDATE|PARCEL_DETAILS_CLAIMDATE]] || 10|| osSetParcelDetails
 
|-
 
|-
| [[OSSL_Constants/WL_WATER_COLOR|WL_WATER_COLOR]] || 0||  
+
| [[OSSL Constants/WL WATER COLOR|WL_WATER_COLOR]] || 0||  
 
|-
 
|-
| [[OSSL_Constants/WL_WATER_FOG_DENSITY_EXPONENT|WL_WATER_FOG_DENSITY_EXPONENT]] || 1||  
+
| [[OSSL Constants/WL WATER FOG DENSITY EXPONENT|WL_WATER_FOG_DENSITY_EXPONENT]] || 1||  
 
|-
 
|-
| [[OSSL_Constants/WL_UNDERWATER_FOG_MODIFIER|WL_UNDERWATER_FOG_MODIFIER]] || 2||  
+
| [[OSSL Constants/WL UNDERWATER FOG MODIFIER|WL_UNDERWATER_FOG_MODIFIER]] || 2||  
 
|-
 
|-
| [[OSSL_Constants/WL_REFLECTION_WAVELET_SCALE|WL_REFLECTION_WAVELET_SCALE]] || 3||  
+
| [[OSSL Constants/WL REFLECTION WAVELET SCALE|WL_REFLECTION_WAVELET_SCALE]] || 3||  
 
|-
 
|-
| [[OSSL_Constants/WL_FRESNEL_SCALE|WL_FRESNEL_SCALE]] || 4||  
+
| [[OSSL Constants/WL FRESNEL SCALE|WL_FRESNEL_SCALE]] || 4||  
 
|-
 
|-
| [[OSSL_Constants/WL_FRESNEL_OFFSET|WL_FRESNEL_OFFSET]] || 5||  
+
| [[OSSL Constants/WL FRESNEL OFFSET|WL_FRESNEL_OFFSET]] || 5||  
 
|-
 
|-
| [[OSSL_Constants/WL_REFRACT_SCALE_ABOVE|WL_REFRACT_SCALE_ABOVE]] || 6||  
+
| [[OSSL Constants/WL REFRACT SCALE ABOVE|WL_REFRACT_SCALE_ABOVE]] || 6||  
 
|-
 
|-
| [[OSSL_Constants/WL_REFRACT_SCALE_BELOW|WL_REFRACT_SCALE_BELOW]] || 7||  
+
| [[OSSL Constants/WL REFRACT SCALE BELOW|WL_REFRACT_SCALE_BELOW]] || 7||  
 
|-
 
|-
| [[OSSL_Constants/WL_BLUR_MULTIPLIER|WL_BLUR_MULTIPLIER]] || 8||  
+
| [[OSSL Constants/WL BLUR MULTIPLIER|WL_BLUR_MULTIPLIER]] || 8||  
 
|-
 
|-
| [[OSSL_Constants/WL_BIG_WAVE_DIRECTION|WL_BIG_WAVE_DIRECTION]] || 9||  
+
| [[OSSL Constants/WL BIG WAVE DIRECTION|WL_BIG_WAVE_DIRECTION]] || 9||  
 
|-
 
|-
| [[OSSL_Constants/WL_LITTLE_WAVE_DIRECTION|WL_LITTLE_WAVE_DIRECTION]] || 10||  
+
| [[OSSL Constants/WL LITTLE WAVE DIRECTION|WL_LITTLE_WAVE_DIRECTION]] || 10||  
 
|-
 
|-
| [[OSSL_Constants/WL_NORMAL_MAP_TEXTURE|WL_NORMAL_MAP_TEXTURE]] || 11||  
+
| [[OSSL Constants/WL NORMAL MAP TEXTURE|WL_NORMAL_MAP_TEXTURE]] || 11||  
 
|-
 
|-
| [[OSSL_Constants/WL_HORIZON|WL_HORIZON]] || 12||  
+
| [[OSSL Constants/WL HORIZON|WL_HORIZON]] || 12||  
 
|-
 
|-
| [[OSSL_Constants/WL_HAZE_HORIZON|WL_HAZE_HORIZON]] || 13||  
+
| [[OSSL Constants/WL HAZE HORIZON|WL_HAZE_HORIZON]] || 13||  
 
|-
 
|-
| [[OSSL_Constants/WL_BLUE_DENSITY|WL_BLUE_DENSITY]] || 14||  
+
| [[OSSL Constants/WL BLUE DENSITY|WL_BLUE_DENSITY]] || 14||  
 
|-
 
|-
| [[OSSL_Constants/WL_HAZE_DENSITY|WL_HAZE_DENSITY]] || 15||  
+
| [[OSSL Constants/WL HAZE DENSITY|WL_HAZE_DENSITY]] || 15||  
 
|-
 
|-
| [[OSSL_Constants/WL_DENSITY_MULTIPLIER|WL_DENSITY_MULTIPLIER]] || 16||  
+
| [[OSSL Constants/WL DENSITY MULTIPLIER|WL_DENSITY_MULTIPLIER]] || 16||  
 
|-
 
|-
| [[OSSL_Constants/WL_DISTANCE_MULTIPLIER|WL_DISTANCE_MULTIPLIER]] || 17||  
+
| [[OSSL Constants/WL DISTANCE MULTIPLIER|WL_DISTANCE_MULTIPLIER]] || 17||  
 
|-
 
|-
| [[OSSL_Constants/WL_MAX_ALTITUDE|WL_MAX_ALTITUDE]] || 18||  
+
| [[OSSL Constants/WL MAX ALTITUDE|WL_MAX_ALTITUDE]] || 18||  
 
|-
 
|-
| [[OSSL_Constants/WL_SUN_MOON_COLOR|WL_SUN_MOON_COLOR]] || 19||  
+
| [[OSSL Constants/WL SUN MOON COLOR|WL_SUN_MOON_COLOR]] || 19||  
 
|-
 
|-
| [[OSSL_Constants/WL_AMBIENT|WL_AMBIENT]] || 20||  
+
| [[OSSL Constants/WL AMBIENT|WL_AMBIENT]] || 20||  
 
|-
 
|-
| [[OSSL_Constants/WL_EAST_ANGLE|WL_EAST_ANGLE]] || 21||  
+
| [[OSSL Constants/WL EAST ANGLE|WL_EAST_ANGLE]] || 21||  
 
|-
 
|-
| [[OSSL_Constants/WL_SUN_GLOW_FOCUS|WL_SUN_GLOW_FOCUS]] || 22||  
+
| [[OSSL Constants/WL SUN GLOW FOCUS|WL_SUN_GLOW_FOCUS]] || 22||  
 
|-
 
|-
| [[OSSL_Constants/WL_SUN_GLOW_SIZE|WL_SUN_GLOW_SIZE]] || 23||  
+
| [[OSSL Constants/WL SUN GLOW SIZE|WL_SUN_GLOW_SIZE]] || 23||  
 
|-
 
|-
| [[OSSL_Constants/WL_SCENE_GAMMA|WL_SCENE_GAMMA]] || 24||  
+
| [[OSSL Constants/WL SCENE GAMMA|WL_SCENE_GAMMA]] || 24||  
 
|-
 
|-
| [[OSSL_Constants/WL_STAR_BRIGHTNESS|WL_STAR_BRIGHTNESS]] || 25||  
+
| [[OSSL Constants/WL STAR BRIGHTNESS|WL_STAR_BRIGHTNESS]] || 25||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_COLOR|WL_CLOUD_COLOR]] || 26||  
+
| [[OSSL Constants/WL CLOUD COLOR|WL_CLOUD_COLOR]] || 26||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_XY_DENSITY|WL_CLOUD_XY_DENSITY]] || 27||  
+
| [[OSSL Constants/WL CLOUD XY DENSITY|WL_CLOUD_XY_DENSITY]] || 27||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_COVERAGE|WL_CLOUD_COVERAGE]] || 28||  
+
| [[OSSL Constants/WL CLOUD COVERAGE|WL_CLOUD_COVERAGE]] || 28||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_SCALE|WL_CLOUD_SCALE]] || 29||  
+
| [[OSSL Constants/WL CLOUD SCALE|WL_CLOUD_SCALE]] || 29||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_DETAIL_XY_DENSITY|WL_CLOUD_DETAIL_XY_DENSITY]] || 30||  
+
| [[OSSL Constants/WL CLOUD DETAIL XY DENSITY|WL_CLOUD_DETAIL_XY_DENSITY]] || 30||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_SCROLL_X|WL_CLOUD_SCROLL_X]] || 31||  
+
| [[OSSL Constants/WL CLOUD SCROLL X|WL_CLOUD_SCROLL_X]] || 31||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_SCROLL_Y|WL_CLOUD_SCROLL_Y]] || 32||  
+
| [[OSSL Constants/WL CLOUD SCROLL Y|WL_CLOUD_SCROLL_Y]] || 32||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_SCROLL_Y_LOCK|WL_CLOUD_SCROLL_Y_LOCK]] || 33||  
+
| [[OSSL Constants/WL CLOUD SCROLL Y LOCK|WL_CLOUD_SCROLL_Y_LOCK]] || 33||  
 
|-
 
|-
| [[OSSL_Constants/WL_CLOUD_SCROLL_X_LOCK|WL_CLOUD_SCROLL_X_LOCK]] || 34||  
+
| [[OSSL Constants/WL CLOUD SCROLL X LOCK|WL_CLOUD_SCROLL_X_LOCK]] || 34||  
 
|-
 
|-
| [[OSSL_Constants/WL_DRAW_CLASSIC_CLOUDS|WL_DRAW_CLASSIC_CLOUDS]] || 35||  
+
| [[OSSL Constants/WL DRAW CLASSIC CLOUDS|WL_DRAW_CLASSIC_CLOUDS]] || 35||  
 
|-
 
|-
| [[OSSL_Constants/WL_SUN_MOON_POSITION|WL_SUN_MOON_POSITION]] || 36||
+
| [[OSSL Constants/WL SUN MOON POSITION|WL_SUN_MOON_POSITION]] || 36||
 
|-
 
|-
 
|}
 
|}
  
 
+
[[Category:OSSL]]
[[Category:OSSL]][[Category:OSSL Constants]][[Category:Scripting]]
+
[[Category:OSSL Constants]]
 +
[[Category:Scripting]]

Revision as of 19:40, 3 March 2012

OSSL Constants

These are extracted from OpenSim DEV 0.7.4 OpenSim-0007711-r/18206 March 1, 2012

Sources:

  • LSL_Constants.cs (OpenSim source) for LSL and OSSL Constants
  • CM_Constants.cs (OpenSim source) for LightShare/Windlight Constants


Constant Name Value Notes
NPC 0x20
CHANGED_ANIMATION 16384 OS Only Change Event Useage
STATS_TIME_DILATION 0 osGetRegionStats
STATS_SIM_FPS 1 osGetRegionStats
STATS_PHYSICS_FPS 2 osGetRegionStats
STATS_AGENT_UPDATES 3 osGetRegionStats
STATS_ROOT_AGENTS 4 osGetRegionStats
STATS_CHILD_AGENTS 5 osGetRegionStats
STATS_TOTAL_PRIMS 6 osGetRegionStats
STATS_ACTIVE_PRIMS 7 osGetRegionStats
STATS_FRAME_MS 8 osGetRegionStats
STATS_NET_MS 9 osGetRegionStats
STATS_PHYSICS_MS 10 osGetRegionStats
STATS_IMAGE_MS 11 osGetRegionStats
STATS_OTHER_MS 12 osGetRegionStats
STATS_IN_PACKETS_PER_SECOND 13 osGetRegionStats
STATS_OUT_PACKETS_PER_SECOND 14 osGetRegionStats
STATS_UNACKED_BYTES 15 osGetRegionStats
STATS_AGENT_MS 16 osGetRegionStats
STATS_PENDING_DOWNLOADS 17 osGetRegionStats
STATS_PENDING_UPLOADS 18 osGetRegionStats
STATS_ACTIVE_SCRIPTS 19 osGetRegionStats
STATS_SCRIPT_LPS 20 osGetRegionStats
OS_NPC_FLY 0 osNPC
OS_NPC_NO_FLY 1 osNPC
OS_NPC_LAND_AT_TARGET 2 osNPC
OS_NPC_SIT_NOW 0 osNPC
OS_NPC_CREATOR_OWNED 0x1 osNPC
OS_NPC_NOT_OWNED 0x2 osNPC
OS_NPC_SENSE_AS_AGENT 0x4 osNPC
PARCEL_DETAILS_CLAIMDATE 10 osSetParcelDetails
WL_WATER_COLOR 0
WL_WATER_FOG_DENSITY_EXPONENT 1
WL_UNDERWATER_FOG_MODIFIER 2
WL_REFLECTION_WAVELET_SCALE 3
WL_FRESNEL_SCALE 4
WL_FRESNEL_OFFSET 5
WL_REFRACT_SCALE_ABOVE 6
WL_REFRACT_SCALE_BELOW 7
WL_BLUR_MULTIPLIER 8
WL_BIG_WAVE_DIRECTION 9
WL_LITTLE_WAVE_DIRECTION 10
WL_NORMAL_MAP_TEXTURE 11
WL_HORIZON 12
WL_HAZE_HORIZON 13
WL_BLUE_DENSITY 14
WL_HAZE_DENSITY 15
WL_DENSITY_MULTIPLIER 16
WL_DISTANCE_MULTIPLIER 17
WL_MAX_ALTITUDE 18
WL_SUN_MOON_COLOR 19
WL_AMBIENT 20
WL_EAST_ANGLE 21
WL_SUN_GLOW_FOCUS 22
WL_SUN_GLOW_SIZE 23
WL_SCENE_GAMMA 24
WL_STAR_BRIGHTNESS 25
WL_CLOUD_COLOR 26
WL_CLOUD_XY_DENSITY 27
WL_CLOUD_COVERAGE 28
WL_CLOUD_SCALE 29
WL_CLOUD_DETAIL_XY_DENSITY 30
WL_CLOUD_SCROLL_X 31
WL_CLOUD_SCROLL_Y 32
WL_CLOUD_SCROLL_Y_LOCK 33
WL_CLOUD_SCROLL_X_LOCK 34
WL_DRAW_CLASSIC_CLOUDS 35
WL_SUN_MOON_POSITION 36
Personal tools
General
About This Wiki