• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

tower rebuild

Status
Not open for further replies.
Level 4
Joined
Jan 13, 2013
Messages
92
have you played the map battle tanks? if you have, you should have noticed that you can rebuild a tower from a destroyed neutral tower until it's destroyed again, how do i make something like that?:vw_wtf:
 
I did play Battle Tanks a lot, and seems to found out a simple way to make it.

For me, I would rather make 2 version of the tower, when a tower of the real one is destroyed, create the other version at the dying one position, the replacement (both death and rebuild) are triggered, as you can see that you can remake them 1 second provided with sufficient money.
 
Doomlord, here's how it work : in the start of game, there are already completed towers, upon these completed towers death (note that the towers can't be build by any means except using the destroyed tower which named Tower Ruin in Battle Tanks), in the Ruin, there are several Towers on the list, when you buy one of them, the tower will automatically changed to the bought tower.

I hope that helps and doesn't seems harsh :)
 
Level 16
Joined
Dec 15, 2011
Messages
1,423
Doomlord, here's how it work : in the start of game, there are already completed towers, upon these completed towers death (note that the towers can't be build by any means except using the destroyed tower which named Tower Ruin in Battle Tanks), in the Ruin, there are several Towers on the list, when you buy one of them, the tower will automatically changed to the bought tower.

I hope that helps and doesn't seems harsh :)

Intriguing, how do you know where to build the new one in your proposed method earlier? Given that there are more than one Tower Ruins.
 
Well, the tower is set in an exact amount at BT.
But after re-checking, I think it's not that complicated.

It should be possible just by doing this (in this sample, I will only allow one tower to be chosen) :
1. Make both towers (the real tower and the tower ruin) at OE
2. Make a unit that can be bought with the info of the real tower and give that unit as a buy able unit in the ruin.
3. Create a trigger (sorta like this - Leaks Ignored) :
  • Events
  • Unit - An Unit Dies
  • Conditions
  • Unit-Type of Triggering Unit equals to The Real Tower
  • Actions
  • Unit - Create 1 Tower Ruin for Neutral Passive at Position of Dying Unit facing 270.00 degrees
Just add your real towers to the condition and use Or comparison
4. Then another one for the making :
  • Events
  • Unit - An Unit bought from shop (forgot the real event name)
  • Conditions
  • Unit-Type of Sold Unit equals to Real Tower (Dummy)
  • Actions
  • Unit - Replace Selling Unit with The Real Tower with max stat
  • Unit - Change Ownership of Last Replaced Unit to Triggering Player (I think I'm not mistaken)
Some event, condition and action aren't correct (possibly) because its pseucode. But I'm sure you get the main idea now.

And that's what I can think in mind, also the "ruin" has Invulnerable, since in BT tower are a good asset (but not on late game when your tanks own towers in like 1 minute)
 
Level 16
Joined
Dec 15, 2011
Messages
1,423
Well, the tower is set in an exact amount at BT.
But after re-checking, I think it's not that complicated.

It should be possible just by doing this (in this sample, I will only allow one tower to be chosen) :
1. Make both towers (the real tower and the tower ruin) at OE
2. Make a unit that can be bought with the info of the real tower and give that unit as a buy able unit in the ruin.
3. Create a trigger (sorta like this - Leaks Ignored) :
  • Events
  • Unit - An Unit Dies
  • Conditions
  • Unit-Type of Triggering Unit equals to The Real Tower
  • Actions
  • Unit - Create 1 Tower Ruin for Neutral Passive at Position of Dying Unit facing 270.00 degrees
Just add your real towers to the condition and use Or comparison
4. Then another one for the making :
  • Events
  • Unit - An Unit bought from shop (forgot the real event name)
  • Conditions
  • Unit-Type of Sold Unit equals to Real Tower (Dummy)
  • Actions
  • Unit - Replace Selling Unit with The Real Tower with max stat
  • Unit - Change Ownership of Last Replaced Unit to Triggering Player (I think I'm not mistaken)
Some event, condition and action aren't correct (possibly) because its pseucode. But I'm sure you get the main idea now.

And that's what I can think in mind, also the "ruin" has Invulnerable, since in BT tower are a good asset (but not on late game when your tanks own towers in like 1 minute)

Seems legitimate to me :)


No thanks =)) Have some other stuffs to run.
 
Level 4
Joined
Jan 13, 2013
Messages
92
testing right now
Edit: so what's exactly the event of the second trigger? i'm trying but it doesn't replace towers
 
Last edited:
Status
Not open for further replies.
Top