[Guide] Understanding Monster Spawns

PaskaL

New Member
Joined
Apr 14, 2008
Messages
29
Reaction score
42
Code:
//This File was taken from SkyTeam Forum
//All credits belong to them
//www.lorencia.com
//Do not remove this credits (If you do a virus will format your computer^^)
----------------------------------------------------------------------------
Monster Spawn File
ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ

0 (Guards/NPC/Traps)

 [MonsterIndex] [MapNumber] [SpawnRadius] [LocationX] [LocationY] [Direction]


1 (Bulk Spawn Assignments)

 [MonsterIndex] [MapNumber] [SpawnRadius] [RangeStartX] [RangeStartY] [RangeEndX] [RangeEndY] [Direction] [MaxSpawnCount]


2 (Normal Spawn Points)

 [MonsterIndex] [MapNumber] [SpawnRadius] [LocationX] [LocationY] [Direction] [MaxSpawnCount]


3 (Bone King / Event Monsters?) - same format as 1

 [MonsterIndex] [MapNumber] [SpawnRadius] [RangeStartX] [RangeStartY] [RangeEndX] [RangeEndY] [Direction] [MaxSpawnCount]


4 (BC Monsters/Gate/etc)

 [MonsterIndex] [MapNumber] [SpawnRadius] [LocationX] [LocationY] [UnknownBCParam]



SectionType    0-4	See text in brackets
MonsterIndex   0-255	Index of the monster in Monster.txt/UberMu-Mobs.txt
MapNumber      0~20	Number of the map to spawn on (see GM Commands file for list)
SpawnRadius    0~30	How far from the given coordinates that the monster can spawn (randomly)
LocationX      0-255	X Coordinate on the map to spawn from
LocationY      0-255	Y Coordinate on the map to spawn from
Direction      0-7|-1	Direction the monster will be facing when it spawns..
			0=North,1=NorthEast,2=East,3=SouthEast,4=South,5=SouthWest,6=West,7=NorthWest,-1=Random
MaxSpawnCount  0-255	Maximum amount of monsters that will spawn from that single spawn until one or more are killed
RangeStartX    0-255	Lower X corner of a bulk spawn range
RangeStartY    0-255	Lower Y corner of a bulk spawn range
RangeEndX      0-255	Upper X corner of a bulk spawn range
RangeEndY      0-255	Upper Y corner of a bulk spawn range
UnknownBCParam 0~7	Might be direction, might be MaxSpawn..?

Credits : on top of the file
 
  • Like
Reactions: pesosza