HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help Please

12-15-2006, 01:35 AM#1
Chaos Overlord
I have a tower that should be powered up by being close to towers of the same type.

Ok heres what I mean. If two of the towers are within say 500 range of eachother then when one attacks I want a sfx like pheonix fire to go between them and the attacking one to be powered up over double for the attack. I want this to happen even if one tower isnt in range of the target and the other is.

Is that possible?
~Chaos Overlord
12-15-2006, 01:51 AM#2
TaintedReality
Quote:
Is that possible?

Yes :).
12-15-2006, 02:02 AM#3
darkwulfv
Triggers my friend, triggers. Probably buffs and checks. Like, Tower A attacks, check to see if Tower B has the special buff (you'll want to use a buff). If yes, give it a bonus damage modifier (not sure how right now). To make the phoenix fire effect...I would say, make dummy units with no models. One that attacks one that doesn't. Give them Locust, then create them at the towers, one at each. Set they're missle to the phoenix fire one. Then make one attack in the direction you want the effect to go, then remove. I think that would work. Not sure, but thats what seems best to me.
If you want it to go from the top of each tower (which would be the only way for this to work with my given method) make sure they fly at the height you want.
12-15-2006, 10:22 AM#4
xombie
Do the towers have varying damages (other than this aura-damage bonus thing) per type? If not then you could create an item ability such as Claws of Attack + (standard tower-damage) and every, say, 3 seconds (not stressing the engine too much) take every unit of type -tower- and count every nearby unit of type -tower- (-1 because it will count itself) and for each tower counted, add the claws of attack ability. For the phoenix fire effect, since its purely cosmetic, just have an event whenever a -tower- attacks, it will pick every nearby tower of an allied (or same) player and create a dummy unit with 0 damage and a missile-art of phoenix fire to attack the attacking tower. If you REALLY want to be cool you could make a lightning effect instead that runs from one allied tower to the next, within the range. This way it would seem more apparent that they are somehow "connected".
12-15-2006, 08:11 PM#5
Chaos Overlord
wellits kinda of like... no really like the Red Alert 2 Prism Towers. So if you know about that you could probably understand what im asking better.