Well I was just thinking about the problem with defilers and dark swarm and how you cant detect who cast it, but the idea that I thought of was to constantly set each players mana to 100% then back to 0% so that only one player has 100% mana at any given time and have it check to see if there is a dark swarm cast.
If you can get it to work, we'd love to see it!
Just to see if I understand the concept correctly, would the trigger be something like this?
(Trigger setting the Mana for all players)
Trigger |
Players: |
¤ All Players |
Conditions: |
¤ Always |
Actions: |
¤ Set energy of all Defiler owned by player 1 to 0%
|
¤ Set energy of all Defiler owned by player 2 to 0%
|
¤ Set energy of all Defiler owned by player 3 to 100%
|
¤ Set switch "Player 3 has Mana"
|
¤ Wait 1000 milliseconds
|
¤ Clear switch "Player 3 has Mana"
|
¤ Set energy of all Defiler owned by player 1 to 0%
|
¤ Set energy of all Defiler owned by player 2 to 100%
|
¤ Set energy of all Defiler owned by player 3 to 0%
|
¤ Set switch "Player 2 has Mana
|
¤ And so forth...
|
¤ Preserve Trigger |
(Trigger setting all Dark Swarms to P3)
Trigger |
Players: |
¤ All Players |
Conditions: |
¤ Switch "Player 3 has Mana" is set |
Actions: |
¤ Center location "P3 Dark Swarm" on all Dark Swarm owned by Player 12
|
¤ Preserve Trigger |
Would it be something like that?
Of course, each player would need a location and a trigger for the ownership when doing this. And I'm not sure this would work. But it's how I think it could be done.
So tell me again why you would need this? It wouldn't really matter who cast it...
QUOTE(olaboy- @ Jan 31 2005, 04:46 PM)
So tell me again why you would need this? It wouldn't really matter who cast it...
[right][snapback]135897[/snapback][/right]
It would matter in certain situations, this is for like a dark swarm firing system.
I tested it the way I_am_Voyager7456 triggered it and found that 1500 waits were the best to use, and that 2 players is obviously best to use because you dont have as long of a pause than with 4 players of 8 players
Attached the map, to change it from 2 players to 4 just change clear switch 2 to 4 and enable all the disabled actions
It'd probably be better if you used death counters and hypers to do something like this. It would make the detection much faster and much more accurate.
In a map it would be pretty annoying to have your energy set as 0% one second then 100% the next... Death Counters, Resources, and Switches are always the best solution.
I did this in a test map once. I had the mana go up at a set rate, with a little meter, and it set the energy for the defiler, when the dark swarm was cast, it set the energy to a lower level. I don't remember if I submitted it or not, =\
Void, wtf are you talking about?
I tried that too, but its more than a little annoying plus it CAN overlap because of lag in casting swarm. You need about 2 seconds to ensure the player's swarm gets cast on average, plus half a second padding so the next player doesnt end up getting your swarm the split moment after its cast.
I have yet to find a good solution to this problem in general, except to seperate players.
how about
players-
all players
condition
current player brings at least 1 dark swarm to anywhere
action
Center "Dark Swarm" on dar swarm owned by curren tplayer
Remove all dark swarm owned by current player at Darkwarm
Set resources for current player, add one ore
Preserve Trigger...
And the ore is the dtecter...
won't that work?
No, It won't. The players don't own the dark swarm...
This was used in an old russian rullette game, but with Corsairs instead of defilers. When it was your turn you could shoot the gun with disruption web.
If you have two players simply center a corsair on one players, and disable swarm for that player. Then just give him energy to cast Dweb. Tada, two firing systems.
QUOTE(FaZ- @ Feb 22 2005, 08:53 PM)
If you have two players simply center a corsair on one players, and disable swarm for that player. Then just give him energy to cast Dweb. Tada, two firing systems.
[right][snapback]151336[/snapback][/right]
If you make it so the Players who use Dark Swarm are Never Near One another, you can do this.....
1)Make a Location around the Players Defiler that is Big enough to Detect a Casted Dark Swarm.
2)The Dark Swarm around the Player, can then be Detected and triggers executed, but this isn't a concept to use in any map, it's for specific maps of course. But it is one solution.
Ala trigger happy d. Only they WERE allowed near each other, but couldnt fire near.
You could do a swarm turn thing so that each time someone casts it the next person that is within conflicting firing range of that player gets a turn to cast, and then back again when they fire. You could add some other function if that other player doesnt fire expediently to switch allowing swarm cast back and forth between the players, or force switching with some hotkeyable switch or something. If there's an ammo system, you could also check who has ammo or not to fire in the first place, and allow only that player to cast until the other reloads their weapon.