Staredit Network

Staredit Network -> UMS Assistance -> Health stopping help in map
Report, edit, etc...Posted by Fadetoblack on 2006-06-16 at 21:10:58
How would you set up a map with people getting certain amounts of kills for a seperate unit chosen and then raising the hp depending on the amt of kills?

Ex: Choose a gol (renamed) and on lvl 1 is has 17 hp, but then on lvl 2 (after a certain amt of kills) gets more hp...how would u do that...
Also, the hp for each unit would have to be diff fromt he beginning to the end
Report, edit, etc...Posted by Noober on 2006-06-16 at 21:14:15
You can either use modify unit HP%, or use virtual HP for precise HP amounts.
Report, edit, etc...Posted by fritfrat(U) on 2006-06-16 at 23:19:16
Most common, I'd say, is just using percentages. They just have it so the goliath has 170 health, but at level 1, when he heals, he only gets healed to 10%, and he starts at 10%. Leveling up would be done by making it so the unit heals to 20%, 30%, etc.
Report, edit, etc...Posted by Fadetoblack on 2006-06-17 at 00:52:45
would u need switches at all?
Report, edit, etc...Posted by Zeratul_101 on 2006-06-17 at 01:16:27
never use switches for a linear system like this. it over complicates it and wastes switches.

you should have a leaderboard somewhere, just set it so when the leaderboard is at least w/e amount set to w/e hp
Report, edit, etc...Posted by Grand_Dracolich on 2006-06-17 at 10:29:48
Or you could just have it create a unit (like a data disk) somewhere and use a bring condition. Every time you level up it create the unit at that location, when you heal, it says Bring exactly 1 data disk to location, set hp to 10%, bring exactly 2, 20% hp etc.
Report, edit, etc...Posted by Fadetoblack on 2006-06-17 at 15:06:02
would u mind showing it in trig form?
Report, edit, etc...Posted by Urmom(U) on 2006-06-17 at 15:34:25
Here is an example from the tutorials database.
http://www.staredit.net/index.php?tutorial=73
Report, edit, etc...Posted by Shocko on 2006-06-17 at 16:23:28
QUOTE(urmom @ Jun 17 2006, 11:34 AM)
Here is an example from the tutorials database.
http://www.staredit.net/index.php?tutorial=73
[right][snapback]508298[/snapback][/right]


i do believe at the top it says to check the tutorial database before posting fadetoblack
Report, edit, etc...Posted by SunMoon_Emperor on 2006-06-18 at 12:26:48
Or you could like turn a 10 HP ghost into a 20 HP Kerrigan, and later to a 30 HP Duran and later to a 40 HP Stukov?
Report, edit, etc...Posted by Zeratul_101 on 2006-06-18 at 13:37:30
the whole point of the system is to NOT use other units so you don't lose your hotkey, among other things
Report, edit, etc...Posted by Grand_Dracolich on 2006-06-18 at 14:49:10
Here's the trigger form of it:

Your standard level up:

(Score) Current player scores at least 500 points (or whatever)

Create data disk at location.

Then when you heal:

brings at least 1 (whatever) to heal
brings exactly 1 (2, 3, 4 etc.) data disk to location

Set unit Hit Points to 10% (20, 30, 40 etc.) for unit at heal

If you're going to have it exactly like that, then you should have a data disk at the location to tell the trigger that you're at level 1 (10% hp).

Needless to say, it was VERY time consuming to do that with a potion system and a mass heal spell ;p.
Report, edit, etc...Posted by Noober on 2006-06-18 at 15:48:27
Never use real units as counters. It can mess up easily and looks quite noobish. Use DCs or scores instead.
Report, edit, etc...Posted by Zeratul_101 on 2006-06-18 at 16:04:06
ya, never use physical counters unless there are a limited number of uses and there are many heal spots. even then, they should be invisible. like, why would you pick data disks of all things...
Next Page (1)