• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Dummy Based Attack System

Status
Not open for further replies.
Am coding a DBA system, and there are few bugs that I couldn't mange to fix
  • Removing DBA_Dummy from the game without runing he script
  • Animation not showing


Triggers:
  • DBA Setup
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- -------- -------- -------- -------- --------
      • -------- Configurables --------
      • -------- -------- -------- -------- -------- --------
      • -------- Setting The attacking ability --------
      • Set DBA_Attack_Abillty = Attack
      • -------- Setting The Damaging ability --------
      • Set DBA_Damge_Abillty = [A]ttack Damge
      • -------- Setting How far the dummy should be --------
      • Set DBA_Distance = 75.00
  • DBA TRG
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Attack
    • Actions
      • Set DBA_Unit = (Casting unit)
      • Set DBA_Unit_Position = (Position of DBA_Unit)
      • Set DBA_DMG_Point = (DBA_Unit_Position offset by 75.00 towards (Facing of DBA_Unit) degrees)
      • Unit - Create 1 Attack Dummy for (Owner of DBA_Unit) at DBA_DMG_Point facing Default building facing degrees
      • Set DBA_Dummy = (Last created unit)
      • Unit - Order DBA_Dummy to Orc Tauren Chieftain - War Stomp
      • Custom script: call RemoveLocation(udg_DBA_Unit_Position)
      • Custom script: call RemoveLocation(udg_DBA_DMG_Point)



System download: Here
 

Attachments

  • Dummy based attack system.w3x
    103.7 KB · Views: 40
Last edited:
Level 7
Joined
Nov 15, 2009
Messages
225
The spell works like it should so far.
You just need to increase the area of effect.

Spell: [A]ttack Damage
Stats - Area of Effect [now 50], change it to 150 or something


You need the following action after creating the dummy unit to automatically remove the unit from the game:
Unit - Add a 3.00 second Generic expiration timer to DBA_Dummy

The unit should be modified a little bit.
Combat Death Type: Can't raise, does not decay

Additionally:
You should give your unit the locust ability + the .mdl model path.
Remove the shadows, sounds and all other things you don't need.


To your animation:
Some of the spells don't want to play animations, I tested your berserk ability.. didn't worked for me.
Test out the hero spell "channel", you can modify this spell very nice for everything you will ever need.

Hope I could help. :)
 
Status
Not open for further replies.
Top