Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: More EUD Questions
More EUD Questions
Jul 13 2008, 4:34 am
By: Tera  

Jul 13 2008, 4:34 am Tera Post #1



I was wondering what the extents of EUD's are. I know that you can do multiple things and modify a lot of different values, in game, and then change them again, in game. I would like to make a RPG that is played on 1.12 or what ever the last version of EUD actions would be. It would most likely be on patch version 1.12 because of UbeCalc 2 having such an extent bank of values and everything you could imagine.

What can and can't be changed by EUD's. I think the list of cans will be shorter.

I already know:
Units HP/Mana
Text
Screen Position
Upgrade (cost)
...

Things that I'm unsure of:
Giving cloak (Terran Ghost) ability to a unit that has no cloak animation.
Changing the image of the ability buttons, ect...
Changing the portrait of the unit
Changing the max hit points of the unit (in game)
...


Post has been edited 5 time(s), last time on Aug 31 2008, 11:40 pm by Tera.



None.

Jul 13 2008, 4:38 am Brontobyte Post #2



In a very generic statement, pretty much anything that can be calculated or has a value in StarCraft, can be changed.



None.

Jul 13 2008, 4:44 am DT_Battlekruser Post #3



Quote
Giving cloak (Terran Ghost) ability to a unit that has no cloak animation.
Changing the image of the ability buttons, ect...
Changing the portrait of the unit
Changing the max hit points of the unit (in game)

No the first, yes (I think) to the other three. In theory, anything that can be done with DatEdit can also be done with EUD Actions; there is however a severe limitation that you cannot make an EUD action for Players 9 through 12, so one third of the potential data is off-limits.

To give you some ideas, here are two of the very few post-production maps to use EUD actions.

http://www.staredit.net/files/379/
http://www.staredit.net/files/380/




None.

Jul 13 2008, 4:53 am Matt Burch Post #4



FYI:
You can enable and disable the cloak ability on most units. Just a few enable/disable triggers. If you do the enable/disable triggers on the ghost, the "mana" decreases. Proving that it is the ability. FaRTy knows more about how to do this the right way.

Something like:
Enable doodad state, move unit under cloud, disable doodad state, disable doodate state, move unit back

I forgot the exact order.

Not all units work. I think all of the zerg units, terran infantry, and protoss infantry work. The vehicles and ships are the ones that crash sc.



None.

Jul 13 2008, 5:03 am Tera Post #5



Quote from DT_Battlekruser
Quote
Giving cloak (Terran Ghost) ability to a unit that has no cloak animation.
Changing the image of the ability buttons, ect...
Changing the portrait of the unit
Changing the max hit points of the unit (in game)

No the first, yes (I think) to the other three. In theory, anything that can be done with DatEdit can also be done with EUD Actions; there is however a severe limitation that you cannot make an EUD action for Players 9 through 12, so one third of the potential data is off-limits.

To give you some ideas, here are two of the very few post-production maps to use EUD actions.

http://www.staredit.net/files/379/
http://www.staredit.net/files/380/

WOW! That one Spell map was AWSOME! Missle Tanks! Holly shit! This is what I want to do, to some degree. I want to have an ground unit Most likely a Terran Marine/Jim Raynor be able to cloak and shoot different weapons. I want to be able to toggle through the weapons, ect... via some sort of text input. >Change Riffle / >Change Rocket Launcher, ect...

What do you mean I can't make EUD actions for Player 9 - Player 12. They will all be for Player 1, single player RPG. Is there some list of actions/conditions that I can look at? I know FaRTy has some general/advanced EUD addresses on his page, but I want them for actions as well, so...


Post has been edited 5 time(s), last time on Aug 31 2008, 11:40 pm by Tera.



None.

Jul 13 2008, 5:29 am DT_Battlekruser Post #6



Well, you won't be able to easily give a Marine the ability to cloak with the button, since it is rather deep EXE editing to do that.

You cannot modify the death counts for Players 9 and above. Therefore, the offsets that are deaths of a unit for Players 9 through 12 cannot be modified through triggers, which is one third of all the data.

Here is a list of most of the DAT offsets that may be useful, for Starcraft 1.13a. Each offset is equal to the six-digit hex number in the 'value' tag, has length equal to the first number after the dash, and table entries equal to the number of the given object (for example, 189 orders or 228 units). This is copied directly out of the source code for MemCalc 4, so it should be accurate.

The deaths table in 1.13a started at 0x5204B4 (deaths of Marine for Player 1).


Code
I want to change <select size="1" name="offset">
<option selected value="null">---FLINGY.DAT---</option>
<option value="645540-2-f">645540 - Sprite</option>
<option value="645048-2-f">645048 - TurnStyle</option>
<option value="6451FC-4-f">6451FC - Acceleration</option>
<option value="645BD0-1-f">645BD0 - TurnRadius</option>
<option value="6456E4-1-f">6456E4 - Unknown 1</option>
<option value="6457B8-1-f">6457B8 - MoveControl</option>
<option value="null">---SPRITES.DAT---</option>
<option value="696914-2-s">696914 - Image</option>
<option value="6972B4-1-s">6972B4 - HP Bar Length</option>
<option value="696D20-1-s">696D20 - Unknown 2</option>
<option value="6970AC-1-s">6970AC - Unknown 3</option>
<option value="69678C-1-s">69678C - Selection Circle Image</option>
<option value="696F28-1-s">696F28 - Selection Circle Vertical Offset</option>
<option value="null">---ORDERS.DAT---</option>
<option value="65D690-1-o">65D690 - Label</option>
<option value="65DF88-1-o">65DF88 - Flag 1</option>
<option value="65D80C-1-o">65D80C - Flag 2</option>
<option value="65D090-1-o">65D090 - Flag 3</option>
<option value="65DE08-1-o">65DE08 - Flag 4</option>
<option value="65D2D0-1-o">65D2D0 - Flag 5</option>
<option value="65D8CC-1-o">65D8CC - Flag 6</option>
<option value="65DA4C-1-o">65DA4C - Flag 7</option>
<option value="65D510-1-o">65D510 - Flag 8</option>
<option value="65DD48-1-o">65DD48 - Flag 9</option>
<option value="65D450-1-o">65D450 - Flag 10</option>
<option value="65D5D0-1-o">65D5D0 - Flag 11</option>
<option value="65D98C-1-o">65D98C - Flag 12</option>
<option value="65D390-1-o">65D390 - Weapon</option>
<option value="65DFD0-1-o">65DFD0 - Technology</option>
<option value="65DEC8-1-o">65DEC8 - Type</option>
<option value="65DB0C-2-o">65DB0C - Group</option>
<option value="65D150-2-o">65D150 - Unknown 4</option>
<option value="65DC88-1-o">65DC88 - Emulate</option>
<option value="null">---UNITS.DAT---</option>
<option value="6B8EC8-1-u">6B8EC8 - Graphic</option>
<option value="6B7570-2-u">6B7570 - Subunit 1</option>
<option value="6B71E0-2-u">6B71E0 - Subunit 2</option>
<option value="6B83B0-2-u">6B83B0 - Subunit 3/Overlay - DONT TOUCH</option>
<option value="6B7BAC-4-u">6B7BAC - Construction Animation</option>
<option value="6B8C64-1-u">6B8C64 - Subunit Turning</option>
<option value="6B673C-1-u">6B673C - Shield Toggle</option>
<option value="6B871C-2-u">6B871C - Shield Amount (Max)</option>
<option value="6B6904-4-u">6B6904 - HP Amount (Max)</option>
<option value="6BADD4-1-u">6BADD4 - Animation Level</option>
<option value="6BAB28-1-u">6BAB28 - Movement Type</option>
<option value="6B6F34-1-u">6B6F34 - Staredit Order/Label</option>
<option value="6B9174-1-u">6B9174 - AI - Action Comp AI</option>
<option value="6B6E50-1-u">6B6E50 - AI - Action Human AI</option>
<option value="6BA324-1-u">6BA324 - AI - Action Unknown</option>
<option value="6B7AC8-1-u">6B7AC8 - AI - Action Attack Unit</option>
<option value="6B6D6C-1-u">6B6D6C - AI - Action Attack Move</option>
<option value="6B8FAC-1-u">6B8FAC - Weapon Ground Attack</option>
<option value="6B9400-1-u">6B9400 - Weapon Ground Max Hit (Editor String)</option>
<option value="6B8638-1-u">6B8638 - Weapon Air Attack</option>
<option value="6B6820-1-u">6B6820 - Weapon Air Max Hit (Editor String)</option>
<option value="6B6584-1-u">6B6584 - Unknown 5</option>
<option value="6BAEB8-4-u">6BAEB8 - Special Ability Flags</option>
<option value="6B9A3C-1-u">6B9A3C - Subunit Attack Range</option>
<option value="6BACF0-1-u">6BACF0 - Sight Range - DO NOT EXCEED 11</option>
<option value="6BAC0C-1-u">6BAC0C - Armor Upgrade Type</option>
<option value="6B88E4-1-u">6B88E4 - Size</option>
<option value="6B9090-1-u">6B9090 - Armor Amount</option>
<option value="6B7738-1-u">6B7738 - Unknown 6</option>
<option value="6B6668-2-u">6B6668 - Ready Sound</option>
<option value="6B8020-2-u">6B8020 - "What?" Sound Start</option>
<option value="6B73A8-2-u">6B73A8 - "What?" Sound End</option>
<option value="6B6C98-2-u">6B6C98 - "Annoyed" Sound Start</option>
<option value="6B9258-2-u">6B9258 - "Annoyed" Sound End</option>
<option value="6B932C-2-u">6B932C - "Yes" Sound Start</option>
<option value="6B8B90-2-u">6B8B90 - "Yes" Sound End</option>
<option value="6B94E4-4-u">6B94E4 - Resize???</option>
<option value="6B8D48-2-u">6B8EC8 - Unknown 7</option>
<option value="6BA408-8-u">6BA408 - Dimensions</option>
<option value="6B81E8-2-u">6B81E8 - Portrait</option>
<option value="6B781C-2-u">6B781C - Mineral Cost</option>
<option value="6B9B20-2-u">6B9B20 - Vespene Gas Cost</option>
<option value="6B8470-2-u">6B8470 - Build Time</option>
<option value="6B89C8-2-u">6B89C8 - Restriction Flags</option>
<option value="6B9EB0-2-u">6B9EB0 - Staredit Group Flags</option>
<option value="6B7F3C-1-u">6B7F3C - Food Produced</option>
<option value="6B64A0-1-u">6B64A0 - Food Cost</option>
<option value="6B70FC-1-u">6B70FC - Space Required</option>
<option value="6B79E4-1-u">6B79E4 - Transport Space</option>
<option value="6B9F94-2-u">6B9F94 - Build Score</option>
<option value="6BA15C-2-u">6BA15C - Destroy Score</option>
<option value="6B9CE8-2-u">6B9CE8 - Unknown 8</option>
<option value="6B7018-1-u">6B7018 - Brood War Unit Flag</option>
<option value="6B9874-2-u">6B9874 - Staredit Available</option>
<option value="null">---IMAGES.DAT---</option>
<option value="64CA58-4-i">64CA58 - File</option>
<option value="655AC4-1-i">655AC4 - GFX Turns</option>
<option value="652BEC-1-i">652BEC - Shadow Turns</option>
<option value="6552F4-1-i">6552F4 - Floats</option>
<option value="65F40C-1-i">65F40C - Palette Type</option>
<option value="64D9F8-1-i">64D9F8 - Palette Special</option>
<option value="64ED7C-4-i">64ED7C - Iscript ID</option>
<option value="64DDE0-4-i">64DDE0 - Shield Overlay</option>
<option value="651C50-4-i">651C50 - Overlay 2</option>
<option value="64FD18-4-i">64FD18 - Overlay 3</option>
<option value="650CB4-4-i">650CB4 - Overlay 4</option>
<option value="652FD4-4-i">652FD4 - Overlay 5</option>
<option value="653F70-4-i">653F70 - Overlay 6</option>
<option value="null">---TECHDATA.DAT---</option>
<option value="6AA0B0-2-t">6AA0B0 - Mineral Cost</option>
<option value="6AA164-2-t">6AA164 - Vespene Gas Cost</option>
<option value="6AA26C-2-t">6AA26C - Research Time</option>
<option value="6AA10C-2-t">6AA10C - Energy Required</option>
<option value="6AA2F0-2-t">6AA2F0 - Unknown 9</option>
<option value="6AA058-2-t">6AA058 - Unknown 10</option>
<option value="6AA1BC-2-t">6AA1BC - Icon</option>
<option value="6AA214-2-t">6AA214 - Label</option>
<option value="6AA2C4-1-t">6AA2C4 - Race</option>
<option value="6AA1E8-1-t">6AA1E8 - Research Flag</option>
<option value="6AA1BC-1-t">6AA1BC - Brood War Flag</option>
<option value="null">---UPGRADES.DAT---</option>
<option value="6BB53C-2-p">6BB53C - Mineral Cost Base</option>
<option value="6BB404-2-p">6BB404 - Mineral Cost Factor</option>
<option value="6BB4C0-2-p">6BB4C0 - Vespene Gas Cost Base</option>
<option value="6BB388-2-p">6BB388 - Vespene Gas Cost Factor</option>
<option value="6BB6F0-2-p">6BB6F0 - Research Time Base</option>
<option value="6BB5B8-2-p">6BB5B8 - Research Time Factor</option>
<option value="6BB24C-2-p">6BB24C - Unknown 11</option>
<option value="6BB30C-2-p">6BB30C - Icon</option>
<option value="6BB674-2-p">6BB674 - Label</option>
<option value="6BB480-1-p">6BB480 - Race</option>
<option value="6BB2C8-1-p">6BB2C8 - Repeats</option>
<option value="6BB634-1-p">6BB53C - Brood War Flag</option>
<option value="null">---WEAPONS.DAT---</option>
<option value="6BC7B4-2-w">6BC7B4 - Status Bar Label</option>
<option value="6BBE04-4-w">6BBE04 - Missile Sprite</option>
<option value="6BBAF4-1-w">6BBAF4 - Special Attack</option>
<option value="6BCAC4-2-w">6BCAC4 - Attack Type</option>
<option value="6BBB78-4-w">6BBB78 - Minimum Range</option>
<option value="6BC58C-4-w">6BC58C - Maximum Range</option>
<option value="6BC4A4-1-w">6BC4A4 - Upgrade Type</option>
<option value="6BC8B8-1-w">6BC8B8 - Weapon Type</option>
<option value="6BCA40-1-w">6BCA40 - Weapon Behavior</option>
<option value="6BC528-1-w">6BC528 - Missile Type</option>
<option value="6BCCCC-1-w">6BCCCC - Explosion Type</option>
<option value="6BB9F0-2-w">6BB9F0 - Splash Range (Maximum)</option>
<option value="6BB868-2-w">6BB868 - Splash Range (Medium)</option>
<option value="6BC00C-2-w">6BC00C - Splash Range (Minimum)</option>
<option value="6BC93C-2-w">6BC93C - Damage Amount</option>
<option value="6BC214-2-w">6BC214 - Damage Bonus</option>
<option value="6BBD80-1-w">6BBD80 - Cooldown (Can't be 0)</option>
<option value="6BB96C-1-w">6BB96C - Damage Factor</option>
<option value="6BCD50-1-w">6BCD50 - Coordinates x-1</option>
<option value="6BC420-1-w">6BC420 - Coordinates x-2</option>
<option value="6BC39C-1-w">6BC39C - Coordinates y-1</option>
<option value="6BC318-1-w">6BC318 - Coordinates y-2</option>
<option value="6BC110-2-w">6BC110 - Targeting Error Message</option>
<option value="6BCBC8-2-w">6BCBC8 - Icon</option>
</select>




None.

Jul 13 2008, 1:24 pm Tera Post #7



Quote
<option value="6972B4-1-s">6972B4 - HP Bar Length</option>
<option value="65D390-1-o">65D390 - Weapon</option>
<option value="6B673C-1-u">6B673C - Shield Toggle</option>
<option value="6B871C-2-u">6B871C - Shield Amount (Max)</option>
<option value="6BACF0-1-u">6BACF0 - Sight Range - DO NOT EXCEED 11</option>
<option value="6B9090-1-u">6B9090 - Armor Amount</option>
<option value="6B781C-2-u">6B781C - Mineral Cost</option>
<option value="6B9B20-2-u">6B9B20 - Vespene Gas Cost</option>
<option value="6B8470-2-u">6B8470 - Build Time</option>
<option value="6B7F3C-1-u">6B7F3C - Food Produced</option>
<option value="6B64A0-1-u">6B64A0 - Food Cost</option>
<option value="6BA15C-2-u">6BA15C - Destroy Score</option>

I think that these would be cool or hold some importance in a RPG game.

Quote from DT_Battlekruser
Well, you won't be able to easily give a Marine the ability to cloak with the button, since it is rather deep EXE editing to do that.

So this can't be achieved through EUD triggers?



None.

Jul 13 2008, 3:43 pm O)FaRTy1billion[MM] Post #8

👻 👾 👽 💪

With access to unitnode you can give a secondary (unk2 in DatEd) order to force cloak/decloak.
Hell, you can make marines spawn larvae an spread creep with it. >.>

When I get proper browsing I can elaborate... but Wii sucks at typing.

Post has been edited 1 time(s), last time on Jul 13 2008, 3:48 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!

Jul 13 2008, 5:49 pm stickynote Post #9



I'm working on an rpg that utilizes eud's... some of this sh*t would be awesome to have in it.



None.

Jul 15 2008, 2:06 am stickynote Post #10



Could someone explain that table that dtbk posted a little more? What are the numbers on the left?



None.

Jul 15 2008, 4:34 am DT_Battlekruser Post #11



It's HTML from the source of MemCalc 4, so it isn't exactly formatted to be easy-to-read. For any given value, the 'value' HTML tag has a code that looks like this: 'OFFSET-LEN-TYPE'.

OFFSET - the memory location of the desired value
LEN - the size of the data piece, in bytes.
TYPE - the object type this value applies to; flingys, sprites, orders, units, images, techs, upgrades, weapons.




None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: lil-Inferno, Vrael, Roy