Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Configs/NPC

From Lost City Wiki
Revision as of 12:54, 4 September 2025 by Branon (talk | contribs) (Created page with "{| class="wikitable" !Config !Description !Values !Default |- |model(n) |Set a model for index n |Model |Empty Array |- |head(n) |Set a chathead model for index n |Model |Empty Array |- |name |Sets the display name |String | |- |desc |Sets the examine text |String | |- |size |NPC size in tiles: n*n |1-255 |1 |- |readyanim |Idle animation |Sequence | -1 |- |walkanim |Walking animation |Sequence | -1 |- |walkanims |Walking anim, turn around animation, left turn anim, right...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Config Description Values Default
model(n) Set a model for index n Model Empty Array
head(n) Set a chathead model for index n Model Empty Array
name Sets the display name String
desc Sets the examine text String
size NPC size in tiles: n*n 1-255 1
readyanim Idle animation Sequence -1
walkanim Walking animation Sequence -1
walkanims Walking anim, turn around animation, left turn anim, right turn anim Sequences -1
hasalpha Prevent client from caching alpha frames Boolean no
op(n) Interaction option String, or "hidden" to hide from the client so the server can trigger it in a script Empty Array
recol(n)s Source color RS2 HSL Empty Array
recol(n)d Destination color RS2 HSL Empty Array
code90 unused, likely planned to be resizex 0 to 65535 -1
code91 unused, likely planned to be resizey 0 to 65535 -1
code92 unused, likely planned to be resizez 0 to 65535 -1
visonmap Override mapdot visibility on minimap Boolean yes
vislevel Visible combat level 1 to 65535, "hide" / 0 -1
resizeh Resize horizontally (x) 0 to 65535 128
resizev Resize vertically (y) 0 to 65535 128
wanderrange The random walk wandering range from their spawn coord 0 to 255 5
maxrange The wax range allowed to walk before retreating 0 to 255 5
huntrange 0 to 255 5
timer 0 to 65535 -1
respawnrate The respawn timer in server ticks 0 to 65535 100
stats Array [1, 1, 1, 1, 1, 1]
moverestrict The movement restriction normal, blocked, blocked_normal, indoors, outdoors, nomove, passthru normal
category String -1
param Parameter for scripts, must link to defined param key,value Empty Map
[example]
model1=model_1000
model2=model_1001
head1=model_1002
name=Example
desc=This is an example.
size=2
readyanim=seq_1
walkanim=seq_2
walkanim_b=seq_3
walkanim_r=seq_4
walkanim_l=seq_5
hasalpha=yes
op1=Talk-to
recol1s=0
recol1d=1
visonmap=hide
resizeh=140
resizev=140
category=category_1
param=test,1234