[skip all navigation]

[EUD] EUD Generator, Version 1.3

Pages: 1 2 3 >
Creator: Roy
Time: Oct 3 2011, 9:10 pm

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

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
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.

EUD Generator
Version 1.3


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 (i.e. Unit HP).
3) Fill out the information you want to read (i.e. 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
Download link (Staredit.net)
Mirror link (Opendrive.com)

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

 
This post was edited 15 times, last edit by Roy: May 21 2012, 12:08 am.

Top

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

[Avatar]
‮.rapsdleF
offlinecontact
Rank: Elite
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.

SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
TinyMap2 - Latest in map compression!
MapSketch - New image->map generator!
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - Now has .dat references! Help out by adding your EUDs!
EUDTrig - Quickly and easily convert offsets to EUDs! (extended players supported)
(user posted image) This page has been viewed (user posted image) times!
Top

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

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
Quote from O)FaRTy1billion
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.

Top

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

[Avatar]
offlinecontact
Rank: Member
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.

Top

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

[Avatar]
‮.rapsdleF
offlinecontact
Rank: Elite
Quote from Roy
Quote from O)FaRTy1billion
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.

SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
TinyMap2 - Latest in map compression!
MapSketch - New image->map generator!
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - Now has .dat references! Help out by adding your EUDs!
EUDTrig - Quickly and easily convert offsets to EUDs! (extended players supported)
(user posted image) This page has been viewed (user posted image) times!
Top

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

[Avatar]
offlinecontact
Rank: Member
Pfft, who uses zerglings these days?

Top

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

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
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
Quote from Roy
Quote from O)FaRTy1billion
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.

Top

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

[Avatar]
offlinecontact
Rank: Regular
Can I sex you?

I mean...

Good job Roy =D

----

I'm experiencing crashes upon start up. Screen won't even come up =p
This post was edited 1 time, last edit by Sacrieur: Oct 4 2011, 4:57 am.

"Do whatever you will, but first be such as are able to will."
- Friedrich Nietzsche
Top

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

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
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?

Top

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

[Avatar]
‮.rapsdleF
offlinecontact
Rank: Elite
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

SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
TinyMap2 - Latest in map compression!
MapSketch - New image->map generator!
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - Now has .dat references! Help out by adding your EUDs!
EUDTrig - Quickly and easily convert offsets to EUDs! (extended players supported)
(user posted image) This page has been viewed (user posted image) times!
Top

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

[Avatar]
offlinecontact
Rank: Member
Very nice! Works great!

Top

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

[Avatar]
offlinecontact
Rank: Regular
(user posted image)

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

"Do whatever you will, but first be such as are able to will."
- Friedrich Nietzsche
Top

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

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
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.

Top

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

[Avatar]
offlinecontact
Rank: Regular
I would like to see support for EUD actions eventually. Also upgrade status for conditions =p

"Do whatever you will, but first be such as are able to will."
- Friedrich Nietzsche
Top

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

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
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.

Top

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

[Avatar]
offlinecontact
Rank: Regular
Yes, how many upgrades the player has (and tech upgrades too).

"Do whatever you will, but first be such as are able to will."
- Friedrich Nietzsche
Top

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

[Avatar]
‮.rapsdleF
offlinecontact
Rank: Elite
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.
This post was edited 5 times, last edit by FaRTy1billion: Oct 5 2011, 9:33 pm.

SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
TinyMap2 - Latest in map compression!
MapSketch - New image->map generator!
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - Now has .dat references! Help out by adding your EUDs!
EUDTrig - Quickly and easily convert offsets to EUDs! (extended players supported)
(user posted image) This page has been viewed (user posted image) times!
Top

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

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
Quote from O)FaRTy1billion
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
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.

Top

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

[Avatar]
‮.rapsdleF
offlinecontact
Rank: Elite
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).

SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
TinyMap2 - Latest in map compression!
MapSketch - New image->map generator!
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - Now has .dat references! Help out by adding your EUDs!
EUDTrig - Quickly and easily convert offsets to EUDs! (extended players supported)
(user posted image) This page has been viewed (user posted image) times!
Top

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

[Avatar]
Everything green is safe to eat.
offlinecontact
Rank: Veteran
Quote from O)FaRTy1billion
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.

Top
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[02:28 pm]
EzTerix -- damn right, lets trade some cards ill trade you, but not charzard
[02:28 pm]
EzTerix -- my pokemon brings all the boys to the yard and they're like lets trade some cards
[02:26 pm]
EzTerix -- cinnamon cereal > all
[02:24 pm]
EzTerix -- obviously TiKels
[02:23 pm]
EzTerix -- lol i did some creepin on the person who left the comment, his user description: "I'm just a dude trying to make my way in the universe without succumbing to the random degenerate stupidities of the human condition. What does the bible know, but the incoherent, inconsistent ramblings of desert men under whose delusions millions march under threat of their souls being denied true purpose, true fulfillment?" O_o
[02:21 pm]
Sacrieur -- lol no
[02:19 pm]
EzTerix -- I've learned more in these 2 hours though than in the last 4 weeks we've gone over it though, THICK ACCENTED NON HELPFUL TEACHERS BLOW
Please log in to shout.