Staredit Network

Staredit Network -> UMS Assistance -> Modifying unit energy
Report, edit, etc...Posted by Staredit.Net Essence on 2005-02-26 at 01:44:16
Umm... I have just realised that I cannot find where to change a unit's total energy, and I am curious if you can, I'm not a noob or nuttin I think I must just be overlooking it or something, I have been sick for awile now and tis effecting my brain far to much confused.gif
But anyhow, where can you change the total energy a unit can have? Like say if you wanted a ghost to have a maximum of 5 energy points, if that is possible, how would you go about doing it?
Report, edit, etc...Posted by RexyRex on 2005-02-26 at 01:46:16
You can change it, but only by percents.
Modify unit energy trigger...
And, uh, detecting unit Mana is a different story, and it's not fun.
Report, edit, etc...Posted by LegacyWeapon on 2005-02-26 at 01:52:14
The closest way to do that is to have the mana constantly at 5. It won't ever go up, but it won't go down either.

We have tutorials for everything!
http://www.staredit.net/index.php?tutorial=23

PS: SC calls it energy and not mana tongue.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2005-02-26 at 02:21:54
Oh dam, I thot you could.

ADDITION:
QUOTE(RexyRex @ Feb 26 2005, 12:46 AM)
And, uh, detecting unit Mana is a different story, and it's not fun.
[right][snapback]153524[/snapback][/right]

So how do you go about detecting energy? I've gone through alot of hell for some of my maps, I aint gona stop now happy.gif
Report, edit, etc...Posted by RexyRex on 2005-02-26 at 02:25:12
Um, in a nutshell, use death counters to sync with the unit energy. If you don't understand what I just said then there is no use in explaining it to you.
Report, edit, etc...Posted by LegacyWeapon on 2005-02-26 at 02:26:25
Rexy, keep in mind you can't detect every spell cast so I highly doubt it's possible.

So no it's not possible, I'm very sorry to say crazy.gif
Report, edit, etc...Posted by Staredit.Net Essence on 2005-02-26 at 02:46:44
QUOTE(RexyRex @ Feb 26 2005, 01:25 AM)
Um, in a nutshell, use death counters to sync with the unit energy.
[right][snapback]153549[/snapback][/right]


Please explain further.
Report, edit, etc...Posted by LegacyWeapon on 2005-02-26 at 02:49:27
What she is basically saying is you have a virtual counter that counts the energy the unit has as the game progresses. The only problem with that is you cannot detect all spells cast so this system doesn't work.

There is no way.
Report, edit, etc...Posted by Turin on 2005-02-26 at 04:14:26
To get the right number of energy, you can figure out the percent it is based on the amount of energy the unit has. If the unit has 200 energy then 200(total energy)/100(percent)=2 and that is how many energy points for every percent is for that unit. So if you modify that unit's energy, just multiply the end product (2) by the percent you are modifying it and that is your total change in energy.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-02-26 at 04:39:46
And that concludes Algebra 101.
Report, edit, etc...Posted by Warlord on 2005-02-26 at 05:01:11
I was thinking more Calculus... Anyway I am almost positive I was playing an old DnD map and one of the units had 300 energy. I think it was the Mage(High Templar). maybe an editor that hasnt been passed around? Again it was a pretty long time ago, so I'm not quite sure.
Report, edit, etc...Posted by Turin on 2005-02-26 at 06:40:36
I said that because I dont know her mapping level or her age. The problem with the new board is it doesnt show mapping skill anymore or your minerals chair.gif

That is just an easy way to do what she was asking explained in great detail.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-02-26 at 07:56:04
Warlord, it was probolly a hero unit.

Turlin, The mapping level was removed because so few people used it properly. I belive the admins are working on / planning a rating system for your mapmaking level.
Report, edit, etc...Posted by DT_Battlekruser on 2005-02-26 at 10:51:34
QUOTE((U)Bolt_Head @ Feb 26 2005, 01:39 AM)
And that concludes Algebra 101.
[right][snapback]153600[/snapback][/right]


Algebra 101 indeed. It would work... if Starcraft could do that.
Report, edit, etc...Posted by chuiu on 2005-02-26 at 11:39:25
QUOTE(Turin @ Feb 26 2005, 05:40 AM)
I said that because I dont know her mapping level or her age. The problem with the new board is it doesnt show mapping skill anymore or your minerals chair.gif

That is just an easy way to do what she was asking explained in great detail.
[right][snapback]153624[/snapback][/right]

We had advanced mappers asking what junk yard dog did.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-02-26 at 23:24:18
QUOTE(Turin @ Feb 26 2005, 03:14 AM)
To get the right number of energy, you can figure out the percent it is based on the amount of energy the unit has. If the unit has 200 energy then 200(total energy)/100(percent)=2 and that is how many energy points for every percent is for that unit. So if you modify that unit's energy, just multiply the end product (2) by the percent you are modifying it and that is your total change in energy.
[right][snapback]153590[/snapback][/right]


K that is highly irrelevent basic math, I am talking about modifying total energy or detecting energy amout, not modifying energy amout.
Report, edit, etc...Posted by M_s4 on 2005-02-27 at 17:05:18
Where can you find junk yard dogs these days?

I checked all the downloads in the trigger section and I can't seem to find one.

I'm trying to download a "Dodge the Rapist" map because they have it
Report, edit, etc...Posted by Staredit.Net Essence on 2005-02-27 at 19:08:42
Aint Junk Yard under "Run AI Script At Location" in basically all map editors? confused.gif
Report, edit, etc...Posted by chuiu on 2005-02-27 at 19:25:45
If you aren't using StarEdit, I'm pretty sure you can see/use it.
Report, edit, etc...Posted by Turin on 2005-02-27 at 22:04:25
The dude asked to modify the TOTAL amount now? Basically anything in the unit settings can only be changed in unit settings, not in game. You can only change the amount of that total that you set. It is only possible to give MORE than total by setting it to 100-255 percent. In StarForge you can do that closedeyes.gif
I did the basic math junk only because I was very bored and I feel like explaining everything I do. It is like listening to yourself talk, you learn to speak better.
Report, edit, etc...Posted by LegacyWeapon on 2005-02-27 at 22:12:48
I'm pretty sure when he said total in that post a few above yours, he meant how to set a custom max energy level.
Report, edit, etc...Posted by Staredit.Net Essence on 2005-02-28 at 02:02:19
Yes, that is right. But now I am asking how to find the energy level, because you can't change max, and someone said it could be done.
Report, edit, etc...Posted by chuiu on 2005-02-28 at 07:57:36
It can't be done. You can only simulate it.
Report, edit, etc...Posted by warhammer40000 on 2005-02-28 at 14:40:39
Im not sure if someone already told u this, i didnt look at that one tutorial some1 showed u but here is something like it is...


Trigger
Description:
Engery moding
Players:
¤ Any player
Conditions:
¤ Always
Actions:
¤ Set unit energy to 5%


that sets it to 5% in the beginning but thats all........it will regenerate
Report, edit, etc...Posted by LegacyWeapon on 2005-02-28 at 14:48:14
This problem is already discussed. YOU CANNOT CREATE AN ENERGY MAX!

We already talked about what you are saying in the second post. Next time please read the entire thread before posting. Thank you.
Next Page (1)