Staredit Network

Staredit Network -> UMS Assistance -> Possible to detect unit HP?
Report, edit, etc...Posted by LurkerEgg on 2005-12-28 at 15:03:16
confused.gif Could I, say, have an HP bar that falls when a unit is injured, then heals the unit? Possible?
Report, edit, etc...Posted by NerdyTerdy on 2005-12-28 at 15:26:25
Download uBeR@TiOn it has EUD Conditions which allow you to detect a unit's HP.
Report, edit, etc...Posted by Mr_Mooo_Cow(U) on 2005-12-28 at 15:26:52
I might not be understanding your question completely but...
1) Does the hp bar not fall automatically when a unit is attacked? (The way sc is programmed.)
2) Can you not set a unit's HP(percent) with 1 simple trigger?

But based on your title... I assume you only want to alter a unit(s) HP at a given HP, then I would use EUDs?
Report, edit, etc...Posted by Voyager7456(MM) on 2005-12-28 at 15:41:12
Do you want to have a Virtual HP System that goes down when the unit is damaged? Ex: Marine takes 5 damage, subtract 5 from death count, heal marine?

Uber@tion is the way to go.
Report, edit, etc...Posted by LurkerEgg on 2005-12-28 at 15:42:11
I'm going to use Data Discs for health bars at the top of the minimap, I need something that detects when a Marine or whatever is damaged, heals it, and gives 1 data disc at the hp location to a diff player.
Report, edit, etc...Posted by Sicarul on 2005-12-28 at 15:44:21
I didn't know that was even possible O.o i guess with EUD it is...

But with EUD you don't need to download some special patch to play the map???
Report, edit, etc...Posted by Kumano on 2005-12-28 at 15:57:00
Yes, it is possible with EUD conditions, with uBeR@TiOn you can do the EUD conditions. There is one problem with this though, is that you will need to know the unit number (in order it was placed in) to use them well.

EUD actions have been patched, the conditions were not patched since they were harmless.
Report, edit, etc...Posted by LurkerEgg on 2005-12-28 at 16:16:59
Okay, so how do I know the unit #? If I place a unit, delete it, and re-create it, will it be #1 or 2? Etc.
Report, edit, etc...Posted by Kumano on 2005-12-28 at 16:57:00
Well, it depends on the order it was placed in... If you placed it before any other unit, it will be unit 1, and if you placed it after 1 unit it will be unit 2 and so on. If you look in outdated programs, you can download 'SCMToolkit' which is the only program I know of so far that can tell you what unit number it has. If the unit is being created in game, try pre-placing it then moving it instead, it's difficult to make sure a created unit ends up in the correct unit slot you want.
Report, edit, etc...Posted by YoShi-M on 2005-12-28 at 17:10:49
yeahh, you can use EUD's with uberation, but then again EUD's are banned, still usable
Report, edit, etc...Posted by Kumano on 2005-12-28 at 17:12:22
EUDs are not banned, and EUD actions were patched. The conditions are still available because they were harmless (hasn't this already been said in this thread?).
Report, edit, etc...Posted by LurkerEgg on 2005-12-29 at 10:50:15
QUOTE(Kumano @ Dec 28 2005, 05:12 PM)
EUDs are not banned, and EUD actions were patched. The conditions are still available because they were harmless (hasn't this already been said in this thread?).
[right][snapback]391736[/snapback][/right]


Yeah, by you cool1.gif

Thanks.
Report, edit, etc...Posted by M_s4 on 2005-12-29 at 15:39:38
Unit HP could be either done with one of the many methods of virtual hp (but I don't think that this will work on what you are trying to do), or the (way cooler in my opinion), with Uberation's Unit HP detection condition. As for the HP bar, look in my little concept I made a few threads down in http://www.staredit.net/index.php?showtopi...ndpost&p=389675

The detection is pretty self-explanatory with Uberation if you know how to use it well. Then you just gotta give points to a death counter and raise up the HP to max and implement the death counts to the system that I showed you in the URL. That way you can heal HP on the bar too.



You better, better, make this system multiple-triggered when you are conditioning for HP on the health, because if you make just one trigger, than that means that all attacks do same damage, and the only thing that matters is how "fast" your enemy can attack and that there is only one level of attack, if you get what I mean.

Also, even with hyper-triggers if more than like 20 units are attacking you, like in an massive kill RPG, the system won't be fast enough to keep up with the attacks being inflicted. If you multiple type damage it, then some of the attacks will be stacked but while the trigger is going on, the extra damage will just be made up for and it will be put just to 100% HP. But, unless you are going to have an HP bar with like 3 lines or have one that is 250 hits long, I doubt you will have 20 units attacking you if you are to implement this into a map.
Report, edit, etc...Posted by LurkerEgg on 2005-12-30 at 10:55:44
QUOTE(M_s4 @ Dec 29 2005, 03:39 PM)
Unit HP could be either done with one of the many methods of virtual hp (but I don't think that this will work on what you are trying to do), or the (way cooler in my opinion), with Uberation's Unit HP detection condition. As for the HP bar, look in my little concept I made a few threads down in http://www.staredit.net/index.php?showtopi...ndpost&p=389675

The detection is pretty self-explanatory with Uberation if you know how to use it well. Then you just gotta give points to a death counter and raise up the HP to max and implement the death counts to the system that I showed you in the URL. That way you can heal HP on the bar too.
You better, better, make this system multiple-triggered when you are conditioning for HP  on the health, because if you make just one trigger, than that means that all attacks do same damage, and the only thing that matters is how "fast" your enemy can attack and that there is only one level of attack, if you get what I mean.

Also, even with hyper-triggers if more than like 20 units are attacking you, like in an massive kill RPG, the system won't be fast enough to keep up with the attacks being inflicted. If you multiple type damage it, then some of the attacks will be stacked but while the trigger is going on, the extra damage will just be made up for and it will be put just to 100% HP. But, unless you are going to have an HP bar with like 3 lines or have one that is 250 hits long, I doubt you will have 20 units attacking you if you are to implement this into a map.
[right][snapback]392759[/snapback][/right]


Nope, with your system and Uber@tion I'm good, I probably wouldn't even need hyper trigs - there aren't many units on this map.
Report, edit, etc...Posted by l3liZzArD-X on 2005-12-30 at 11:03:29
Mr Lurker egg man i must say i love those quotes you have they made me laugh smile.gif
Yes this is completely off topic
Next Page (1)