Staredit Network

Staredit Network -> UMS Assistance -> Lvls And Hp Up + Healing Trigs...
Report, edit, etc...Posted by Orc on 2003-12-10 at 23:57:28
Another problem...I know how to do the trigger but I'd like to know if theres a shortcut...Im doing a map where you start out at 20% hp and when you lvl up you gain 5-7%...and when you level up a switch is set for healing and inns....But when I heal I have to have 'switch' is set for certain levels and have the action as set to 20% or 25 or 32 or something...If i make sense is there any SHORTER way?
Report, edit, etc...Posted by chuiu on 2003-12-11 at 01:35:49
Well you might not want to use switches if this is multi player.

What I suggest:

Current player commands at least 1 "powerup".

Modify hp for units of current player to 20%.

---

Current player commands at least 2 "powerup".

Modify hp for units of current player to 25%.

---

Its easy to understand, neh?
Report, edit, etc...Posted by Yoshi da Sniper on 2003-12-11 at 08:58:53
The problem with that technique, is that if all the units on the map are maxed out (1650) then you won't get your powerup. Instead, do this:

(X being a unit that the Player will never command)

HEAL...
Player suffers death of exactly 1 'X'.
---
Modify hp for units of current player to 20%.

LEVEL UP
{CONDITIONS TO LVL UP}
---
Set deaths for player, add 1 death of 'X'.

NEW HEAL
Player suffers death of exactly 2 'X'.
---
Modify hp for units of current player to 25%.
Report, edit, etc...Posted by chuiu on 2003-12-11 at 09:36:36
QUOTE
The problem with that technique, is that if all the units on the map are maxed out (1650)


I've only encountered that in money maps. Where 50% of the units on the map are ore and gas. tongue.gif
Report, edit, etc...Posted by .Coko[CK] on 2003-12-11 at 13:15:14
Yoshi has the best way really, saves on units. Just remember to keep medics out of effecting you, by setting their energy to zero (Trigger Wise), and the Heal change it so it cost a bit more! That way they won't do it!
Report, edit, etc...Posted by Yoshi da Sniper on 2003-12-11 at 14:20:57
Just disable the ability for the medic to heal, res, and optical. Thus saving on triggers biggrin.gif

Okay, im overdoing it.
Report, edit, etc...Posted by .Coko[CK] on 2003-12-11 at 17:47:00
Yeah, but you might want to use it for later! Maybe its an important character...
Report, edit, etc...Posted by Orc on 2003-12-11 at 18:29:52
Im talking about like, walking into an inn and healing, say your at level one, you heal but not to 100% it set you to 25% ...And if your level 2 it sets you to 25% etc...

For this id put at the end of my leveling up triggers for each set switch 'level 1 on' and then when you go to a heal have it as
CONDITIONS
Switch 'level 1 on' is set
Player current player brings at least 1 any unit to location 'inn'
current player accumulates at least 75 minerals

ACTIONS
modify unit hit points for all any unit owned by current player to 25 %
modify player resources subtract 75 minerals
move all any unit for current player from location 'inn' to 'out of inn'
comment 'inn one'
preserve trigger

id think it would look something like that, then just change teh swicth and modify hp range...but that would take a LONG time...that was my plan on doing it...
Report, edit, etc...Posted by Mini Moose 2707 on 2003-12-11 at 20:55:47
Meh. What if you want multiple Inns?

Players: Meh
Conditions: Current Player brings 1 men to Inn
Current Player Accumulates at least x Ore
Actions: Create one Flag (or something else non-moving) for Current Player at Inn.
Move all men for Current Player at Inn to HealingArea
Subtract X Ore
(Make multiple triggers, with different Inn locations)

Players: Meh
Conditions: Current Player brings 1 men to HealingArea
Current Player has (whatever required for level)
Actions: Set Hitpoints to (whatever HP% the level gets)
Move all men for Current Player at HealingArea to HealingArea2
(Make multiple triggers for each Level %)

Players: Meh
Conditions: Current Player brings 1 men to HealingArea2
Actions: Center Location Meh on Flag owned by Current Player at Anywhere
Move all men for Current Player at HealingArea2 to Meh.
Remove Flag.

You can also use waits to save a location, but I made this so it won't interfere with 0 Wait (Hyper) triggers. You can also use a countdown timer and such, but I thought you might be using those too. Meh.
Report, edit, etc...Posted by .Coko[CK] on 2003-12-13 at 08:07:45
Yeah, that looks good, i would rather use a Custom than create a unit myself.
Report, edit, etc...Posted by Staredit.Net Essence on 2003-12-13 at 08:25:34
Or use minerals instead for healing lvl.

Conditions
- Bring unit to location
- Accumulate certain mineral ammount
Actions
Set unit hp to certain percent
Report, edit, etc...Posted by Mini Moose 2707 on 2003-12-13 at 08:53:53
You can use whatever you want. The trigger is easily and highly customizable.
Report, edit, etc...Posted by Orc on 2003-12-13 at 15:16:33
I cant use minerals or gas cuz I use minerals for upgrades inn etc..and gas for mana and spells

EDIT:Ok I got it an all the inn trigs are set up...Thanks guys.
Report, edit, etc...Posted by .Coko[CK] on 2003-12-13 at 18:30:44
Good to hear! Hope to see this map soon man, we can help beta it! Our skills on editing mean we know what might be wrong!
Report, edit, etc...Posted by FizzleBoink on 2003-12-13 at 23:24:44
CRITERIA:
- HP Modification
- Level up?
- Score (Custom, Kills and Razings, etc..)
- Level Requirement (500, 1000, etc..)
- HP %

TRIGGER CONDITIONS:
- Current Player *score* is at least *Level*
TRIGGER ACTIONS:
- Set hit points for all men owned by Current Player at "Anywhere" to "HP %".
- Modify resources for Current Player: Add 1 Minerals/Gas
- Modify score for Current Player: Add 1 Custom
Report, edit, etc...Posted by .Coko[CK] on 2003-12-14 at 09:46:33
Yeah that seems to be the best system, just keep the use of wait triggers down, and the number of units as well, also try and make it as quick as possible, while being immune to cheats and bugs! Like the Golem part stuff.
Report, edit, etc...Posted by FizzleBoink on 2003-12-16 at 04:05:52
Best and efficient!!!
Report, edit, etc...Posted by .Coko[CK] on 2003-12-16 at 11:56:36
QUOTE(InTeRFeRe @ Dec 16 2003, 04:05 AM)
Best and efficient!!!

Oh Yeah!!! 15 Characters Long!!! GO GO GO
Report, edit, etc...Posted by Revelade on 2003-12-27 at 19:44:19
I would rather think that doing deaths of units is a much better way. You can use deaths of beacons, powerups, units that the player will not use. It's much more flexible and versatile. There is no easier way unfortunately, the more levels you have for heroes, the more triggers you will have to do.
Next Page (1)