| 05-31-2004, 12:24 AM | #1 |
hello once again. sorry for posting so many post, but im new at map making and u guys have been so helpfull ;) . but this time i have a dilema. i was looking at this map called elle valy of nightmare. that can be found in this site in the download section. he has a very weird hero select system. it arose my curiasity as to how to make a hero selection system. in short i would like to know how i can make a hero selection system. a simple one at that, like in the old dota, where u move the shade into the circle. plz help. ty in advance ^_^ |
| 05-31-2004, 01:56 AM | #2 |
as simple as possible: make a region infront of the hero now a trigger: E:Unit enters region(region001) C:Unit type of triggering unit equal to shade A: Remove triggering unit Create 1 (the hero you want) at center of region(a region you want) the ring means nothing, its just a sign for people to know they have to move to there |
| 05-31-2004, 03:14 AM | #3 |
You might want to check out Lord Vexorian's selcetion system as well. It's a bit more advanced, but works and looks very nice. |
| 05-31-2004, 03:33 AM | #4 |
also you can make one like found in many open rpgs... i am doing thiss off the top of my head though... Event - unit is purchase Condition - unit sold = the hero / buying unit = the hero selector / selling unit = the hero seller event - remove hero selector from game... move purchased unit instantly to REGION <GEN> |
| 05-31-2004, 05:09 AM | #5 | |
Quote:
thx for the help guys. i think i almost have it. but im quite new at this so plz, if u can , elaborate on this and tell me exactly how i would type it. i mean every little step. anyway, if its not to much trouble. ty in advance. btw i have checked vexorians hero selection, i like it, but i don't know how to implement it in map = \ ...if anyone could tell me i would greatly appreciated. ty. :D |
| 05-31-2004, 02:03 PM | #6 |
First create a region in front of each Hero. For this, we will use a region in front of a Dreadlord and call it "DreadlordRegion". Next create a region at the place where you want the starting point. We will call this region, "StartPoint". Code:
Events:
A unit enters region (DreadlordRegion <gen>)
Conditions:
Unit-type of (Triggering unit) is equal to Shade
Actions:
Unit - Remove (Triggering unit) from the game
Unit - Create 1 Drealord for (Owner of (Triggering unit)) at (Center of region (StartPoint <gen>))
Special Effect - Create a Special Effect at (Position of (Last Created Unit)) using "Abilities\Spells\Demon\ReviveDemon\ReviveDemon.mdl"This will set it so when a Shade enters the region DreadlordRegion, it will remove the Shade and create a Dreadlord at StartRegion for whoever owned the Shade that entered the Region. You can also add the action "Trigger - Turn of (This trigger)" If you don't want more then one Player to be able to choose a particular Hero. |
| 05-31-2004, 02:26 PM | #7 | |
Quote:
Shimira i'm surprised you forgot the action-kill triggered unit duh thats to kill the shade once you select the hero |
| 05-31-2004, 02:29 PM | #8 |
Why kill? He already removed the shade "Unit - Remove (Triggering unit) from the game" |
