| 01-03-2004, 03:24 PM | #1 |
I was messing around with my editing a bit and i have a few questions. First. I am trying to use the Nerhzul/Arthas model found in the downloads section. The best i could get is arthas w/o the helmet and sword. How do i add them (I am using we 1.13+ UMSWE 4.1 (775)). The same could be asked about the skeleton model. Second. Models such as Mitsurugi and Nightmare don't seem to appear in the world editor (I used the import files and renamed locations accordingly). However the Ninja and Minatour models work fine... Third. I imported a spell called Omnislash into my map. What it does is that it teleports the hero to every enemy unit within a certain range and inflicts certain amount of damage. However in the triggers i found that the spell make him hit all non player x units. So in the AoS map i am making its hitting my allies and enemies as well and if he was not player one its hitting him. I want instead of not equal to player 1, i need something that hits only the opposing team units (not buildings) and a way to specify the range and damage for 4 levels. I hope thats not to difficult..... and if anyone could help me plz paste the replacement code.. The spell is based on the Warstomp. The main change was it was set on 1 level only instead of 3. It places duration, damage, and aoe @ 0. Here is the trigger code i imported. Code:
Omnislash
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Omnislash
Actions
Unit Group - Pick every unit in (Units within 250.00 of (Position of (Triggering unit)) matching ((Owner of (Matching unit)) Equal to Player 12 (Brown))) and do (Unit Group - Add (Picked unit) to UnitGroup)
Unit - Pause (Triggering unit)
Animation - Change (Triggering unit)'s animation speed to 300.00% of its original speed
For each (Integer A) from 1 to (Number of units in UnitGroup), do (Actions)
Loop - Actions
Set TargetUnit = (Random unit from UnitGroup)
Unit - Pause TargetUnit
Special Effect - Create a special effect attached to the left hand of (Triggering unit) using Abilities\Weapons\Bolt\BoltImpact.mdl
Special Effect - Create a special effect attached to the right hand of (Triggering unit) using Abilities\Weapons\Bolt\BoltImpact.mdl
Animation - Play (Triggering unit)'s Attack Slam animation
Wait 0.10 seconds
Unit - Move (Triggering unit) instantly to (Position of TargetUnit)
Unit - Make (Triggering unit) face TargetUnit over 0.00 seconds
Animation - Play (Triggering unit)'s Attack Slam animation
Special Effect - Create a special effect attached to the weapon of (Triggering unit) using Abilities\Weapons\Bolt\BoltImpact.mdl
Special Effect - Create a special effect attached to the chest of TargetUnit using Abilities\Spells\Orc\Disenchant\DisenchantSpecialArt.mdl
Wait 0.20 seconds
Unit - Set life of TargetUnit to ((Life of TargetUnit) - 50.00)
Unit - Unpause TargetUnit
Unit Group - Remove TargetUnit from UnitGroup
Animation - Change (Triggering unit)'s animation speed to 100.00% of its original speed
Unit - Unpause (Triggering unit)Thanks :) |
| 01-05-2004, 11:35 AM | #2 |
anyone? |
