From The Mana World
m (Move page script moved page Dev:Special NPCs to Development:Special NPCs: Rename Dev: to Development: so the miraheze import works)
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Server reserved npcs =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 8: Line 9:
|-
|-
| 45
| 45
| Displays either a warp tile (depending on the client settings). '''Does not display warp particles'''
| Displays a warp tile (depending on the client settings). '''Does not display warp particles'''
|-
| 139
| Used by Hercules for hidden warps
|-
| 722
| Displays a debug warp tile (used by battleconfig.warp_point_debug). '''Does not display warp particles'''
|-
|-
| 127
| 127
| Displays a transparent non-target-able npc
| Displays a transparent non target-able npc. Used by tmwa for area effects (magic) and specialeffect
|-
| 32767
| NPCs with this ID exist only server-side and are not sent to the client. Usually you should prefer this over 127. However if your npc need to display particle (specialeffect) you should use 127
|}
<br>
 
= Custom special npcs =
{| class="wikitable" border="1"
|-
! ID
! Description
|-
|-
| 400
| 400
| Displays a npc with no sprite
| Displays a transparent target-able npc
|}
|}
<br> '''TODO:''' add a transparent target-able npc with pickup cursor
<br> '''TODO:''' add a transparent target-able npc with fight cursor
<br>
[[Category:Development]]

Latest revision as of 03:56, 27 March 2024

Server reserved npcs

ID Description
-1 Used only for map-less (floating) npcs
45 Displays a warp tile (depending on the client settings). Does not display warp particles
139 Used by Hercules for hidden warps
722 Displays a debug warp tile (used by battleconfig.warp_point_debug). Does not display warp particles
127 Displays a transparent non target-able npc. Used by tmwa for area effects (magic) and specialeffect
32767 NPCs with this ID exist only server-side and are not sent to the client. Usually you should prefer this over 127. However if your npc need to display particle (specialeffect) you should use 127


Custom special npcs

ID Description
400 Displays a transparent target-able npc


TODO: add a transparent target-able npc with pickup cursor
TODO: add a transparent target-able npc with fight cursor