Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: USE EUD IN TEXT TRIGGER EDITER
USE EUD IN TEXT TRIGGER EDITER
This topic is locked. You can no longer write replies here.
Oct 10 2009, 7:54 am
By: swb4u1  

Oct 10 2009, 7:54 am swb4u1 Post #1



Hello guys, i am a korea mapper. :)
I usually use EUD . And I am good at EUD trigger. :D
(But i am not good at english? :blush:)

To the point, I want to use EUD in text trigger editer.
Not like starforge text trigger editer(classic+text), like SCM Draft text trigger editer.
Text trigger editer, in SCMD, the unit number changes "Invalid Unit". So I can't use it.

Second, I don't know how to use Memory condition trigger.
' Memory at Death Table +"-1" is "quantitymod" "0" '
Where I write Offset? Where I write Player?
I don't know :-(
Please help me.



I am sorry to my english quality :blush:



None.

Oct 10 2009, 8:06 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from posting rules
4. Thou shalt use the Wiki *, Search, and Google. You might find your answer before posting and thus not have to open a topic.
The search for memory condition gets you this:
http://www.staredit.net/topic/8600/

Also ScmDraft doesn't support EUDs in text triggers but it's currently undergoing major improvements. The text EUDs are a high priority so it could already been added. Check out the newest version from the thread. If not, visit regularly and check the new updates.




Oct 10 2009, 8:23 am swb4u1 Post #3



thanks, but i already cheked. :rolleyes:



None.

Oct 10 2009, 2:20 pm rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

If you understand EUDs, then it's simple.

Memory to read = 4* player number + 48* unit ID number + Player 1 terran marine deaths offset.

The memory condition simplifies this down to:
Memory to read = 4* number 1 + 48*0 + offset
All you need to do is either solve this equation, or multiply the UnitID by 48, then add it to the player number. Using player deaths is MUCH more efficient than unit IDs.

The memory condition is fully compatible in text and classic trigedit, but it does mess up the death condition constantly. Classic trigedit still supports classic EUDs (ID:xxxx), but text trigedit does not.


Here's an example trigger. Both these triggers will function exactly the same.

Code
Trigger("Player 1"){
Conditions:
    Deaths("Player 8", "ID:12288", At least, 256);
    Deaths("Player 8", "ID:12288", At most, 511);
    Deaths("Current Player", "Kyadarin Crystal Formation", Exactly, 1);

Actions:
    Preserve Trigger();
    Set Deaths("Current Player", "Cantina", Set To, 1);
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
    Memory(147463, At least, 256);
    Memory(147463, At most, 511);
    Deaths("Current Player", "Kyadarin Crystal Formation", Exactly, 1);

Actions:
    Preserve Trigger();
    Set Deaths("Current Player", "Cantina", Set To, 1);
}

//-----------------------------------------------------------------//

Memory = 7*4 + 12288*48 + offset
Memory = 147463*4 + 0*48 + offset

if it's still not clear, take a look at http://www.staredit.net/topic/6416/



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Oct 10 2009, 4:57 pm Heinermann Post #5

SDE, BWAPI owner, hacker.

Quote from swb4u1
Hello guys, i am a korea mapper. :)
I usually use EUD . And I am good at EUD trigger. :D

Where I write Offset? Where I write Player?

New-age EUDs use player number and always unit ID 0 (Terran Marine). This way there doesn't need to be a player and unit pair, just an extended player ID. I'm happy to see Korean mappers making good use of my exploit.

On the side, here's a better map for identifying key presses:
[attach=4635]

It's not finished though, noticable are the rest of the OEM keys.

Attachments:
VK4.scx
Hits: 11 Size: 17.91kb




Oct 11 2009, 1:45 am swb4u1 Post #6



Oh ya, Thank you all!
Now, I know it! :lol:



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[2024-5-16. : 5:24 pm]
lil-Inferno -- poopoo
Please log in to shout.


Members Online: 4jasminee571yc3, Roy, 6camilac933eM4