HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Any ideas? (how to hide the level-up effect)

07-06-2004, 12:53 AM#1
zotax
I was wondering if anyone had any ideas as to how I could hide the level up graphics for heroes. Importing a blank model file over the path of the special effect might work, any other ideas though?
07-06-2004, 01:08 AM#2
Panto
Well, that's what I'd do, if you never wanted it to happen. Otherwise, you could fudge it a little bit and detect when the hero gets within a certain range of the new level and then Level him with the trigger (which allows you to hide the level-up graphic).
07-06-2004, 03:11 AM#3
Octavius
yeah thats what i did. have it so that when the hero levels up it sets the "Show level up graphics" to false, or something like that, i used it a while ago on a map where the heroes leveled to like 1500 and it was annoying so i had to figure out how to eliminate the lag-inducing effects :\
07-06-2004, 04:20 AM#4
zotax
Could you elaborate a bit Octavius as to what you exactly did? I had noticed there was a level up, hiding the graphics action, but I dont know how I should go about pre-leveling my heroes. Any thoughts?

I suppose I could use a periodic that detects which heroes are close to leveling, or a trigger that runs when a unit dies, but both thoose seem to unneficent and lag prone...
I suppose I could write over the level up graphic, then display the effect manualy when a unit gains a level. How did you do it octavius?
07-06-2004, 05:22 AM#5
HexenLordX
Actually, you dont have to make a new model or anything. it can be done with a trigger and a single variable.

Try this:

LevelUP
Events
Unit - A unit Gains a level
Conditions
Actions
Set Player1Level = (Hero level of (Triggering unit))
Hero - Set (Triggering unit) Hero-level to Player1Level, Hide level-up graphics.

Player1Level is a variable

I'm sure theres an easier way, but for now this is decent way to do it.
07-06-2004, 08:13 AM#6
zotax
Heh, I thougth i had tried something similar already, but thanks ^_^
07-06-2004, 12:30 PM#7
th15
Does anyone know the path of the level up SFX? I too want to remove it or at least replace it with a less glitzy thing.
07-06-2004, 10:03 PM#8
Octavius
Abilities/Spells/Other/Levelup/Levelupcaster.mdx