Veterans
Apr 11 2010, 1:55 am
By: dguy107  

Apr 11 2010, 1:55 am dguy107 Post #1



I have a problem with a current project im working on. It's a light mod that has many fun features to it. One of those is Veteranism, my idea was to have a unit gain an additional upgrade based upon that units number of kills. The only thing wrong with that, is that starcraft doesnt have triggers that focus on one unit. Does anyone know how i can get this accomplished?



None.

Apr 11 2010, 1:58 am CecilSunkure Post #2



You can't give a single unit upgrades, sorry. You can't really detect which unit kills what either, in a general sense.

You can detect which player kills what unit, and if you have isolated units you can detect which one makes a kill by detecting the effects of a unit dieing. These effects would be a lack of a unit (the one that died), an increase in a player's kill score, an additional death added to whoever lost the unit, etc.

This applies only to traditional triggers since you can do what you want with EUD conditions or modding*

Post has been edited 1 time(s), last time on Apr 11 2010, 2:05 am by CecilSunkure. Reason: Forgot about EUD/Mods



None.

Apr 11 2010, 2:00 am Kaias Post #3



Quote from dguy107
I have a problem with a current project im working on. It's a light mod that has many fun features to it. One of those is Veteranism, my idea was to have a unit gain an additional upgrade based upon that units number of kills. The only thing wrong with that, is that starcraft doesnt have triggers that focus on one unit. Does anyone know how i can get this accomplished?
You could do it with EUD Actions to upgrade the unit based off of how many kills it has (read from EUD Conditions). I'm don't know off hand the addresses for either, however.

Edit:
Quote from CecilSunkure
You can't give a single unit upgrades, sorry. You can't really detect which unit kills what either, in a general sense.

You can detect which player kills what unit, and if you have isolated units you can detect which one makes a kill by detecting the effects of a unit dieing. These effects would be a lack of a unit (the one that died), an increase in a player's kill score, an additional death added to whoever lost the unit, etc.
If he's making a mod (maybe he meant map and is just unfamiliar with the vernacular) then he may as well use a version where EUD actions aren't patched. Logically, EUD kill count should not only be readable but easy to find.

Edit Edit: Of course, this could only ever work on specific units, not units types or units in general.



None.

Apr 11 2010, 2:24 am rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

Kill count only goes up to 255, as it is one byte, but you're in luck, as it's the 4th byte.

+0x8F bKillCount

As this is in MMA, I would assume you'd want to do these things via triggers. However, that would require at least one trigger for each unit, maybe 2+. You can't modify a single unit's damage, only give them a speed upgrade, decrease their cooldown, and give them extra HP. This would all require EUD Actions, however.

I would like to think using a plugin (or you know, using a better game like WC 3) would be easier and would work out better.

If you are interested in the mod aspect, someone can move it to "Modding Assistance" rather than "Mapping Assistance". In mapping, the answer is no. In modding, the answer is if you try hard enough.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[02:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: RIVE