- Joined
- Feb 14, 2009
- Messages
- 316
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Melee Initialization

Events


Map initialization

Contitions

Actions


-------- Remove the Victory/Defeat conditions --------


Melee Game - Use melee time of day (for all players)


Melee Game - Limit Heroes to 1 per Hero-type (for all players)


Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)


Melee Game - Set starting resources (for all players)


Melee Game - Remove creeps and critters from used start locations (for all players)


Melee Game - Create starting units (for all players)


Melee Game - Run melee AI scripts (for computer players)


Player Group - Pick every player in (All players) and do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






((Picked player) controller) Equal to User






-------- Add here the replaced race, in my case Orc --------






(Race of (Picked player)) Equal to Orc





Then - Actions






Unit Group - Pick every unit in (Units owned by (Picked player)) and do (Actions)







Loop - Actions








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










-------- Here you add the unit type of the original race's town hall, in my case Great Hall --------










(Unit-type of (Picked unit)) Equal to Great Hall









Then - Actions










-------- Here you add the Town Hall of your race, here my race is goblin --------










Unit - Replace (Picked unit) with a Hall of Knowledge using The old unit's relative life and mana









Else - Actions










-------- Here you add the Worker units of your race --------










Unit - Replace (Picked unit) with a Engineer using The old unit's relative life and mana






Player - Limit training of Heroes to 3 for (Picked player)






-------- Here you add each of your custom heroes, and be sure that no one of them is based on tavern or campaign hero --------






-------- Some of mine may sound as if they are based on such heroes, but they're not --------






-------- I have based them on Blademaster and Far Seer and changed all animations --------






Player - Limit training of Tinker to 1 for (Picked player)






Player - Limit training of Alchemist to 1 for (Picked player)






Player - Limit training of Exterminator to 1 for (Picked player)






Player - Limit training of Goblin Miner to 1 for (Picked player)





Else - Actions
