HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hero Size Increase Per Level

03-27-2004, 11:11 AM#1
phr0zen
I would like someone to help me out creating what is probably a very basic trigger. I would like a system whereby your hero's scaling value increases by 0.1 each time he/she levels up.. this must apply to all player.
Any help would be appreciated.
03-27-2004, 11:33 AM#2
Grater
It's a pretty simple trigger:
Code:
Heroes get bigger
    Events
        Unit - A unit Gains a level
    Conditions
    Actions
        Set TempReal = (100.00 + (10.00 x (Real((Hero level of (Leveling Hero))))))
        Animation - Change (Leveling Hero)'s size to (TempReal%, TempReal%, TempReal%) of its original size
You'll also need a simialler trigger for when a hero is revived, and I think some abilities like hex reset the units scaling, so have fun working out a solution for that.
04-12-2004, 03:44 PM#3
Joakim
The problem with this solution is that you set the scale relative to scale 1.00. An Hero could have scale 1.1 as default scale, as for the unit grunt for example. But if you can find a way to get the scale of a unit, then you're set. Anyone know this?
04-12-2004, 09:13 PM#4
The Gearhead
You'd just have to scale the models or create multiple triggers for the types of heros you have.
04-13-2004, 04:42 PM#5
Joakim
Quote:
Originally Posted by The Gearhead
You'd just have to scale the models or create multiple triggers for the types of heros you have.
I didn't get that. Scale the models to get the scale of the models? Can you please explain what you mean?
04-13-2004, 08:04 PM#6
The Gearhead
Either make it so that you have individual triggers for each type of unit... Or make it so that all the heros have a default scaling value that is equal.

Or you could edit the model and scale it.. But I don't think you want custom models in your map when you consider the size they would take for a minute difference.