MEC2 : Commands - admin
-
-setTerrainRotationSpeed (settrs) ‹slideTerrainLabel› ‹rotationSpeed›In MEC2 the map maker can change the rotation speed of heroes according to slide terrain types.
This command allows to do it.
The rotation speed has a value in rounds per second.
The default value, if the map maker didn't choose something different for a terrain, is the same as the one we all know since ages with the demon hunter, which is 0.9525. -
-createTerrain (crt) ‹terrainLabel› [‹brushSize› [‹shape›]]This command got upgraded with MEC2.
Additionaly to the possibility of creating a rectangle of terrain with two clicks, now there is a lot more convenient way, which I called a brush. It works like the program "paint", you can right click and hold your click to create terrain where your mouse goes.
Brush size is a number between 1 and 8.
Shape can be circle or square, it works like in worleditor. Default shape is square.
If you specify a gum terrain type (with other command), left click will create terrain of that other chosen type.
-
-setBrushSize (setbs) ‹brushSize›Allows changing the brush size while creating terrain with brush.
Value between 1 and 8. -
-setGumTerrain (setgt) ‹terrainLabel›For createTerrain command in brush mode, defines which terrain will be applied with left click.
Without the use of this command, left click would do nothing. -
-setGumBrushSize (setgbs) ‹brushSize›Defines the brush size of the left click of the command createTerrain in brush mode.
Default is 1. -
-createMonsterTeleport (crmt) ‹monsterLabel› ‹period› ‹angle›Create a monster or monsters that teleport to their locations instead of moving.
Like for multiple patrols monsters they can have several locations (more than 20 since MEC2).
You choose the monster type to use, the period between teleportations, and the facing angle of the unit (0 = right).
Use -next command to finish the teleport monster and make a new one. -
-createMonsterTeleportStrings (crmts) ‹monsterLabel› ‹period› ‹angle›This command is the same as createMonsterTeleport, except that when reaching its last location, the monster follows the path in reverse, instead of directly starting all over from first location.
-
-monsterTeleportWait (mtw)While creating a teleporting monster, adds a period of time during which the monster waits, like an immobile move.
-
-monsterTeleportHide (mth)While creating a teleporting monster, adds a period of time during which the monster disapear, giving the player the opportunity to pass.
-
-setUnitTeleportPeriod (setutp) ‹period›Change the teleport period of the teleporting monster you will right click after typing this command.
-
-setUnitTeleportPeriodBetweenPoints (setutpbp) ‹period›Same as before, but you select a zone instead of a single teleporting monster.
-
-getUnitTeleportPeriod (getutp)Displays the period of any teleporting unit you click
-
-createClearMob (crcm) ‹disableDuration›This command add properties to already existing monsters.
After executing this command, right click a monster, it will be called the "trigger mob".
Then do right clicks on any monster(s) you want, they will be the "target mobs".
You can then stop with -stop or by typing an other make command.
After that, when a hero will hit the trigger mob, instead of dying, it will trigger that the target mobs with disapear for a duration ofsecond(s). -
-deleteClearMob (delcm)After typing this command, right click on any clear mob trigger mob to disable clear mob properties.
-
-createCircleMob (crcim) [‹speed› [‹direction› [‹radius›]]]This command add properties to already existing monsters.
It will make monster moving as a circle.
After executing this command, right click a monster, it will be the center monster, which will disapear once the circle done. But it will continue its original movement.
If you didn't specify the radius, the second click will determine it, according to the distance to the center monster.
Next right clicks on monsters will make them be part of the circle. -
-deleteCircleMob (delcim)After typing this command, right click on any circle center monster to disable the circle properties.
-
-setCircleMobSpeed (setcims) ‹speed›After typing this command, right click on a circle center monster to redefine the circle rotation speed.
-
-setCircleMobDirection (setcimd) cw | ccwAfter typing this command, right click on a circle center monster to redefine the circle rotation direction.
-
-setCircleMobRadius (setcimr) ‹radius›After typing this command, right click on a circle center monster to redefine the circle radius.
-
-createPortalMob (crpm) ‹freezeDuration› [‹portalEffect› [‹portalEffectDuration›]]This command add properties to already existing monsters.
After typing this command, right click on two monsters to create a teleporting portal between them.
Specify the freeze duration of the hero just after being teleported.
You can specify an effect model file that will apply on each teleportation.
You can specify the duration of the effect, which is 1s by default.
-
-deletePortalMob (delpm)After typing this command, right click on a portal mob to remove the teleporting connection with the other corresponding portal mob.
-
-setPortalMobFreezeDuration (setpmfd) ‹freezeDuration›After typing this command, right click on a portal mob to change the freeze duration.
-
-setPortalMobEffect (setpme) ‹portalEffect›After typing this command, right click on a portal mob to change the portal effect.
-
-setPortalMobEffectDuration (setpmed) ‹portalEffectDuration›After typing this command, right click on a portal mob to change the effect duration.
-
-setClickGrid (setcg) ‹value›This command will round the coordinates of your "make" clicks on the map according to the given value.
It will help you if you want to make a "mathematical monsters map".
The value must be between 1 and 128. Other values will reset making clicks to normal.