NPC file SUMMONNPC.WREGION - LiamKarlMitchell/InfiniteSky GitHub Wiki

this is the file for spawning npc's Below is the 010 template for editing this file

//--------------------------------------
//--- 010 Editor v3.1 Binary Template
//
// File:
// Author: Rob van den Bekerom
// Revision:
// Purpose: editing of npc spawn SUMMONNPC.WREGION
//--------------------------------------
//--------------------------------------
//--- 010 Editor v3.1 Binary Template
//
// File: *.WREGION
// Author:
// Revision:
// Purpose: To edit monster spawns on Chinese TwelveSky server.
//--------------------------------------

typedef struct {
  uint unknown; // Type 0 == Point 1 == Area probably.
  uint ID1; // ID of mob that spawns
  int ID2; //Degrees that the npc is turned, ranging from 1 to 360
// You can make a range with ID1 and ID2, then a random mob within that ID spawns
  int u1; // not used
  int x; // X coordinates of NPC 
  int z; // Z coordinates of NPC 
  int y; // Y coordinates of NPC 
  int spread; // standard on 10

} record;

LittleEndian();
uint count;
record records[count] <optimize=false>;