FANDOM


Monsters.dat
Info
Description Contains all data for monsters
Location assets\data\Monsters.dat

"Monsters.dat" is a data file. It defines all information regarding monsters such as damage, health and sound effects.

FormatEdit

{
	monsters:{
		"THEME" : [
			{
				class:com.interrupt.dungeoneer.entities.Monster,
				property1,
				property2,
				[...]
			}
		]
	}
}

PropertiesEdit

Name Value Description
atk integer How much melee damage the monster does
attackAnimation { start: integer, end: integer, speed: integer } Animation frames to play for this monster's attack
attackStartDistance float Distance at which the enemy tries to attack
baseLevel integer The lowest possible level of the enemy
bloodType Insect, Bone, Slime or blank The color of the blood particles when the enemy is hit or when it is bleeding. Default is blank
bloodPoolDecal {isActive:boolean} The decal to place when this monster is killed
bloodSplatterDecal {isActive:boolean} The decal to place when this monster is hurt
canOpenDoors boolean Whether this enemy can open doors. Default is true
chasetarget boolean True if the enemy chases after the player. False so it keeps a distance at all times
damageType The element of the attack
dieAnimation { start: integer, end: integer, speed: integer } Animation frames to play when the enemy dies
hasAttackAnim boolean Whether the enemy has more than 1 frame of animation for its attack
hurtAnimation { start: integer, end: integer, speed: integer } Animation frames to play when the enemy gets hit
hostile boolean Whether the enemy is hostile when spawning. Default is true
maxHp integer The max health of the monster
name string The name of the monster in uppercase
alertSound string sound file The sound or list of sounds the enemy makes when it notices the player
attackSound string sound file The sound or list of sounds the enemy makes when it attacks the player
attackSwingSound string sound file
dieSound string sound file The sound or list of sounds the enemy makes when it dies
fleeSound string sound file
hitSound string sound file
hurtSound string sound file The sound or list of sounds the enemy makes when it gets hit by the player
idleSound string sound file The sound or list of sounds the enemy makes when idling
walkSound string sound file
speed float How fast the enemy moves. An speed of 0.01 is very fast.
ranged boolean Sets whether the enemy is a ranged attacker. Default is false
reach float How far the enemy can hit with a melee attack. Default is 0.6
spells List of spells the enemy can cast
spriteAtlas string What file to use for sprite as defined in spritesheets.dat
tex integer items.png id The initial texture used by the monster
walkAnimation { start: integer, end: integer, speed: integer } Animation frames to play when the enemy moves. It's also its "idle" animation
wanders boolean
yOffset float Vertical positioning offset of the enemy's sprite

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.