• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

flamethrower tower, how to get a good flame projectile

Status
Not open for further replies.
Level 7
Joined
Sep 9, 2007
Messages
253
I started by trying to use the space orc flames but then found out that it's attached to the model's attack animation.

next attempt was to use this model

https://www.hiveworkshop.com/forums...t-49029/?prev=search=flamethrower&d=list&r=20

with this trigger

  • flameaattack inferno tower
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacking unit)) Equal to Inferno Tower (Tier 3)
    • Actions
      • Unit - Make (Attacking unit) face (Attacked unit) over 0.00 seconds
      • Special Effect - Create a special effect attached to the third sprite of (Attacking unit) using war3mapImported\Konstrukt_FlameThrowerEffektAttachment.MDX
      • Special Effect - Destroy (Last created special effect)

in case it matters, I'm using:
buildings\other\TowerDefenseTower\TowerDefenseTower.mdl
which is the "Boulder Tower, Advanced Boulder Tower, Cold Tower.......etc, the tower model used in blizzard TD

Is there an attachment point I can use to make the flamethrower effect go toward the attacked unit instead of just always going down?

Thanks in advance.


EDIT: I also tried this

  • flameaattack inferno tower
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • (Unit-type of (Attacking unit)) Equal to Inferno Tower (Tier 3)
    • Actions
      • Set aaTempPoint = (Position of (Attacking unit))
      • Unit - Create 1 DUMMY (dummy unit) for (Owner of (Attacking unit)) at aaTempPoint facing Default building facing degrees
      • Unit - Create 1 DUMMY (dummy unit) for (Owner of (Attacking unit)) at aaTempPoint facing Default building facing degrees
      • Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
      • Custom script: call RemoveLocation(udg_aaTempPoint)
      • Set aaTempUnit = (Last created unit)
      • Unit - Make aaTempUnit face (Attacked unit) over 0.00 seconds
      • Special Effect - Create a special effect attached to the weapon of aaTempUnit using war3mapImported\Konstrukt_FlameThrowerEffektAttachment.MDX
      • Special Effect - Destroy (Last created special effect)
 
Yes, base the tower of the Ancient Protector. If you then remove the ability root or disable it with triggers, I still think the tower will be able to rotate. There is tutorial somewhere on the forums for it otherwise.
 
Status
Not open for further replies.
Back
Top