HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Growing Units

08-19-2004, 01:53 AM#1
htek
Helloooooo

is there any way to increase the size of heroes as their level grows, and then cap this, without using any world editing whatsoever? [this is a TC - slk/data modding only]... i'd prefer not having to use a morph ability to change my levelled-up hero into another as well.. i was hoping to directly fsck with the modelling...

cheers...


'tek
08-19-2004, 02:47 AM#2
Azhag
Im afraid your going to have to use triggers for this action. If you don't know the triggers to do this, post again and I'll be your knight in shining armor :o Joking. But I will help you if you need help with the trigger.
08-19-2004, 04:13 AM#3
Arohk
you cant do that whitout triggers but keep cool man, its pretty simple!

Code:
lvlsize
    Ereignisse
        Einheit - A unit Steigt eine Stufe auf
    Bedingungen
        (Hero level of (Leveling Hero)) smaller then 10
    Aktionen
        Animation - Change (Leveling Hero)'s size to ((90.00 + ((Real((Hero level of (Leveling Hero)))) x 10.00))%, (90.00 + ((Real((Hero level of (Leveling Hero)))) x 10.00))%, (90.00 + ((Real((Hero level of (Leveling Hero)))) x 10.00))%) of its original size

just redo this trigger in your map and have fun
08-19-2004, 05:04 AM#4
Timeling
That's a LITTLE big... I'll give ya a better version :P
Code:
Hero Level :D!
    Events
        Unit - A unit Gains a level
    Conditions
        (Unit-type of (Triggering unit)) Equal to Footman
    Actions
        Animation - Change (Triggering unit)'s size to ((Real((100 + ((Hero level of (Triggering unit)) x 5))))%, ((Real((100 + ((Hero level of (Triggering unit)) x 5))))%, ((Real((100 + ((Hero level of (Triggering unit)) x 5))))%) of its original size
08-20-2004, 06:52 PM#5
GreyArchon
Quote:
Originally Posted by Timeling
That's a LITTLE big... I'll give ya a better version :P
Code:
Hero Level :D!
    Events
        Unit - A unit Gains a level
    Conditions
        (Unit-type of (Triggering unit)) Equal to Footman
    Actions
        Animation - Change (Triggering unit)'s size to ((Real((100 + ((Hero level of (Triggering unit)) x 5))))%, ((Real((100 + ((Hero level of (Triggering unit)) x 5))))%, ((Real((100 + ((Hero level of (Triggering unit)) x 5))))%) of its original size


More like that's a little German. Good, clean triggerwork there.