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

[GUI] LNT v.1.00

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
A tool i decided to make and share. May not be the best quality, but maybe people can learn how to make such spells now.

  • Example Cast
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Example Base Ability
    • Actions
      • -------- Setting the caster --------
      • Set Example_Caster = (Triggering unit)
      • -------- Setting the Caster´s location --------
      • Set Example_CasterLoc = (Position of Example_Caster)
      • -------- Setting the ability level --------
      • Set Example_Level = (Level of (Ability being cast) for Example_Caster)
      • -------- **Setting the damage. You may change this.** --------
      • Set Example_Damage = (Example_Level x 75)
      • -------- **Setting the radius in which the units get damaged.** --------
      • Set Example_Radius = 400.00
      • -------- Setting the units which will get damaged. Needed to not damage the Casting Unit. --------
      • Set Example_Group = (Units within Example_Radius of Example_CasterLoc matching (((Matching unit) belongs to an ally of Player 1 (Red)) Equal to True))
      • -------- Removing the caster from the group which should take damage. --------
      • Unit Group - Remove Example_Caster from Example_Group
      • -------- **Setting the offsets. Change the number of offsets to what you want.** --------
      • Set Example_Offset[1] = (Example_CasterLoc offset by Example_Radius towards 0.00 degrees)
      • Set Example_Offset[2] = (Example_CasterLoc offset by Example_Radius towards 72.00 degrees)
      • Set Example_Offset[3] = (Example_CasterLoc offset by Example_Radius towards 144.00 degrees)
      • Set Example_Offset[4] = (Example_CasterLoc offset by Example_Radius towards 216.00 degrees)
      • Set Example_Offset[5] = (Example_CasterLoc offset by Example_Radius towards 288.00 degrees)
      • -------- Starting the loop --------
      • Trigger - Run Example Loop <gen> (ignoring conditions)
  • Example Loop
    • Events
    • Conditions
    • Actions
      • -------- **Change the number of instances to the number of offsets.** --------
      • -------- ------------------ --------
      • -------- **The Special Effect. Change the model to something suitable or remove it.** --------
      • Special Effect - Create a special effect at Example_Offset[1] using Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl
      • -------- **Creating the Lightning Effect. You may want to add custom couloring. (See main Instructions.)** --------
      • Lightning - Create a Finger of Death lightning effect from source Example_CasterLoc to target Example_Offset[1]
      • -------- Storing the Lightning effect in our variable array. --------
      • Set Example_Lightning[1] = (Last created lightning effect)
      • -------- ------------------ --------
      • Special Effect - Create a special effect at Example_Offset[2] using Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl
      • Lightning - Create a Finger of Death lightning effect from source Example_CasterLoc to target Example_Offset[2]
      • Set Example_Lightning[2] = (Last created lightning effect)
      • -------- ------------------ --------
      • Special Effect - Create a special effect at Example_Offset[3] using Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl
      • Lightning - Create a Finger of Death lightning effect from source Example_CasterLoc to target Example_Offset[3]
      • Set Example_Lightning[3] = (Last created lightning effect)
      • -------- ------------------ --------
      • Special Effect - Create a special effect at Example_Offset[4] using Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl
      • Lightning - Create a Finger of Death lightning effect from source Example_CasterLoc to target Example_Offset[4]
      • Set Example_Lightning[4] = (Last created lightning effect)
      • -------- ------------------ --------
      • Special Effect - Create a special effect at Example_Offset[5] using Abilities\Spells\Demon\DemonBoltImpact\DemonBoltImpact.mdl
      • Lightning - Create a Finger of Death lightning effect from source Example_CasterLoc to target Example_Offset[5]
      • Set Example_Lightning[5] = (Last created lightning effect)
      • -------- ------------------ --------
      • -------- **The wait before we destroy the lightning effects.** --------
      • Wait 0.45 seconds
      • -------- Destroying the lightning effects --------
      • Lightning - Destroy Example_Lightning[1]
      • Lightning - Destroy Example_Lightning[2]
      • Lightning - Destroy Example_Lightning[3]
      • Lightning - Destroy Example_Lightning[4]
      • Lightning - Destroy Example_Lightning[5]
      • -------- **Damaging the targets. Change the attack type and damage type to what you want.** --------
      • Unit Group - Pick every unit in Example_Group and do (Unit - Cause Example_Caster to damage (Picked unit), dealing (Real(Example_Damage)) damage of attack type Chaos and damage type Lightning)
Keywords:
Lightning, Nova, Finger of Death, Model, effect, template, tool.
Contents

Lightning Nova Template (Map)

Reviews
Bribe: Leaks like a fountain. Lots of Special effects, groups... not MUI...I really don't need to continue. Status: Rejected

Moderator

M

Moderator

Bribe:

Leaks like a fountain. Lots of Special effects, groups... not MUI...I really don't need to continue.

Status: Rejected
 
Level 5
Joined
Oct 5, 2010
Messages
66
First DL =) & First Comment Soon !

Edit : No to bad but => wait 0.45 sec <== and why did i get damage when i use your spell ?? !! This is the only things !

And post triggers for the others pls !

my rate => 3.5/5 <=
 
Level 3
Joined
Oct 5, 2010
Messages
47
Thanks for all the creative criticism.

ToPsYoNe: Fixed that now, will update very soon. Update: Fixed.
Adiktuz: Will post triggers also, but wasn't sure of the BB codes. Update: Fixed.

And also about the wait... How can i remove it without just showing the Lightnings and then *poof*, they're gone.
 
Level 5
Joined
May 27, 2009
Messages
94
It does everytime you forget to do the call Customscript Call RemoveLocation(udg_yourlocation[array]) it leaks.
Unit groups leaks.
The use of the example offset is stupid
Make a for each integer (variable, a or b)
set example offset[variable, a or b according to which you used.]
72 x (variable, a or b according to which you used
also it's not mui try using two casters to cast the spell at the same time. The locations will get owerwritten also to clean a SFX use special effect destroy last created special effect.
 
Top