Swords of Glass monster format

From ModdingWiki
Jump to: navigation, search
Swords of Glass monster format
Format typeConfiguration
StoringMonster stats
Games

The monsters in Swords of Glass are stored in the Monsters.dat file. Each record in the monster file is 46 bytes long, and there are 100 monsters in the file.

Items

Data type Description
UINT8 Monster id The id of the monster.
UINT8 Unknown Always 0x57.
UINT8 Unknown Always 0xB8.
UINT8 Unknown Always 0x01.
UINT8 Hit Points Amount of hits the monster can take before it dies.
UINT8 Picture The sprite this monster uses (not sure from which file).
UINT8 Defense Defensive power of this monster.
UINT8 Unknown
UINT8 Unknown
UINT8 Attack Attack power of this monster.
UINT8 Unknown
UINT8 Range Attack Attack power of this monster when it shoots (also flag for if it can shoot).
UINT8 Magic Attack Attack power of this monster when it casts spells (also flag for if it can cast spells).
UINT8 Unknown Always 0xC4.
UINT8 Unknown
UINT8 Unknown Always 0x4C.
INT16LE Experience Amount of experience you get from killing this monster.
UINT8 Poison Flag Whether this monster's attack can poison the player (0 - No, 1 - Yes).
UINT8 Blinds Flag Whether this monster's attack can blind the player (0 - No, 1 - Yes).
UINT8 Paralyses Flag Whether this monster's attack can paralyze the player (0 - No, 1 - Yes).
UINT8 Unknown Flag Unknown flag (0 - No, 1 - Yes).
UINT8 Engulfs Flag Whether this monster's attack can engulf the player's weapon (0 - No, 1 - Yes).
UINT8 Poisoned Flag Whether this monster can be poisoned (0 - No, 1 - Yes).
UINT8 Unknown Always 0x00.
UINT8 Name length The length of the monster's name.
char[19] Name The name of the monster.
UINT8 Unknown Always 0x50.
100 Monsters

Credits

This format was reverse engineered by TheAlmightyGuru. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)