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) | hillskew mode 1 |
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) | |
recoldpalette | 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) | |
bgsound | 78 | Added 417 (2006-06-27) | |
randomsound | 79 | Added 417 (2006-06-27) | |
treeskew* | 81 | Added 465 (2007-07-19) | hillskew mode 2 |
82 | Added 487 (2008-02-12) | Related to whether it should render? | |
hardshadow=no* | 88 | Added 487 (2008-02-12) | If this isn't hardshadow, it's something like sceneshadow? |
randseq=no* | 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. |
rotateskew* | 93 | Added 498 (2008-05-09) | hillskew mode 3 - Same as previous but reads 2-bytes. |
ceilingskew=yes* | 94 | Added 498 (2008-05-09) | hillskew mode 4 |
skewtofit=yes* | 95 | Added 498 (2008-05-09) | hillskew mode 5 |
96 | Added 501 (2008-07-01) | Related to having an animation? | |
mapscenerotates=yes | 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) | |
mapsceneangle* | 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) | |
bgsoundvol | 104 | Added 535 (2009-03-16) | |
mapsceneflipy* | 105 | Added 535 (2009-03-16) | Map scene icon flipped vertically. |
anims | 106 | Added 542 (2009-04-02) | Animation weights? |
mel | 107 | Added 548 (2009-05-27) | Map element. |
memberop* | 150-155 | Added 548 (2009-05-27) | Members-only ops. |
quests* | 160 | Added 555 (2009-09-02) | |
rotateskew* | 162 | Added 581 (2010-01-29) | Same as previous but reads 4-bytes. |
tint | 163 | Added 581 (2010-01-29) | Hue, saturation, luminance, weight values |
postoffsetx | 164 | Added 593 (2010-03-02) | |
postoffsety | 165 | Added 593 (2010-03-02) | |
postoffsetz | 166 | Added 593 (2010-03-02) | |
decorheight* | 167 | Added 595 (2010-03-12) | |
168 | Added 611 (2010-06-08) | ||
169 | Added 611 (2010-06-08) | ||
occludewidth | 170 | Added 618 (2010-09-14) | |
occludeheight | 171 | Added 618 (2010-09-14) | |
bgsoundrate | 173 | Added 623 (2010-10-11) | |
177 | Added 637 (2011-02-07) | ||
bgsounddistance | 178 | Added 637 (2011-02-07) | |
189 | 667+ (todo) | ||
param | 249 | Added 500 (2008-06-05) | Map of params key -> value. |
hillskew Internal Types
0 - none, 1 - floor_skew, 2 - tree_skew, 3 - rotate, 4 - ceiling_skew, 5 - skew_to_fit
OSRS
OSRS is pretty similar, it forked from 468 but they can also backport stuff - here's the known additions
Property | Opcode | History | Notes |
---|---|---|---|
category | 61 | Added 197 (2021-06-16) | Originally only server-sided. |
External Credits
* Walied for reviewing the list afterwards and advising on some properties