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

Aug 6 2012, 7:36 pm LoveLess Post #61

Let me show you how to hump without making love.

Quote from staxx
I think Roy meant when v1.4 is ready. at least thats what i gather from...

Quote from Roy
Don't bug me about adding new types of EUDs to the program yet (believe me, that list is long enough already). Once I push out this next release, I'll start on upgrade/tech EUDs, more unit EUDs, more text-related EUDs, key press EUDs, etc.
I am just being ignorant and demanding. Having to do this shit by hand is tedious enough already and my maths is bad, so I need this.



None.

Jan 21 2013, 2:03 am Roy Post #62

An artist's depiction of an Extended Unit Death

Surprise!

I've been making more time for this project, so I'm quite a bit further than where I last left off.

Quote from Roy
Here's the current rundown for the next release features:
  • Support creating and managing multiple EUD triggers - Done
  • Support multiple EUD conditions and actions for a single* trigger - Done
  • Support exporting trigger data into an existing map - Not Done
* May actually be more than one trigger (e.g., display text detection requires 11 triggers) - Got this worked out

I have the following issues I'm working on:
  • Selecting ranges for the Unit Index ID causes trigger generation to fail.
  • Still got some EUD Actions to enter (not really a big deal).
  • Have to verify some outputs (I could use some help on this, see below).
  • I want to add support for unsigned integer values (right now only signed ints work).
  • The export button does nothing at the moment because I haven't implemented it yet.
  • Some explicit ranges could be collapsed into a single condition line (this is pretty low priority, though).

Screenies

Now, as for how you could help: testing! Just pick up [LINK REDACTED] and play around a little bit; try to break it if you can. Also, I had to correct a lot of mistakes I made in the data entry process, so if you spot an output that is wrong (for example, the condition says Memory at +12345 instead of at +12333), I'd greatly appreciate it if you could let me know. An easy way to do this would be to open the executable side-by-side with http://www.staredit.net/files/2586/ and seeing which outputs are different.

If you spot an issue, please let me know via PM. And again, any feedback on the current design/functionality is appreciated.

Post has been edited 1 time(s), last time on Feb 10 2013, 2:21 am by Roy.




Jan 21 2013, 7:44 pm Wormer Post #63



Wow! This is a really cool thing, how didn't I spot it earlier?.. Is it possible to detect whether a unit is cloaked (personal cloaking) or not? The same with enshare, plague, blind, stim pack, lockdown, stasis and other unit abilities/effects.

P.S.
Quote from Roy
Don't bug me about adding new types of EUDs to the program yet (believe me, that list is long enough already). Once I push out this next release, I'll start on upgrade/tech EUDs, more unit EUDs, more text-related EUDs, key press EUDs, etc.
Oh, sorry. But upgrade/tech EUDs would be really cool and useful! Hope they are close to the start of the list =) Anyways this is really cool stuff, because I'm usually too lazy to figure out EUDs that I need for myself :bleh:

Post has been edited 1 time(s), last time on Jan 21 2013, 7:50 pm by Wormer.



Some.

Jan 21 2013, 8:13 pm Azrael Post #64



Quote from Wormer
Is it possible to detect whether a unit is cloaked (personal cloaking) or not? The same with enshare, plague, blind, stim pack, lockdown, stasis and other unit abilities/effects.

Yes, the older version can even do that.




Jan 21 2013, 8:33 pm jjf28 Post #65

Cartography Artisan

A number of those listed can be seen here:



However, cloaking seems harder as it's just a 'bit' stored among other items

Quote from name:Unitnode Structure
+0xDC - Status (32 bits total)
10th bit - checked for cloak?

There's no simple way to read a single bit but perhaps with a series of triggers you could accurately read the 10th bit...

Quote
10th bit - checked for cloak?
11th bit - deals with doodad states? if set, is disabled
12th bit - Unit cloaking doesn't need energy decrease
13th bit - Unit is in unbreakable code section? Cannot receive orders
14th bit - Set by nobrkcodestart
16th bit - cannot attack if set

18th bit - Is a Building?

27th bit - Invincible

29th bit - Speed upgrade
30th bit - cooldown upgrade

Assuming all other bits are empty, need to filter out bits 11-14, 16, 18, 27, 29, 30; 9 values, would require 512 triggers... bit unreasonable; Assuming 13, 14, and 16 are constant for this endeavor we're down to 6 values, 64 triggers, still don't like those numbers, have doodad state (11th) and isBuilding (18th) as checkboxes in EUDGen, horrah! 16 triggers, with something like the following method:

Need to filter bits: 12, 27, 29, 30.
8th adds 128
1st-7th add up to 127

Triggers would have to be something of the like:

Status is at least 2^12+2^27+2^29+2^30+128, status is at most 2^12+2^27+2^29+2^30+255
Status is at least 2^12+2^27+2^29+128, status is at most 2^12+2^27+2^29+255
...
...
Status is at least 128, status is at most 255



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jan 22 2013, 6:18 am Wormer Post #66



Thank you.

Quote from jjf28
Assuming all other bits are empty, need to filter out bits 11-14, 16, 18, 27, 29, 30; 9 values, would require 512 triggers... bit unreasonable; Assuming 13, 14, and 16 are constant for this endeavor we're down to 6 values, 64 triggers, still don't like those numbers, have doodad state (11th) and isBuilding (18th) as checkboxes in EUDGen, horrah!
Are those bits 13, 14, 16 really never change during the game? Then it's probably not necessary to check for 27 (Invincibility), since you can know every time if unit is invincible (unless stasis sets that flag, but even then probably not all maps use stasis). Then I think 29 and 30 only matter for Zerglings, Zealots, Vultures, Scouts, Shuttles, Observers, Overlords (Speed) and Marines (Cooldown), right? Anyways, thanks alot for the breakdown!



Some.

Jan 22 2013, 7:08 pm jjf28 Post #67

Cartography Artisan

Quote
Are those bits 13, 14, 16 really never change during the game?

Oh I have no idea when they get changed; but whoever made the Unitnode Reference sheet must have seen or forced them to change by some means to understand what they are - in my example I simply assumed that they were all cleared, would probably require further investigation to create reliable cloak detection (also should note that bit 10 has a question mark for cloaked, casts a little doubt)

More of the bits may always be constant during a given game; the more you can say are constant, the less triggers you'll need; however having too many options in a program like EUDGen could get confusing/tedious fast. Perhaps three options for every flag, "set, cleared, either", would give the option for reducing the number of triggers in a specific map but not require the user to choose.



Rs_yes-im4real - Clan Aura - jjf28.net84.net

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jan 23 2013, 4:18 am Moose Post #68



I was told to suggest looking into the Secondary Order ID field for cloaking. We do not know if it will work, but the Secondary Order IS is used to issue cloaking orders and could possibly be used to check them. The nobrkcode stuff in the status field has to with units pausing to execute certain animations and is changed often.




Feb 1 2013, 3:20 am Roy Post #69

An artist's depiction of an Extended Unit Death

Progress

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/


Post has been edited 25 time(s), last time on Feb 10 2013, 5:30 am by Roy.




Options
Pages: < 1 2 3 4
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:06 am]
NudeRaider -- KrayZee
KrayZee shouted: Voyager7456 Somehow I misread your shout. "Glad I can entertain you in Nude" as if you sent a racy photo, video or something.
nah, he just made a comment that had us laughing very hard.
[06:02 am]
NudeRaider -- Zoan
Zoan shouted: sraw531 you can’t move buildings afaik
yes you can.
[2019-10-16. : 10:03 pm]
Dem0n -- no
[2019-10-16. : 8:26 pm]
GGmano -- Is here a forum only for temple siege?
[2019-10-16. : 4:20 pm]
KrayZee -- Voyager7456
Voyager7456 shouted: Glad I can entertain you Nude
Somehow I misread your shout. "Glad I can entertain you in Nude" as if you sent a racy photo, video or something.
[2019-10-16. : 2:26 pm]
martosss -- Moose
Moose shouted: martosss IIRC, the plan was to go 64-bit only eventually so they're interested in differences between the versions
well I might have found 1 bug for them to fix - some maps load on 32 bit, but not on 64 bit game version
[2019-10-16. : 2:19 pm]
Zoan -- sraw531
sraw531 shouted: I'm pretty sure you would move the building away at some point. When you do so, you can give it to someone else. I was thinking nexi because its possible you could encourage the computer to expand to a specific spot
you can’t move buildings afaik
[2019-10-16. : 10:10 am]
Moose -- martosss
martosss shouted: jjf28 OK, I have 1 more question - are you using 32 bit SC:R or 64 bit ? In game settings there's an option to switch to 32, is it checked? I just tried hosting the map with 64-bit SC:R and it failed... I ticked the option to use 32 bit SC:R => it worked and map was hosted. So I guess the issue still exists for 64 bit SC:R ? I also tried calling a friend and he couldn't see the map when he entered the lobby. Weird, I might have to report this to Blizzard?
IIRC, the plan was to go 64-bit only eventually so they're interested in differences between the versions
[2019-10-16. : 5:27 am]
O)FaRTy1billion[MM] -- or a magic box :(
[2019-10-16. : 3:31 am]
martosss -- FaRTy1billion
FaRTy1billion shouted: how about 5 minerals
you can't even get a scarab with those!
Please log in to shout.


Members Online: Roy, Rubinichaq10, UEDCommander, MTiger156