2) Choose and set up monsters

  • Before being able to place monsters on the map, you have to create monster types. Monster types work like terrains, you choose them a name and you set up different properties.
  • Here is the command to create a new monster type : "-newMonster ‹label› ‹unitTypeId› [‹immolationRadius›]" (-newm).
  • The unitTypeId match to a unit model, its appearance. To know the different existing models, you have to go in object editor in JNGP or World Editor, then "units" tab. You have at your disposal every unit of the game. To see the unitTypeId of every unit you have to do ctrl+D. It displays then, followed by the name of the unit between brackets. For example for the peasant you can see "hpea". During the game you have to type it between simple quotes ' '.
  • Immolation radius is a number to choose between 0 and 400, divisible by 5. For example 5, 30, 125, 350, 400. This number sets the radius around the monster where this one will kill heroes (collision if you prefer). It has to be set according to the monster size. If you specify no immolation the chosen value will be 0 (no immolation).
  • For example, to create a sorceress with immolation radius 70, you can type command : "-newm sorceress 'hsor' 70".
  • You can then modify the unitTypeId or the immolation radius of the sorceress : "-setMonsterUnit sorceress ‹newUnitTypeId›" (-setmu), "-setMonsterImmolation sorceress ‹newMonsterImmolation›" (-setmi).
  • You can set the size of the sorceress too : "-setMonsterScale sorceress ‹newScale›" (-setms) knowing that the default scale is the one of the chosen unit type (it's specified with the keyword default or d). You can use real numbers to specify a different scale, for example 1.5.
  • You can modify the movement speed of the sorceress too : "-setMonsterMoveSpeed sorceress ‹newSpeed›" (-setmms) knowing that the default speed is 400 and the maximaxum speed 522.
  • You can set the sorceress clickable too, making her be killable by meteors : "-setMonsterClickable sorceress on" (-setmc, off to cancel).
  • In the case the sorceress is clickable, you can set the number of meteors needed to kill her : "-setMonsterMeteorsToKill sorceress ‹nbMeteorsToKill›" (-setmmtk) knowing that the default number is 1.
  • You can change the height of the sorceress with the command "-setMonsterHeight sorceress ‹newHeight›" (-setmh) knowing that the default height is the one of the chosen unit type (it's specified with the keyword default or d). It is impossible to specify a negative height.
  • Like for terrains you can erase monster types : "-removeMonster ‹monsterLabel›" (-remm, command only for the administrator). All monsters of the map of the erased type are removed too.
  • You can give an alias (second name shorter) to a monster with command "-setMonsterAlias ‹monsterLabel› ‹alias›" (-setma). Monster labels and alias are both usable for every command.
  • Like for terrains you can display the different added monster types and their caracteristics : "-displayMonsters" (-dm).