Staredit Network > Forums > SC1 Mapping Tools > Topic: EUD Generator (Old)
EUD Generator (Old)
Oct 3 2011, 9:10 pm
By: Roy
Pages: 1 2 34 >
 

Oct 3 2011, 9:10 pm Roy Post #1

An artist's depiction of an Extended Unit Death

NOTICE: This program is outdated and no longer in active development. Please refer to this topic for the new version of EUDGen: http://www.staredit.net/topic/15793/


For those of you too lazy to learn how to make EUDs but are interested in using some common EUD functionality on a current project of yours, or if you're just looking for a quick reference of common EUD conditions, I have constructed a program that generates the memory conditions for you. All you need to do is fill out a little form and your trigger will be built, much like how you would construct a regular trigger in an editor.

EUDGen1
Formerly EUD Generator


How to use
1) Choose one of the tabs that pertains to your EUD interests (General, Player, Unit, Display Text, Local Only).
2) Choose a type of EUD (e.g., Unit HP).
3) Fill out the information you want to read (e.g., Unit #0 has between 40 and 50 HP).
4) (Optional) Change which players you want the trigger to be owned by and if you want a comment to be generated.
5) Copy the text generated and paste it into Scmdraft's text trigger editor.

Screen Shots

List of Supported EUD Conditions


Notes
  • I themed it like SEN because I made it specifically for you guys. You know I love you, SEN. :wub:
  • I included local only addresses, which are not necessarily multiplayer safe. You can read more about this in Section 5 of my EPD tutorial.
  • If you are unsure what to put in a specific field, let me know. Everything should be easily identifiable, however, if you skim through my EPD tutorial.
  • Technically, Latency is a local address, but since it can only be set universally in-game, it's safe enough to not categorize with the others.
  • I tested most of these quite rigorously, but if I have made an error or if the generated conditions don't work the way you expect, please contact me via PM or this thread.
  • If I am missing any EUD conditions that you would like to see included in this program, let me know!

Version History
  • 1.3: Added EUD Action support. Fixed a comment bug.
  • 1.2: Fixed rare calculation exceptions
  • 1.1: Fixed Player Supply values.
  • 1.0: First public release.

Download
DLDB Page
Mirror link (Opendrive.com)

Note: This program requires the .NET Framework 4 to run.

 

Post has been edited 20 time(s), last time on Feb 11 2013, 3:52 pm by Roy.




Oct 3 2011, 9:19 pm O)FaRTy1billion[MM] Post #2

👻 👾 👽 💪

Does the supply take in to consideration that a value of 2 is shown as "1" in-game? So the natural supply max is 400/400, and a marine costs 2 supply.



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Oct 3 2011, 9:20 pm Roy Post #3

An artist's depiction of an Extended Unit Death

Quote from O)FaRTy1billion[MM]
Does the supply take in to consideration that a value of 2 is shown as "1" in-game? So the natural supply max is 400/400, and a marine costs 2 supply.
NOPE. T_T

v1.1 Here we go.




Oct 3 2011, 9:21 pm Observer12425 Post #4



That little note in tiny font at the very bottom should be up at the top, unmissable, in GIANT font, bold, underlined, and red like so:
NOTICE ME DAMMIT
'Cause it's kinda important.



None.

Oct 3 2011, 9:24 pm O)FaRTy1billion[MM] Post #5

👻 👾 👽 💪

Quote from Roy
Quote from O)FaRTy1billion[MM]
Does the supply take in to consideration that a value of 2 is shown as "1" in-game? So the natural supply max is 400/400, and a marine costs 2 supply.
NOPE. T_T

v1.1 Here we go.
Also an odd value is only ever present in Zerg because of zerglings and scourges ... DatEdit has a nice +0.5 check box, but I don't know if you plan on just ignoring the low bit.



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Oct 3 2011, 9:27 pm Observer12425 Post #6



Pfft, who uses zerglings these days?



None.

Oct 3 2011, 9:41 pm Roy Post #7

An artist's depiction of an Extended Unit Death

Quote from Observer12425
That little note in tiny font at the very bottom should be up at the top, unmissable, in GIANT font, bold, underlined, and red like so:
NOTICE ME DAMMIT
'Cause it's kinda important.
I did a little changing around for you.

Quote from O)FaRTy1billion[MM]
Quote from Roy
Quote from O)FaRTy1billion[MM]
Does the supply take in to consideration that a value of 2 is shown as "1" in-game? So the natural supply max is 400/400, and a marine costs 2 supply.
NOPE. T_T

v1.1 Here we go.
Also an odd value is only ever present in Zerg because of zerglings and scourges ... DatEdit has a nice +0.5 check box, but I don't know if you plan on just ignoring the low bit.
Fixed. I just included odd Zerglings/Scourges in the calculation because a novice would just be entering the number they see in the top right of the screen.




Oct 4 2011, 4:00 am Sacrieur Post #8

Still Napping

Can I sex you?

I mean...

Good job Roy =D

----

I'm experiencing crashes upon start up. Screen won't even come up =p

Post has been edited 1 time(s), last time on Oct 4 2011, 4:57 am by Sacrieur.



None.

Oct 4 2011, 6:18 am Roy Post #9

An artist's depiction of an Extended Unit Death

Quote from Sacrieur
I'm experiencing crashes upon start up. Screen won't even come up =p
That's not supposed to happen, honest. Are there any crash details, or does it just do nothing when you try to run it?




Oct 4 2011, 8:28 am O)FaRTy1billion[MM] Post #10

👻 👾 👽 💪

For me nothing was happening at first, but that was because I was too impatient to wait the seems-like-20 minutes for .NET to do anything. ;o



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Oct 4 2011, 4:58 pm IAGG Post #11



Very nice! Works great!



None.

Oct 5 2011, 12:34 am Sacrieur Post #12

Still Napping



This is what I get after I click it to start and wait about a minute. Reinstalled .NET 4, didn't work.



None.

Oct 5 2011, 6:52 pm Roy Post #13

An artist's depiction of an Extended Unit Death

Updated to version 1.2 for those of you having Sacrieur's problem. Turns out it was an overflow issue (ironic, isn't it?) that lead to a divide-by-zero error.




Oct 5 2011, 7:27 pm Sacrieur Post #14

Still Napping

I would like to see support for EUD actions eventually. Also upgrade status for conditions =p



None.

Oct 5 2011, 7:51 pm Roy Post #15

An artist's depiction of an Extended Unit Death

Quote from Sacrieur
I would like to see support for EUD actions eventually.
I think I can do that sometime. I just wish SCMD2 allowed for EPD actions.

Quote from Sacrieur
Also upgrade status for conditions =p
Eh? That would be kinda messy, considering how upgrades are stored in memory. Are you talking about the upgrades a player has, or stats on the upgrade (mineral cost, time, etc.)? I assume it's the former, because the latter would be a weird thing to want to detect.

It would require for most upgrades that you also know the status of at least one other upgrade. The worst case scenario (1/4 of the upgrades) is that you have to specify three other upgrade statuses to get an accurate value. The best case scenario (also 1/4 of the upgrades) is that you don't need to specify any other upgrade status than the one you are interested in.

TL;DR: Sounds like a pain. I'll think about it.




Oct 5 2011, 7:56 pm Sacrieur Post #16

Still Napping

Yes, how many upgrades the player has (and tech upgrades too).



None.

Oct 5 2011, 9:23 pm O)FaRTy1billion[MM] Post #17

👻 👾 👽 💪

The messy part is that SC and BW upgrades/techs are separate, and they don't fall on 4-byte intervals.

I still wanted to make this, I just had no idea how to make the interface. :( I have ideas for EUD actions, too.

To enable EUD Actions... If people used StarEdit still, it is really easy to export a *.trg file.. What if you opened the map and it added the triggers to the map itself? Even then, doesn't SCMDraft shit all over them?

EDIT:
"Actions:
Set Deaths("Int:222484", "Terran Marine", Add, 4294967294);"
*pressed compile*
"Error at line 5: playername expected"

God damnit.

EDIT moar:
As long as you use the classic editor, the numbers don't change.

Post has been edited 5 time(s), last time on Oct 5 2011, 9:33 pm by FaRTy1billion.



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Oct 5 2011, 9:34 pm Roy Post #18

An artist's depiction of an Extended Unit Death

Quote from O)FaRTy1billion[MM]
If people used StarEdit still, it is really easy to export a *.trg file.. What if you opened the map and it added the triggers to the map itself?
But I don't know how to do that.

Quote from O)FaRTy1billion[MM]
As long as you use the classic editor, the numbers don't change.
Yeah, that's not really a limitation I want to enforce. I'll just make them EUDs.




Oct 6 2011, 8:34 am O)FaRTy1billion[MM] Post #19

👻 👾 👽 💪

I could just help you add features or something. :\ Starting one of these entirely new from scratch seems pretty silly (unless it would be best).



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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Oct 6 2011, 6:08 pm Roy Post #20

An artist's depiction of an Extended Unit Death

Quote from O)FaRTy1billion[MM]
I could just help you add features or something. :\ Starting one of these entirely new from scratch seems pretty silly (unless it would be best).
Up to you. If you don't start from scratch, this program will always rely on .NET.




Options
Pages: 1 2 34 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:41 pm]
razorback9423 -- NudeRaider
NudeRaider shouted: MTiger156 power over:wob:ing?
No, POWER UNDER :wob: ing!
[12:53 pm]
NudeRaider -- MTiger156
MTiger156 shouted: Power over:wob:ing
power over:wob:ing?
[12:27 pm]
MTiger156 -- crap...
[12:27 pm]
MTiger156 -- Power over:wob:ing
[11:50 am]
UEDCommander -- WARNING: Unit Unplaceable! (u) (69, 69)
[09:26 am]
lil-Inferno -- :wob:
[08:25 am]
Black_Overseer -- razorback9423
razorback9423 shouted: WARNING: Unit Unplaceable! (Aldaris) (1656,2996)
You have no power here, Gandalf the Grey.
[05:43 am]
razorback9423 -- WARNING: Unit Unplaceable! (Aldaris) (1656,2996)
[05:27 am]
razorback9423 -- stop
[05:27 am]
NudeRaider -- :wob: you can't :wob: us
Please log in to shout.


Members Online: Roy, ewqe, Moose