Create some terrain

Whereas the "Terrains" section explains you how to give names to terrains (label, alias) and how to set the characteristics of each terrain, this section explains you how to concretely use these terrains to make checkpoints, paths, etc...
  • -createTerrain (crt) ‹terrainLabel›
    Creates some terrain (with the terrain type of the specified terrain) on the map, by making couples of right clicks. Each couple of clicks creates a rectangle of terrain, rectangle formed by these two clicks.
    Examples
    -createTerrain slide
    -crt s
  • -copyPasteTerrain (cpt)
    Copies and pastes a rectangle of terrain on the map, with four clicks. The two first clicks defines the zone to copy. The third click defines a corner of the paste zone, whereas the last click just defines the direction of the pasting, in other words which corner represents the third click. For example wether the last click is upper and righter than the third one, the third click will represent the bottom left corner of the paste zone. The distance between the third and the fourth clicks has no importance. The copy zone and the paste zone will of course have the same dimensions. For the moment the paste zone must not touch the copy zone, or the copy will probably fail.
    Examples
    -copyPasteTerrain
    -cpt
  • -verticalSymmetryTerrain (vst)
    Transforms a rectangle of terrain by a vertical symmetry, with two clicks. The rectangle of terrain is a zone defined with two clics. Only the terrain in that zone will be changed, by applying a vertical symmetry at its middle. Once the symmetry done, you can make new ones by clicking again, until you use stop command.
    Examples
    -verticalSymmetryTerrain
    -vst
  • -horizontalSymmetryTerrain (hst)
    Transforms a rectangle of terrain by a horizontal symmetry, with two clicks. The rectangle of terrain is a zone defined with two clics. Only the terrain in that zone will be changed, by applying a horizontal symmetry at its middle. Once the symmetry done, you can make new ones by clicking again, until you use stop command.
    Examples
    -horizontalSymmetryTerrain
    -hst
  • -terrainHeight (th) [‹terrainRadius› [‹height›]]
    Applies a terrain deformation at chosen places : up or down the terrain. Each click will create a terrain deformation, until you use the stop command. Each terrain deformation applied can be cancelled or redo.
    • You can give a radius to the terrain deformations : it must be higher than 0 and the default value is 100.
    • You can give a height to the terrain deformations : positive and negative values are allowed but not 0, and the default value is 100.
    The terrain deformations are usefull for two main reasons : they can decorate the map and they can make heroes jump on slide terrains, depending on the gravity used. Watch in the "Cheat" part to have information about setGravity and getGravity commands.
    Examples
    -terrainHeight
    -th 200
    -th 100 -100
  • -reinitTerrainsPosition (ritp)
    Resets the terrain on the map like it was at the beginning of the game (like if using lots of createTerrain commands). For that to work properly, the terrains need to be the same as the beginning (not necessary with the same terrain types).
    THIS COMMAND WORKS ONLY FOR ADMIN PLAYERS.
    Examples
    -reinitTerrainsPosition
    -ritp
  • -saveTerrain (st) [‹slotName›]
    Saves the whole terrain in the memory. Warning, for this command to work properly, each little square of terrain must belong to a terrain (with a label and characteristics). You can save the terrain with a name or without name, this allowing you to make as many saves as you want. Spaces are allowed in the name. This command must be used before each game save (classical save on Warcraft III).
    THIS COMMAND WORKS ONLY FOR ADMIN PLAYERS.
    Examples
    -saveTerrain
    -st level 3 finished
  • -loadTerrain (lt) [‹slotName›]
    Loads the terrain from a save made before with the saveTerrain command. The terrains must be the same as when the save was made (the terrain types can be different). If no name is specified, the save without name will be loaded. This command must be used after each game load to put back the terrain like it is supposed to be at this game moment.
    THIS COMMAND WORKS ONLY FOR ADMIN PLAYERS.
    Examples
    -loadTerrain
    -lt level 3 finished
  • -deleteTerrainSave (delts) [‹slotName›]
    Deletes a terrain save created with the saveTerrain command. This command is not very usefull because a terrain save takes little place in the memory.
    THIS COMMAND WORKS ONLY FOR ADMIN PLAYERS.
    Examples
    -deleteTerrainSave
    -delts level 3 finished