| 01-25-2004, 06:58 PM | #1 |
Hi folks. In one of my maps, I've encountered a number of problems. I hope you can help me, they're pretty small-time, or so it seems. Q1: How do I force a unit to have the Morphed Demon Hunter (demon form) model? Q2: I'm trying to mimick the Maelstrom (starcraft; dark archon) ability using Drunken Haze. In a nutshell, it's a targetted area of effect spell that disables all movement and attack on a unit. The attack disabling is no problem, but the movement doesnt work. What value should I put at Data - Movement Speed Modifier? -1 doesnt work, 1 doesn't work, -100 doesn't work, 100 doesn't work... Q3: I've based a hero ability off of Orb of Annihilation. However, it doesn't work. It's on autocast, but it won't autocast when the unit attacks. The Range is okay, the Targets is okay, and the hero has a Missile Attack. What am I doing wrong? Q4: I'm trying to mimick the Stim Pack (starcraft; marines/firebats) using Frenzy. How do I write the trigger that reduces 10% of the hero's HP when using this skill? Currently, I tried to do it with triggers, but it gives the hero 90% of his mazimum HP (so when it's used, instead of substracting the 10%, it gives him 90% of the whole) Q5: How do I let the PitLord's Cleaving Attack work when ranged? This means the damage done by a ranged hero should only be distributed in an area near the point of impact, not surrounding the body of the hero. Q6: I want to make a skill called SheepFall. Basing it off of Monsoon, I tried changing the monsoon buff graphic from the lightning bolt into the falling sheep. This doesn't work however. How do I make this work? (If possible by using blizzard/rain of fire/starfall, please tell too) Thanks in advance, guys. If you can give me a solution, I'll be sure to credit you in the map. |
| 01-25-2004, 07:29 PM | #2 |
Hi, I will answer your questions as best I can. 1. What you have to do for this one is extract the model file, and do some .mdl editing to get only the demon form. I will work on it and post it when I get it done. 2. To set the movement speed to zero, do just that. There is a funciton to set the movement speed of a unit to zero. To set it back just set his movement speed = to the default unit speed. 3. I am not familiar w/the orb of annihilation at all, so if someone else could answer this that would be great. Otherwise I will look into it for you:D. 4. To reduce his health just set the unit's health equal to itself - 10% of maximum HP. Now if you want it to take 10% of his current health do the same, but not the maximum HP, just the current. 5. This might have to be done using triggers, it's not that hard though. Just pick units withing a radius and make the unit take damage. If you really wanted to get tricky you could find out how much damage was done during the attack, and then distribute a percentage of that around. If you want me to explain how to do the second method just ask and I will give a full explanation. 6. The only way I can think of doing this is to make invisible units and have their projectile be the sheep. Then have them attack the ground directly under them. They would, of course, have to be flying units. I hope this helps:ggani: |
| 01-25-2004, 08:53 PM | #3 | |
Quote:
Hi and thanks, but.. (there's always a but.. *grin* ) 1. I have absolutely no MDL editing skills at all. Isn't here another way to achieve this? 2. I tried that, it didn't work. :/ The standard movement speed after being hit by drunken haze = 0.50 , but when I set it to 0.00, they can still move. 3. Think Searing Arrows, only with area of effect damage. 4. How do I do this, what is the correct trigger for it? "Set life of (casting unit) to (Life of Casting Unit)%?? 5. Again, I'm not a trigger master. See my custom title? That actually happened once. Sort of. :( If you can write me an example of the trigger, that'd be great... 6. Sounds like this should be done by triggers again. However, there is an ability animation called "Polymorph <effect>", the name is PolyMorphFallingSheepArt which is the animation of a sheep falling to earth. I'm trying to use that instead of, say, a shard of a blizzard. :/ Anyone? I see certainly 18 people lurking this forum. None can help me? I'm pretty stuck on these. :( |
| 01-26-2004, 02:42 AM | #4 |
Here is the trigger answer to #5 Code:
[b]Events:[/b] Unit is issued order targeting a point [b]Conditions:[/b] Issued order = (order(attack)) Unit-type of attacking unit = (unit type here) [b]Actions:[/b] Pick every unit within 200 of (target point of issued order) and add them to DamagedUnits(a variable) Pick every unit in DamagedUnits and do set life of picked unit = Life of picked unit - .75 * DamageDone(integer variable) Code:
[b]Events:[/b] Unit is attacked [b]Conditions:[/b] Unit type of attacking unit = (unit type here) [b]Actions:[/b] Add Attacked unit takes damage (event) to this trigger Set DamageDone(variable) = (Damage taken) |
| 01-26-2004, 04:33 AM | #5 |
1: Add "alternateex" to the Art - Required Animation Names field of the unit. 2: Try basing your spell off of silence instead. It probably won't do what you want, since it looks like it's almost the same as drunken haze, but you never know ;). If it doesn't work, and you don't want to use triggers, you could always reduce the movement speed to near 0, so they move really slow. Also, make sure that the movement speed modifier is a % and not an actual movement speed (it reduces it X% not by X units) 3: dunno 4: Narwanza has this one 5: Have you tried just using cleaving attack? I do know that the "combat - attack 1 spill damage/radius/distance" fields of a unit act the same way as cleaving attack, and they worked in the past with missile attacks, so you could just set those. I think there are upgrades that modify those, too. 6: Use blizzard, change the blizzard shard, wherever it is, to the falling sheep. That should work. |
| 01-26-2004, 05:54 PM | #6 | |
Quote:
1. It already has this, and unfortunatly, it doesn't work. :/ It looks ok in WorldEdit, but changes back to the normal demon hunter in the game. 2. Tried it, but it seems I can't reduce their movement speed beyond 50%. 3. Yarr. 4. I'm still unsure how to trigger this precisely.. 5. Triggers are -very- difficult for me. I only could work with them in Starcraft... ://// 6. Off of Blizzard.. I'll try that. Awright, so the Sheepfall thing worked. :) Thanks guys! Still, the Demon Hunter's demon form wont show up, etc. etc.. :/ |
| 01-26-2004, 06:13 PM | #7 |
1: oops, I meant "alternate" not "alternateex" 2: are you sure you changed the minimum movement speed in the gameplay constants? If not, change it to 0 and try again 5: No triggers involved. Every unit has that field, if you set some stuff in it it'll act like cleaving attack. There are some upgrades (in the upgrade editor) which allow you to add to the spill radius/dmg so you can just start one of those two at some small number (1/0) and a person can research an upgrade. But my other question...Have you tried using cleaving attack without modifying anything? Give it to a unit with a missile attack and see if it dmgs units around the target... |
| 01-26-2004, 06:47 PM | #8 | |
Quote:
Woohoo! 1 & 2 worked! I'm not sure about 5, but to heck with it, I'll just make another skill to replace it. :) Yeah, I tried using the standard cleaving attack. It only seems to work in an area around the 'user'. |
| 01-26-2004, 09:39 PM | #9 |
Dude, he is giving you and easy answer to number 5, and I gave you a trigger answer. They aren't that difficult to try. |
| 01-26-2004, 10:07 PM | #10 | |
Quote:
"5: Have you tried just using cleaving attack? I do know that the "combat - attack 1 spill damage/radius/distance" fields of a unit act the same way as cleaving attack, and they worked in the past with missile attacks, so you could just set those. I think there are upgrades that modify those, too." So I should set this to a higher value on every unit that could be hit by the ranged cleaving attack, or only on the hero using the ranged cleaving attack? |
| 01-26-2004, 10:09 PM | #11 |
Just the hero. |
| 01-26-2004, 10:17 PM | #12 | |
Quote:
It doesnt seem to have a "combat - attack 1 spill damage" field. Do I need an enhanced editor for this? |
| 01-26-2004, 10:47 PM | #13 |
well, in that case, just do the triggers I had up above, it couldn't be that hard to add them in considering I wrote them all for you, and if you don't want to do it, the just send me the map via e-mail, and I will do it for you. My e-mail is [email protected] |
