| 10-19-2003, 03:42 AM | #1 |
I'm working on an AoS map with a host of new spells, so I need a little help on a few. Eventually there will be more, but these are all I need for now. Flurry of Knives: Hero skill, 5 levels. The Hero tosses several knives at the target unit in rapid succession. Each knife deals 30 damage. The Hero throws 4 knives at level 1, all the way up to 8 knives at level 5 (that's 1 additional knife per level). Each knife thrown has a 40% chance of missing it's target. How would I do this? Storm Pulse: Hero skill (ultimate), 3 levels. This skill is based off Chain Lightning, but works much differently. The projectile moves relatively slowly so that the chain takes perhaps one and a half seconds to strike it's next target in the chain. Also, each time the chain strikes another enemy, a sort of Thunder Clap spell is cast at that position, damaging and slowing nearby enemies. How would I do this? Sakura: Hero skill (ultimate), 3 levels. To me this skill sounds rather simple to script. Basically, the casting hero clicks this skill and then selects an enemy unit or a point on the ground. At this point, the hero moves within range of the selected point and then does a quick teleporting thing. The distance he moves is the same no matter where the skill is cast from. In addition, all units between his casting point and his teleported point recieve damage. Essentually what I'm talking about is a Shockwave where the Hero teleports to the spot where the wave ends. And now a little trigger question: how do I factor hero levels into a countdown timer? I can only store levels as integer variables, while the timers only accept reals. More to come. |
| 10-19-2003, 04:16 AM | #2 |
Im not sure about the second one but heres the first. ---------------------------------------------------------------------------------- You will need: Varables: An Integer array(starting value 0) and a unit array Each of these make the size of the number of players that can cast this spell(or just make it 12 if ya want) Dummy Spells: An invis and 0 dmg Storm Bolt and a %40 evasion Units: an invisable unit that throwns knives that do 30-30 with a .3 cooldown Setup trigger: anytime a unit learns the abbility do, Integer array(number of owner of triggering unit) + 1 ---------------------------------------------------------------------------------- Trggers 1) EVENTS Unit issued order CONDITIONS Order = to Human-Mountain King Stormbolt Unit issueing order =to (the hero that casts the spell) ACTIONS Set Unit varable (number of owner of triggering unit) to target of order. 2) EVENTS Unit cast ability CONDITIONS Ability = to Human- Mountain King Stormbolt ACTIONS Give unit array (number of owner of triggering unit) Evasion (the edited one) Create (the knife unit) at position of triggering unit Order last created unit to attack unit array(number of owner of triggering unit) wait integer array (number of owner of triggering unit) + 4 x .3 game seconds Remove last created unit ( if there is losts of units being created on your map use a varable to store this unit instead) Remove evasion from unit array (number of owner of triggering unit) |
| 10-19-2003, 06:51 PM | #3 |
Many thanks, Hunter. I will try that out when I find the time. |
| 10-20-2003, 05:43 AM | #4 |
The thread has been updated with some new quesitons. |
| 10-20-2003, 09:32 PM | #5 | |
as to the varable, simly make a math equation that determines the countdown, therefore you can use the integer in the math eqation, just look at my other spell as an example Quote:
|
| 10-21-2003, 10:35 PM | #6 |
For the sockwave thing, thats pretty simple, Base it off shockwave(yay!!!) and make it invis(unless you want otherwise) and set the damage. You will also need a modified blink spell that costs 0 and is a *unit* ability. Finally you will need a region. Events Unit is issued order targeting a point Conditions Order being ordered = to Orc-Taurnen Cheiftain Shockwave Actions Move xregion to target of order AND Events Unit casts an ability Conditions Ability being cast = to shockwave Events Give casting unit "blink" Order casting unit to Night Elf-Warden Blink to xregion. disable "blink" for casting unit That Should Work Fine How's my quote? |
| 10-21-2003, 11:38 PM | #7 |
hunter shockwave does not target a point therefore you would have to base it off of blink and make it cast shockwave afterwards. just switch the 2 spells around. edit: o and as for the interger problem just use the option when you have the part to select real number that is called convert integer to real. it will than let you select the integer and will convert it to real. |
| 10-22-2003, 12:03 AM | #8 |
Lol my friend doesnt even go to this site but the other day he was like "Hey how about a spell that casts shockwave and then teleports you along with the shockwave." So of course I got to work and 10 minutes later I came up with this: This map is just what I put all my spell or ideas on as I make them. Go to the Keeper of the Grove unit and use his Shockwave spell. P.S. Supra God, shockwave does target a point. |
