Npc sets

Advanced

Npc sets are found in the mapdata.



So what are the Npc sets for? well, they determine which sprite sheets the game will read for a certain map.





Some NPC's are affected by the 1st Npc set, others by the 2nd, and some, not at all.

(This can be changed through the npc.tbl)





Now, with the way the game is programed, NPC's will read off certain parts of a sprite sheet in order to display itself.





Probably better to show an example, i'll use the critter entity(#5) as the example.

The critter entity reads off of this part of the sprite sheet:

data

This is for the "NpcEggs1" Npc set.





If you were to use a different sprite sheet, the critter entity would still read off the same part of the page.

data

This is for the "NpcSym" Npc set.





If you're ever confused on which Npc set, a certain entity is meant for,

you can always check the original maps to see which ones they used for it.

Previous Lesson: Reference sheets

Next Lesson: npc.tbl

Table of Contents