Difference between revisions of "PCode"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
Used in [[ObjectUpdate]] and [[ObjectUpdateCompressed]] messages, a "PCode" byte appears to be used to differentiate types of objects:  prims, avatars, and foliage.
Used in [[ObjectUpdate]] and [[ObjectUpdateCompressed]] messages, a "PCode" byte appears to be used to differentiate types of objects:  prims, avatars, and foliage.


* Prim = 9
{| class="sortable" {{Prettytable}}
* Avatar = 47
|- {{Hl2}}
* Grass = 95
! Type
* NewTree = 111
! Hex
* ParticleSystem = 143
|-
* Tree = 255
| Prim
| {{LSL Hex||9}}
|-
| Avatar
| {{LSL Hex||47}}
|-
| Grass  
| {{LSL Hex||95}}
|-
| NewTree  
| {{LSL Hex||111}}
|-
| ParticleSystem  
| {{LSL Hex||143}}
|-
| Tree  
| {{LSL Hex||255}}
|}

Revision as of 09:31, 29 April 2008

Used in ObjectUpdate and ObjectUpdateCompressed messages, a "PCode" byte appears to be used to differentiate types of objects: prims, avatars, and foliage.

Type Hex
Prim 0x9
Avatar 0x2F
Grass 0x5F
NewTree 0x6F
ParticleSystem 0x8F
Tree 0xFF