Tag: Difference between revisions
Jump to navigation
Jump to search
proto |
m proto 2 |
||
| Line 1: | Line 1: | ||
= Avatar Tags = | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
| Line 111: | Line 113: | ||
| 54 || chin || Chin | | 54 || chin || Chin | ||
|} | |} | ||
= Sign and Picture Tags = | |||
RenderWare(*.rwx) model faces(triangle or quads) can be assigned special tag values that allow them to receive text or images. These '''tags''' are separate from the avatar tag system. | |||
'''Tag 100''' identifies face(s) of a model as a '''Sign''' surface. A face with tag 100 can receive the <code>create sign</code> command and display text. | |||
'''Tag 200''' identifies face(s) of a model as a '''Picture''' surface. A face with tag 200 can receive the <code>create picture</code> command and display an image. | |||
=Example= | |||
create picture http://objects.virtualparadise.org/3dworlds/textures/dat2.jpg, sign "Miss Piggy!" | |||
Shows a picture on any <code>tag 200</code> faces, and a sign saying "Miss Piggy!" on any faces using <code>tag 100</code>. | |||
<pre> | |||
modelbegin | |||
clumpbegin | |||
Surface .6 .3 0 | |||
Color .7 .7 .7 | |||
vertex -.5 1 0 uv 0 0 | |||
vertex -.5 0 0 uv 0 1 | |||
vertex .5 0 0 uv 1 1 | |||
vertex .5 1 0 uv 1 0 | |||
texture tv.jpg | |||
texturemodes foreshorten | |||
quad 1 2 3 4 tag 100 | |||
quad 4 3 2 1 tag 200 | |||
clumpend | |||
modelend | |||
</pre> | |||
A sample RenderWare(*.rwx) model of a square panel using <code>tag 100</code> on one side and <code>tag 200</code> on the other side. | |||
Latest revision as of 09:38, 25 September 2026
Avatar Tags
| # | Tag name | Meaning |
|---|---|---|
| 1 | pelvis | Pelvis / root |
| 2 | back | Torso/back |
| 3 | neck | Neck |
| 4 | head | Head |
| 5 | rtsternum | Right sternum/chest |
| 6 | rtshoulder | Right shoulder |
| 7 | rtelbow | Right elbow |
| 8 | rtwrist | Right wrist |
| 9 | rtfingers | Right fingers/hand |
| 10 | lfsternum | Left sternum/chest |
| 11 | lfshoulder | Left shoulder |
| 12 | lfelbow | Left elbow |
| 13 | lfwrist | Left wrist |
| 14 | lffingers | Left fingers/hand |
| 15 | rthip | Right hip |
| 16 | rtknee | Right knee |
| 17 | rtankle | Right ankle/foot |
| 18 | rttoes | Right toes |
| 19 | lfhip | Left hip |
| 20 | lfknee | Left knee |
| 21 | lfankle | Left ankle/foot |
| 22 | lftoes | Left toes |
| 23 | neck2 | Secondary neck |
| 24 | tail | Tail |
| 25 | tail2 | Tail segment 2 |
| 26 | tail3 | Tail segment 3 |
| 27 | tail4 | Tail segment 4 |
| 28 | obj | Generic object |
| 29 | obj2 | Generic object 2 |
| 30 | obj3 | Generic object 3 |
| 31 | hair | Hair |
| 32 | hair2 | Hair 2 |
| 33 | hair3 | Hair 3 |
| 34 | hair4 | Hair 4 |
| 35 | rtbreast | Right breast |
| 36 | lfbreast | Left breast |
| 37 | rteye | Right eye |
| 38 | lfeye | Left eye |
| 39 | lips | Lips |
| 40 | nose | Nose |
| 41 | rtear | Right ear |
| 42 | lfear | Left ear |
| 43 | rtbrow | Right eyebrow |
| 44 | lfbrow | Left eyebrow |
| 45 | rtlid | Right eyelid |
| 46 | lflid | Left eyelid |
| 47 | rtcheek | Right cheek |
| 48 | lfcheek | Left cheek |
| 49 | lip2 | Lip segment 2 |
| 50 | lip3 | Lip segment 3 |
| 51 | lip4 | Lip segment 4 |
| 52 | lip5 | Lip segment 5 |
| 53 | lip6 | Lip segment 6 |
| 54 | chin | Chin |
Sign and Picture Tags
RenderWare(*.rwx) model faces(triangle or quads) can be assigned special tag values that allow them to receive text or images. These tags are separate from the avatar tag system.
Tag 100 identifies face(s) of a model as a Sign surface. A face with tag 100 can receive the create sign command and display text.
Tag 200 identifies face(s) of a model as a Picture surface. A face with tag 200 can receive the create picture command and display an image.
Example
create picture http://objects.virtualparadise.org/3dworlds/textures/dat2.jpg, sign "Miss Piggy!"
Shows a picture on any tag 200 faces, and a sign saying "Miss Piggy!" on any faces using tag 100.
modelbegin
clumpbegin
Surface .6 .3 0
Color .7 .7 .7
vertex -.5 1 0 uv 0 0
vertex -.5 0 0 uv 0 1
vertex .5 0 0 uv 1 1
vertex .5 1 0 uv 1 0
texture tv.jpg
texturemodes foreshorten
quad 1 2 3 4 tag 100
quad 4 3 2 1 tag 200
clumpend
modelend
A sample RenderWare(*.rwx) model of a square panel using tag 100 on one side and tag 200 on the other side.