I stated my idea for this in the UMS Theorys and Idea forum and no one was able to give anything useful back to me so this is what I'm looking for...
This might sound complex but I know what I'm thinking in my mind. I am currently making a CTF map that has classes in it that able to cast there own special spells. My first system of dealing damage with the spells was having a virtual health system, but then I thought to myself "what about the melee classes?". My second system was dealing with scarabs and each spell would send out a certain number of scarabs to a foe or whatever they needed to do to deal damage. I found that to become too complex, but the melee classes could work. And now this is my concept of what I have come up with. I don't know if anyone else has done this before but this is what I thought of. My current system is going to have all units have a health of 10, that's right just 10. I will have all unit damages be between 1-9, not 0 because you can't have that and not 10 because that would kill them. Once a unit is hit with a melee character in this case, and the melee unit deals 5 damage. The EUD will detect that the player unit currently has 5 health and instantly changes the health to 100%, but here is the kicker. The REAL health is within the minerals. If the EUD condition comes up with the unit having 5 health, minerals are subtracted (just like health can't be) and that will be there current health after the attack. Once the minerals reach 0 then the unit will die. But what if your playing a class which doesn't have as much melee power? That other class will have a damage of 4 on the unit. The EUD will detect only having 4 health and will subtract a less amount of minerals making up for the 'weaker' attack. But then I thought of another big plus, the spells and their damages. The damage of the spells can simply be subtracted right from the minerals and I don't have to worry about those stupid scarabs or anything else. Simply subtract and done. My only fear is that I'm not quite sure that the EUDs will work like I want them to. If they do then we might have ourself a new way of playing RPGs will spells in them...
Sorry for the long post but you asked for my concept and there is it...
Basically, I'm asking for a system that will detect a certain units health on a certain player and when that certain health is reached then a certain amount of minerals will be lost. If anyone has any question then please ask me
None.
Well, you're in luck, someone at Maplantis posted a map just today with EUD health detection:
http://whathuh05.googlepages.com/EudHealthDetection.scx
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
Haven't checked the map, but I think it won't help you - at least it won't solve all problems. EUD's conditions check for unit ID's which are for sure different on you map - thus you need different values.
What you need is a tutorial on how to find the correct values representing the memory locations.
Rockz @ maplantis seems to know how to do it, as he says it's quite easy.
(And I think he's right: It IS easy if you know how to.
)
You should talk to him.
Farty has a program at his website(
http://Farty1billion.DynDNS.org) that lets you find the right memory offsets.
None.
I do have Farty's programs right from his site... But I'm not sure how to use it or even make up the triggers when I know the IDs... Going to check the map and see if I understand things more...
None.
We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch
They're a lot easier than you'd think. I ended up learning how to hex edit triggers because it's so much easier that way. Only Uberation really lets you make EUD triggers, and it's not all that easy to edit or make duplicate triggers with.
You only use Farty's program to find the unit IDs, you need to use Uberation to actually make the triggers, or hex editing.
Post has been edited 1 time(s), last time on Mar 26 2008, 1:05 am by Falkoner.
None.
Hex Editing is real easy. All you have to do is find the proper line in the 36,000 strings!
None.
I'm still learning how to use Farty's program... Oh, and I can't wait to go through 36,000 strings...
None.
You don't have to, Uberation works just fine.
None.
You can also use the .trg's farty's program exports or Starforge with the edited data files (
doodle77.dyndns.org/data.zip) or Classic Trigedit (to use unit IDs instead of names use UnitID:#)
None.
If you can control the unit IDs you can do it just fine. My program finds the unit IDs and players from the offsets, not finds the offsets. xC
It is actually quite easy to find the exact location to hexedit triggers.
Finding conditions: 2400*triggerID + (20*conditionID)
Finding actions: 2400*triggerID + 320 + (32*ActionID)
Also I found a thing with my program where it returns the player ID 1-based but the trigger exporter exports it into *.trg as 0-based.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
http://www.staredit.net/maplantis/index.php?sid=2320a9adb5;post=63280Have fun. I should make a tutorial on this...
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
What are the addresses to the .dat files in memory?
None.
Have fun. I should make a tutorial on this...
That was something that was suggested to me in another topic, so I've already started making one. Although I suppose if one resource is a bit unclear or questionable, a secondary resource is always nice.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!
Have fun. I should make a tutorial on this...
That was something that was suggested to me in another topic, so I've already started making one. Although I suppose if one resource is a bit unclear or questionable, a secondary resource is always nice.
Well I already made that simple one on maplantis with pictures. I say I'm going to do a lot of things, but I usually never do. For example, my helm's deep map is stalled because I don't care anymore, and everyone plays annatar (ugh).
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Yeah, annatar gets really annoying. All i ever do in it istry to assassinate ppl with snaga and bomb and get assassinated by the hero specials anyway. I started a helms map too, i'll also probably never finish it.
I'm on topic, really i am.
As for health detect, is it possible to get it to work with a created unit, specifically a replacement for something? Like if unitID 3 dies, will the next one created be unitID 3 or like 500?
None.
I pretty sure that every units assigned id is permanent.
Well. If you preplace the unit they will be... but if it is constantly getting removed, recreated, units are being built while it's dead... it may get scrambled. If you do detect HP or unit settings, you have to actually take steps to make sure that the unit
always occupies the same slot.
But to answer your question... If you create a unit it will fill the highest slot (lowerst number) it can. So if your unit is preplaced and nothing before it gets killed/removed, you can recreate it in the same slot.
TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB -
topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig -
topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!