Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [EUD] Documentation Thread
[EUD] Documentation Thread
Jan 13 2018, 12:36 am
By: Sie_Sayoka
Pages: < 1 « 2 3 4
 

May 15 2022, 10:37 pm verssuss Post #61



Quote from Oh_Man
Try add 2560. What happens then?
changed for no mask and no problem



None.

May 16 2022, 9:50 pm Ultraviolet Post #62



Quote from Oh_Man
BGMPLAYER TUTORIAL

Very cool! Thanks for taking the time to put this together and share it. I'm excited to give this a try, music was always so tedious to work with with just the PlayWAV trigger.



My Projects:

Impossible Ultraviolet | Impossible UV2 | Impossible UV3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City

Aug 25 2022, 8:25 am Sie_Sayoka Post #63





READING ISCRIPT AND GRAPHIC RELATED INFO

Iscripts & Opcodes

Before we move onto more complicated things it's important to learn the basics of what iscript is and what it can do. Although we aren't able to edit iscripts, we can manipulate and overlap them which is the next best thing. The hierarchy of the things within the datedit portion of eud editor is important and each serves a specific purpose.



Units are linked to all of these tabs. We will mainly cover sprites and images. In terms of graphics (UI not included) the hierarchy is this:

1. Unit: All units are composed of weapons (if they have any), flingys, sprites, and images. Units are affected by triggers which make them preferred to work with but have the lowest count limits.
2. Weapon: Units can use weapons to creates sprites or flingys. The sprites/flingys created by weapons are usually considered bullets which have their behavior controlled by both weapons.dat and iscript.
3. Flingy: Flingys handle the movement portion of units. They can be either weapon/flingy controlled which is somewhat physics controlled movement or iscript which is fairly rigid.
4. Sprite: Sprites are the lowest form of graphics that can exist on the map by itself such as doodads and remains. They are not affected by triggers so we must rely entirely on iscripts to control their behavior.
5. Image: Images are ultimately what determine something will look like. They cannot exist by themselves and must have a parent sprite. Doodads and units are usually composed of several images such as the main graphic, shadow, and any overlays.

Iscripts are very important and I recommend you to learn and memorize them if you want to do any graphic related euds. Iscripts handle many things such as creating bullets, creating new sprites, movement behavior, etc. Iscripts are read from top to bottom and will go down the animation list unless there's an opcode that brings them to a different animation or there's an order that calls an animation.


#: Image ID. This is the number on the list within the image tab of datedit.
IsId: The iscript ID.
Type: The type of iscript?
Init: The starting animation of the image. Usually this creates a shadow image and whatever else the image does when it's first created.
Death: The ending animation of the image. This will normally kill both the image and the sprite.
GndAttkInit: The beginning of the ground attack animation.
AirAttkInit: The beginning of the air attack animation. If a unit lacks this they may not have an air attack animation but this isn't always the case. Refer to the image tab in datedit.
GndAttkRpt: The animation for repeated ground attacks.
AirAttkRpt: The animation for repeated air attacks.
CastSpell: The casting animation.
GndAttkToIdle: After attacking ground the unit uses this animation. Sometimes used as an idle animation as well.
AirAttkToIdle: After attacking air the unit uses this animation.
Walking: The animation used when the unit moves.
WalkingToIdle: The animation used when the unit stops walking.
SpecialState1: The animation used for special animations. i.e. suicide attacks, building, birthing, etc.
SpecialState2: The animation used for more special animations. Usually related to burrowing.
WarpIn: Warping in animation. All Protoss units have this animation although buildings are the only ones that use it.


This covers most of the animations. You'll notice things such as "local" aren't on this list. These are usually used for looping animations such as being idle or a ghost using a nuke laser. There's also animations related to buildings which I wont go over but you should have a good idea of how they work after reading this.

WIP

Post has been edited 3 time(s), last time on Sep 11 2022, 4:51 am by Sie_Sayoka.



None.

Nov 14 2023, 11:56 am Sie_Sayoka Post #64



ANIMATION CALLING PT.2



Because we are able to call ANY animation set using the previously mentioned method we can do a number of interesting things.

One of them would be attacking with units that normally wouldn't be able to attack because of iscript limitations. We can even get ground/air only attacking units to attack everything. However, the basic rules of iscripts still apply meaning that the image must have an opcode that can apply damage be it either through a weapon or a spell.
  • Ground only attacking units attacking air and vice versa
  • Non-attacking units such as medics being able to attack
  • Creation of additional images onto the sprite for image linking purposes
  • Cosmetic effects such as warp-in animations for Protoss units
  • Specific animations such as walking

IMAGE LINKING PT.2




Image linking is a somewhat advanced and confusing system involving adding specific images to a sprite. The additional images have their own respective iscripts which offer a number of benefits. There are, however, numerous limitations and downsides to this which you'll have to navigate to get a practical result.

In the example image there's a scout using a barrage attack, normally this would only be possible for the valkyrie as the barrage is hardcoded; in fact that's exactly what it is. The valkyrie is invisible and the scout image is added onto the sprite.



Each image will also increase the damage of a unit by 100%, given that the iscript of that image supports it. This means that more bullets/damage will be generated for each attack.
  • Iscript exclusive animations such as Valkyrie or Firebat attacks
  • Additional bullets/damage for each attacking image added
  • Wide application of cosmetic effects such as offset images
  • Use of subunits for non-LO* file images
  • Elimination of rock sprites for non-primary images
  • Iscript exclusive movement such as broodlings and scarabs

WIP

Post has been edited 2 time(s), last time on Nov 17 2023, 10:05 pm by Sie_Sayoka.



None.

Jun 9 2024, 2:18 pm perspective Post #65



Quote from martosss
I am trying to figure out EUDs and I think it's useful to look at some "books" from the korean naver site.
https://cafe.naver.com/edac/book1678930
https://cafe.naver.com/edac/book2573592

Those(and others) can be found if you go to the main "edac" cafe and look on the left ... there's a "book" section .. then you choose which book and you can look at a list of contents and read stuff ... some things are explained well there, so I thought I'd add those links as an idea. They can be browsed with chrome + auto translate option(might need to switch it off-on each time you view a new page)

Ah, a little bump in the road is that you need to create a free naver account to access that content. I managed to do it and I can say, it's totally worth it :)

Hello. I have created a Naver account to looks at the "cafe books". I can't access the "Simple way to use EUD's" it comes up blank or asks me something in Korean in a new window which i cant translate, but when I click accept it takes me to "Real ID" page where they are asking for my passport for identification. Any help would be greatly appreciated.

Attachments:
delete1.jpg
Hits: 0 Size: 250.26kb
delete3.jpg
Hits: 0 Size: 212.81kb



None.

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.
[01:56 am]
lil-Inferno -- pee
[07:46 pm]
Ultraviolet -- Yup
[06:42 pm]
jjf28 -- :sadangel:
[01:23 pm]
Oh_Man -- so are yall excited for another 4 years in trumpistan?
[2024-11-11. : 6:22 am]
RIVE -- How're the uploads tho? Banger content or wut
[2024-11-11. : 3:42 am]
Ultraviolet -- and yet you've been here almost twice as many days as me
[2024-11-11. : 1:24 am]
Ultraviolet -- my 20th anniversary was in July O.o
[2024-11-10. : 11:11 pm]
Zycorax -- Been here for nearly 20 years :wob:
[2024-11-10. : 4:49 pm]
Ultraviolet -- SEN membership is like the supreme court, we're here for life baby
[2024-11-10. : 4:13 am]
O)FaRTy1billion[MM] -- ya
Please log in to shout.


Members Online: Roy, RIVE