HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help/Sugeestions with my map

04-26-2005, 06:51 PM#1
Guest
i am makin g a map called Trolls v Gnolls and i would like help with these things.

1.wisp making trigger insted of giving all players a wisp it gives red player 8 wisps all in the places they should be what do i change player 1 (red) to to change that.

2.what do i do to make a trigger that is roughly like this
event - every 30 seconds
condition - Gnoll Barracks in <Gnoll barracks a> Not destroyed
action - spawn 1 gnoll archer and 2 gnoll footmen

3.how to make heros autmaticly respawn?

4.how to make a team win trigger i havent tried yet but i will be able to do most of it praobly apart formt eh condition bit which will be allmost idetical to the Gnoll barracks with except Gnoll Base insted.

5.how to save the map without needing a starting point

6.how to be able to get more thne 1 player on the map

also looking for suggestions for 4 Gnoll and 4 Troll heros prefrably 1 agilty 1 strength 1 intelligence and the other can be anything (prefrably something unusual) keep in mind they have to be related to Gnolls or Trolls in some way.
i have looked at newbies trigger tutorial and if any of the other qurestions i asked were in tutorials i have missed please link them or tell me thxs in advance.
04-26-2005, 09:10 PM#2
Anitarf
1. When making wisps, make them for the other players. I don't know what you mean, what's the problem, you can choose who the trigger will make the wisp for right there in the action.

2. Events
Time - every 30 seconds of game time
Conditions
(Barracks 0092 <gen> is alive) Equal to True
(boolean comparison)
Actions
Unit - Create 1 Footman for Player 1 (Red) at Waypoints[12] facing Default building facing degrees
Unit - Order (Last created unit) to Attack-Move To Waypoints[3]

...repeat last two lines for all units you spawn

Waypoints[] is a variable array that I define at map initialization, Waypoints[12] is at the position of the barracks, and Waypoint[3] is where the units go once they are spawned.

3. Events
Unit - generic unit event - a Hero becomes revivable
Conditions
Actions
Hero - instantly revive (revivable hero) at revivelocation
(you may have different revive locations for each team, in that case you need an if-then-else statement checking who's side the owner of the revivable hero is on)

4. Red defeat
Events
Unit - Castle 0058 <gen> Dies
Conditions
Actions
Game - Display to (All players) the text: The Red team looses.
Wait 8.00 game-time seconds
Game - Victory Player 7 (Green) (Show dialogs, Show scores)
Game - Victory Player 8 (Pink) (Show dialogs, Show scores)
...repeat this for all players on the winning team
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
...repeat this for all on the loosing team

5. You can't. If it's the default starting units that are bothering you, you can turn them off by deleting the melee initialization trigger.

6. Go to the Scenario -> Player properties menu.
04-26-2005, 10:10 PM#3
Guest
thxs and for qustion one i thought the trigger might be even slightly programmable so it would make 1 for each of them with 1 command so if i want to make 4 wisps i have to make four actions on the same trrigger yes?
04-26-2005, 10:17 PM#4
Anitarf
Quote:
Originally Posted by orb
thxs and for qustion one i thought the trigger might be even slightly programmable so it would make 1 for each of them with 1 command so if i want to make 4 wisps i have to make four actions on the same trrigger yes?
Either four actions, or you can use a loop. If you use a loop and if you want the wisps to be at a different position for each player, then you would need to set those positions to a point variable array first, which is a bit much for just spawning four wisps, it's easier to use 4 seperate actions instead. However, if these positions are in any kind of order, you can define them with a function of the loop integer, so each point is just an offset of a single reference point. Another options is to use start locations as your wisp spawn points, if you do not already use them for something else. If the wisps are all to be in the same place, then you don't have any problems at all, you can easily use a loop and this static point.