Npc.ini

This file defines the 3D model, animations, and rendering properties for each NPC type. The server references NPCs by their type ID in MsgNpcInfo the client uses this file to know how to render them.

Table of Contents

Patch 5517

✅ Verified (Client)

Each section header follows the format:

[NpcTypeX]

Where X is the NPC type ID. The client parses it by stripping the NpcType prefix and reading the int.

Below is an example entry using the definition above:

[NpcType1]
Name=Storekeeper
SimpleObjID=0211
StandByMotion=9990010100
BlazeMotion=9990010190
RestMotion=9990010101
Effect=none
ASB=5
ADB=6
FixDir=0
FieldTypeDescription
NamestringDisplay name shown above the NPC in-game. Can be overridden by MsgNpcInfo
SimpleObjIDuintID of the object in C3 Simple Objects
StandByMotionint64Motion ID in C3 for Standing-Still NPC (Not Interacted With)
BlazeMotionint64Motion ID in C3 when Hovering-Over or Interacting with NPC
RestMotionint64Motion ID in C3 that plays periodically when on-screen & not interacting
EffectstringName of a 3DEffect in C3 to add to the NPC. Default is none.
ASBintAlpha Source Blend. See: 3DEffect.ini
ADBintAlpha Destination Blend 3DEffect.ini
FixDiruintFixed facing direction. 0 = NPC rotates to where player is on interaction. 1 = NPC stays fixed direction
ZoomPercentint(Optional) Model scale as a percentage. Defaults to 100