• 🏆 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!

Mountain Giants created holding war club?

Status
Not open for further replies.
Level 2
Joined
May 17, 2015
Messages
4
I wanted to make a mountain giant be created already holding his tree war club. how can you do this?

thank you!
 
If you want the normal warClub behaviour but start with it, just create a tree at spawn and use war club on it.
  • Mountain Giant Spawnm
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Triggering unit)) Equal Mountain Giant
    • Actions
      • Set Loc2 = (Position of (Triggering unit))
      • Zerstörbar - Create a Sommerbaumwand at Loc2 facing (Random angle) with scale 1.00 and variation 0
      • Custom script: call RemoveLocation(udg_Loc2)
      • Unit - Order (Triggering unit) to Nachtelf-Bergriese - 'War Club' (Last created destructible)
If you want that the Giant allways hold the tree and has siege attack:
  • Object Edior - Unit - Mountain Giant - Combat - Enabled Attacks = Only 2
  • Object Edior - Unit - Mountain Giant - Art - Needed Animation / or animeprops = Upgrade
Hmm, Looks Wierd a White Tree with no skin.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
If you want the normal warClub behaviour but start with it, just create a tree at spawn and use war club on it.
That technically leaks a destructable. It only kills the tree and does not remove it from the game.

Hmm, Looks Wierd a White Tree with no skin.
War Club is special in that it inherits the replaceable texture of the tree it consumed and applies it as the replaceable texture for the unit model. Unless one uses War Club on a destructable with replaceable texture then the texture will appear white. This is like a tree destructable without replaceable texture specified.
 
Level 2
Joined
May 17, 2015
Messages
4
If you want the normal warClub behaviour but start with it, just create a tree at spawn and use war club on it.
  • Mountain Giant Spawnm
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Triggering unit)) Equal Mountain Giant
    • Actions
      • Set Loc2 = (Position of (Triggering unit))
      • Zerstörbar - Create a Sommerbaumwand at Loc2 facing (Random angle) with scale 1.00 and variation 0
      • Custom script: call RemoveLocation(udg_Loc2)
      • Unit - Order (Triggering unit) to Nachtelf-Bergriese - 'War Club' (Last created destructible)
If you want that the Giant allways hold the tree and has siege attack:
  • Object Edior - Unit - Mountain Giant - Combat - Enabled Attacks = Only 2
  • Object Edior - Unit - Mountain Giant - Art - Needed Animation / or animeprops = Upgrade
Hmm, Looks Wierd a White Tree with no skin.

danke deutschen Freund
 
That technically leaks a destructable. It only kills the tree and does not remove it from the game.
Now Removes the Tree:
  • Mountain Giant Spawnm
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Triggering unit)) Equal Mountain Giant
    • Actions
      • Custom script: local destructable tree
      • Set Loc2 = (Position of (Triggering unit))
      • Zerstörbar - Create a Sommerbaumwand at Loc2 facing (Random angle) with scale 1.00 and variation 0
      • Set tree = (Last created destructible)
      • Custom script: call RemoveLocation(udg_Loc2)
      • Unit - Order (Triggering unit) to Nachtelf-Bergriese - 'WarClub' tree
      • Wait 5.00 seconds
      • Zerstörbar - Remove tree
      • Set tree = No destructable
 
Status
Not open for further replies.
Top