Configs/LocType
From RuneWiki
RS2
Changes based on decompiling available clients. If a revision is off by a couple, it's because we were missing those clients or they were not auto-decompilable (yet) to narrow the revision down further. I'll refine this again later.
Names are an attempt to be authentic and correct, if you have any more information definitely reach out.
TODO: opcodes up to rev 742
TODO: add history when opcodes change - for example moving to gSmart2or4, or the models array stored as [shape][index] = model. At one point models were loaded differently based on the world type...
TODO: add opcode data structure underneath
Property | Opcode | History | Notes |
---|---|---|---|
model | 1 | Added 186 (2003-12-02) | |
name | 2 | Added 186 (2003-12-02) | |
desc | 3 | Added 186 (2003-12-02)
Removed 410 (2006-05-25) |
Examine text. Later transmitted from the server. |
model | 5 | Added 249 (2004-08-09) | This opcode is used to save bytes in the list of models. |
width | 14 | Added 186 (2003-12-02) | |
length | 15 | Added 186 (2003-12-02) | |
blockwalk=no | 17 | Added 186 (2003-12-02) | |
blockrange=no | 18 | Added 186 (2003-12-02) | |
active | 19 | Added 186 (2003-12-02) | |
hillskew=yes | 21 | Added 186 (2003-12-02) | |
sharelight=yes | 22 | Added 186 (2003-12-02) | |
occlude=yes | 23 | Added 186 (2003-12-02) | |
anim | 24 | Added 186 (2003-12-02) | |
- | 25 | Added 186 (2003-12-02)
Removed 249 (2004-08-09) |
This opcode was used internally for disposing of alpha data between animation frames.
It was not manually defined and comes from a linked anim. |
blockwalk=yes | 27 | Added 454 (2007-03-26) | |
wallwidth | 28 | Added 186 (2003-12-02) | |
ambient | 29 | Added 186 (2003-12-02) | |
contrast | 39 | Added 186 (2003-12-02) | |
op | 30-35 | Added 186 (2003-12-02) | Originally this reserved opcodes >= 30 & < 39 (likely copy-pasted). |
recol | 40 | Added 186 (2003-12-02) | |
retex | 41 | Added 465 (2007-07-19) | |
42 | Added 494 (2008-04-15) | ||
mapfunction | 60 | Added 186 (2003-12-02) | |
mirror=yes | 62 | Added 186 (2003-12-02) | |
shadow=no | 64 | Added 186 (2003-12-02) | |
resizex | 65 | Added 186 (2003-12-02) | |
resizey | 66 | Added 186 (2003-12-02) | |
resizez | 67 | Added 186 (2003-12-02) | |
mapscene | 68 | Added 186 (2003-12-02)
Removed 530 (2009-01-28) |
|
forceapproach | 69 | Added 186 (2003-12-02) | This is a bitmask, one bit will be set - the direction. |
offsetx | 70 | Added 194 (2004-01-07) | |
offsety | 71 | Added 194 (2004-01-07) | |
offsetz | 72 | Added 194 (2004-01-07) | |
forcedecor=yes | 73 | Added 194 (2004-01-07) | |
breakroutefinding=yes | 74 | Added 245 (2004-07-13) | |
raiseobject | 75 | Added 249 (2004-08-09) | |
multiloc | 77 | Added 289 (2005-01-17) | |
78 | Added 417 (2006-06-27) | Area sound related, potentially bgsound? | |
79 | Added 417 (2006-06-27) | Area sound related, multiple bgsounds. | |
sethillskew | 81 | Added 465 (2007-07-19) | |
82 | Added 487 (2008-02-12) | Related to whether it should render? | |
castshadow=no | 88 | Added 487 (2008-02-12) | |
89 | Added 487 (2008-02-12) | Disable randomizing the initial seq frame. | |
90 | Added 487 (2008-02-12) | ||
members=yes | 91 | Added 494 (2008-04-15) | |
multiloc | 92 | Added 498 (2008-05-09) | multiloc with a default value. |
sethillskew | 93 | Added 498 (2008-05-09) | Same as previous sethillskew but reads 2-bytes. |
94 | Added 498 (2008-05-09) | Another hillskew mode. | |
95 | Added 498 (2008-05-09) | Another hillskew mode. | |
96 | Added 501 (2008-07-01) | Related to having an animation? | |
97 | Added 506 (2008-07-28) | Map scene icon rotates with the loc. | |
98 | Added 530 (2009-01-28) | ||
cursor1 | 99 | Added 530 (2009-01-28) | |
cursor2 | 100 | Added 530 (2009-01-28) | |
101 | Added 530 (2009-01-28) | Map scene icon angle offset. | |
mapscene | 102 | Added 530 (2009-01-28) | Replaces the earlier mapscene. |
occlude=no | 103 | Added 535 (2009-03-16) | |
104 | Added 535 (2009-03-16) | Related to sound volume. | |
105 | Added 535 (2009-03-16) | Map scene icon flipped vertically. | |
106 | Added 542 (2009-04-02) | Animation weights? | |
107 | Added 548 (2009-05-27) | Map element. Maybe this is simply mel=? | |
150-155 | Added 548 (2009-05-27) | Members-only ops. | |
160 | Added 555 (2009-09-02) | ||
sethillskew | 162 | Added 581 (2010-01-29) | Same as previous sethillskew but reads 4-bytes. |
163 | Added 581 (2010-01-29) | ||
164 | Added 593 (2010-03-02) | ||
165 | Added 593 (2010-03-02) | ||
166 | Added 593 (2010-03-02) | ||
167 | Added 595 (2010-03-12) | ||
168 | Added 611 (2010-06-08) | ||
169 | Added 611 (2010-06-08) | ||
170 | Added 618 (2010-09-14) | ||
171 | Added 618 (2010-09-14) | ||
173 | Added 623 (2010-10-11) | ||
177 | Added 637 (2011-02-07) | ||
178 | Added 637 (2011-02-07) | ||
189 | 667+ (todo) | ||
param | 249 | Added 500 (2008-06-05) | Map of params key -> value. |
hillskew Types
0 - none, 1 - floor_skew, 2 - tree_skew, 3 - rotate, 4 - ceiling_skew, 5 - skew_to_fit