| 08-10-2007, 04:36 PM | #1 |
Where do I change the size of how big a unit increases when avatar is activated? |
| 08-10-2007, 06:24 PM | #2 |
You gotta have a geoset that is bigger in the model... Look at the Mountain King and maybe you'll understand. |
| 08-10-2007, 06:35 PM | #3 | |
Quote:
i have no clue what you mean. what is a geoset? |
| 08-10-2007, 06:48 PM | #4 |
Well I don't really now how to explain what a geoset is... but it's lika a part of the model that isn't always visible like the Blademasters "tornado" when he's using his bladestorm. Or the mountain kings "iron form" which is bigger than the original mountain king model. But I must say that I am not the right guy to explain this. sorry |
| 08-10-2007, 07:03 PM | #5 |
Well, the thing is, if you give avatar to any other unit they also increase in size to. so it couldn't be in the model. |
| 08-10-2007, 07:09 PM | #6 |
ohh I didn't know that :O Is it a custom model? |
| 08-10-2007, 07:17 PM | #7 | |
Quote:
huh? custom? no, i mean any normal unit with a normal model of any type that is given avatar and casts it will increase the size of their model for the duration that avatar is cast. i'm just trying to find out where i change how big they can get from avatar. it should be in the spell properties of the ability but it doesn't seem to be. |
| 08-10-2007, 07:53 PM | #8 |
I opened up my editor, selected Object Editor, went to Abilities located Avatar and read through the list. It appears that there is not way, through the ability itself, to change how large your avatar unit gets. Looking through the GUI commands I can not locate anything that would amount to "grow" a unit. Jass may provide a better solution to the problem. Without giving it much thought or actually trying it out or hammering out the details you could try: Grow Events Unit - A unit Begins channeling an ability Conditions (Ability being cast) Equal to Avatar Actions Unit - Replace (casting unit) with a UNIT2 using The old unit's relative life and mana Where unit1 would be your "normal" sized unit, unit two is a copy but with a greater size scale. I am uncertain of the exact trigger commands (lines) to use, but there is a way to shunt the abilities already learned by a unit to a new unit. Such as: Hero - Set (Last replaced unit) Hero-level to (Hero level of (Triggering unit)), Hide level-up graphics and Hero - Set (Last replaced unit) experience to (Hero experience of (Triggering unit)), Hide level-up graphics Last replaced unit may not work, play with them and see which command. After you set all of the stuff for Unit2 to be carried from Unit1 have a wait either equal to the amount of time your avatar spell works (I'm uncertain if all levels last the same amount of time or not) Play around with different options of Wait and see if you can construct a timed wait that meets your needs. If not that way then make an If/then else condition tree tied into either hero level or if you can figure out the commands the level of the ability (I'm not looking it up for you). After the wait then replace Unit2 with Unit1 returning all of the spells and points and stuff to unit1 If you have several units casting avatar and only want one to get the super giant size then add to the conditions the specific unit. If you want the growth process to carry over with the second unit, you may add an order to cast the ability, making certain to either replace the amount of mana lost or make another "avatar" ability for unit2 that takes no mana and has a cool down far longer than the time the unit will be used. Again you will have to play with it, figure out what does and does not work. Is just an idea I toss out there. Looking through the object editor I do not see an obvious way to make the ability grow a bigger unit. Ah looking at avatar again it only has one duration of 60 seconds - unless you have customized to multiple levels a wait of 60 seconds should work before replacing Unit2 with Unit1. |
| 08-10-2007, 08:32 PM | #9 |
That's just such a stupid idea! Since there are a animation trigger that can change size. |
| 08-10-2007, 10:54 PM | #10 |
I think this is easier :D Trigger: AvatarTrigger: Variables : Caster - Unit Avatar_Timer - Timer |
| 08-11-2007, 01:13 AM | #11 |
Actually the "area of effect" field controls the scaling. It does have a limit, though. |
| 08-11-2007, 08:20 PM | #12 | |
Quote:
Animation - I failed to look there. I have yet to use most animation triggers personally at least through gui - Jass animation ones yes gui no. Yes your way is better. |
