| 12-27-2002, 05:05 PM | #1 |
Has anybody figured out how to alter the huntress bounce function? Specifically, I looked at Moon Glaive in abilitdata.slk and didn't see any numbers to change regarding how many bounces it affects. What I am trying to do is add a bounce attack to a hero using the Moon Glaive graphics, but so far all I can do is add 1 bounce and not 2 like the huntress has with upgraded Moon Glaive. I added upgrade moon glaive in the hero "upgrades used" section and I modified the area affect of the hero attack to duplicate that of the huntress, but whether or not the moon glaive is upgraded the hero attack only bounces once, whereas the huntress bounce reflects the upgrade number (e.g. if upgraded bounces twice instead of just once). I also made sure to give the hero "moon glaive" in the ability section as well, in addition to giving the hero a wide area of affect under "area affect: full damage". Thanks in advance!!! :D |
| 12-27-2002, 07:18 PM | #2 |
Upgrades only affect units of the race it was made for, so in order for moon glave to increase the bounce attack your hero has, it would have to be based on a night elf unit. |
| 12-27-2002, 07:51 PM | #3 |
the upgrade only give 1 bounce, the hunt normally has 1 bounce so with the upgrade, her attack hits 3 targets without only 2 |
| 12-27-2002, 08:21 PM | #4 |
The unit I based it off of was the Night Elf priestess, only using the model for the huntress. The "bounce" I was referring to was after the first hit - I got the new unit (based off of the priestess) to "bounce" once, meaning it hits the first unit, then goes to second unit, after that it stops. The huntress however continues to bounce on to a third unit, where my custom unit does not - and that includes having the "upgrade moon glaive" upgrade on the unit. I know that some upgrades affect heroes, for example the damage upgrade will affect my heroes damage if added on based upon the upgrade used, however it's just this moon glaive upgrade that seems to be having trouble. I had similar difficulties trying to get a custom unit to use the "stormhammer" upgrade (on a hero unit). I am basically hoping to find a way to control the number of targets that is hit after the initial bounce, but cannot seem to find a way or a field which controls that :( |
| 12-27-2002, 09:04 PM | #5 |
Hmmmm I figured out a half-assed solution to my problem. I went into upgradedata.slk and altered the bonus from nightelf moon glaive upgrade from 1 to 2. Now my hero bounces twice instead of just once, so to all appearances it looks the same as a regular huntress, however I have to have the new upgradedata.slk for that to work :( Very odd indeed. It seems like you said that there is some sort of code in play which dictates which units can use which upgrades, and it doesn't seem to always follow the chain of logic, for instance: I can give a nightelf hero the ability to use human upgrades to damage and defense, and archer upgraded range, but even with the base ability for moon glaive and the same model, graphic, area effect, etc it only bounces once and not twice. Yet somehow the archer range upgrade, ultravision, works. Very strange. The only thing I can think of, is that upgrades which only affect one particular unit - e.g. stormhammer, upgraded moon glaive, etc - only work on that unit, and any upgrade which affects more than one unit - e.g. upgraded weapons / armor, ultravision, archer range - affects any unit which you place that upgrade on. So you can add archer upgraded range to a human tank and have it work, but you cannot get the unit-specific ability to work (except if you base the unit off of the unit with which it works, for instance if you create a new unit with the huntress as it's base you can get the upgraded moon glaive to work, in my tests that's what happened). This WC3 editor is very weird sometimes. The more I mess with stuff the weirder the logic gets on what works and what doesn't versus what should work and what shouldn't. :bangH: :cuss: |
| 12-27-2002, 09:42 PM | #6 |
It only bounces once by default. And you can remove the requires field and give it to your hero and it wont require the upgrade. Hope that helps some. |
| 12-27-2002, 09:56 PM | #7 |
Guest | Upgrades that only work on one unit will only work on that unit. IE: Moon Glaves. Upgrades that work on multiple units will work on custom units that aren't based on that. IE: Strength of the Moon. |
| 01-21-2003, 02:06 PM | #8 |
Guest | So what you are saying is, that there is no way to, say, put Moon Glaive on a tower? |
| 01-21-2003, 03:46 PM | #9 |
Guest | You can put glaive on a tower, it just has to start out as a night elf model. eg.. a night elf building Now if you want it to bounce more than once, then you'll have to get your hands dirty and open up the slk file like byelobog did. |
| 01-21-2003, 04:12 PM | #10 |
Guest | my ONLY experience editing "bounce" was before the new editor (soundfiles, etc) when I was using WEE Blink!. I made an amazon with bounce... HAHA i edited all the values again and again, basicly she hit always as many units as possible, until i gave up |
| 01-21-2003, 05:45 PM | #11 |
The bounce info is in UnitWeapons.slk. There is a column - "line splash, number of targets", which applies to both line splash (Impaling Bolt) and bounce (Moon Glaive). |
| 05-27-2003, 07:24 PM | #12 |
you know I had the same problem with one of my maps I did solve the problem by editing the following files, Units\UnitMetaData.slk and UI\WorldEditStrings.txt I figured out (that I think you mentioned) that bounce is an hidden ability so what I did was that I made it a visual ability to the WE here is what I did: I created this following string in the UnitMetaData.slk <ua1u/targCount1/UnitWeapons/-1/WESTRING_UEVAL_UA1U/c6a13/int/0/1/0/1/1000/1/1/1/0> And then this string in the WorldEditString.txt <WESTRING_UEVAL_UA1U=Attack 1 - Damage to number of creatures> I hope this solves your problem bounce :ggani: (U need the UnitMetaData in your map or in you War3patch.mpq to get the bounce to work) |
| 05-27-2003, 08:12 PM | #13 |
(Confused) Does a custom unit have to be based off the specific unit for the upgrade to work, for something like moon glaive or pierce, or does it just have to be based off a unit from that race. (Which is..inconvienient and weird). Will this apply to pierce as well (because I couldnt figure out why that didnt work ;0) Also, was there anything else you could alter with the moon glaive attack besides the bouncing? Is there a damage reducing %, or range that the Moon Glaive affects? |
| 05-28-2003, 08:26 AM | #14 |
The bounce ability hasn´t got much to do with the upgrade Moon Galvie, what I think moon galvie does is that it either sets number of bounces to 1 temporary or it simply disables bounce attack when not upgraded. Anyway my bounce works without the moon galvie upgrade It should work with MoonGalvie upprade aswell I have´nt tried it yet tho. |
| 05-28-2003, 09:42 AM | #15 |
my files |
