x4pointproductions.freeforum.ca

x4Point Productions - StarCraft Map Making And Modding Community
It is currently Thu Mar 28, 2024 8:39 am

All times are UTC - 4 hours




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Enter your Message here
 Post subject: EUDs - Discussion and Detecting Key Presses
PostPosted: Sun Sep 20, 2009 5:38 pm 
Offline
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
So yeah. Pretty self-explanatory. These Conditions allow you to detect what key a person presses. Due to the nature of key detection, this can only be used in singleplayer maps. Requires SCMDraft 2.

W
Player 7 has suffered exactly 16777216 deaths of ID:1061.

S
Player 6 has suffered exactly 16777216 deaths of ID:1061.

O
Player 5 has suffered exactly 16777216 deaths of ID:1061.

K
Player 4 has suffered exactly 16777216 deaths of ID:1061.

G
Player 3 has suffered exactly 16777216 deaths of ID:1061.

C
Player 2 has suffered exactly 16777216 deaths of ID:1061.

7
Player 11 has suffered exactly 16777216 deaths of ID:1060.

3
Player 10 has suffered exactly 16777216 deaths of ID:1060.

Right Arrow
Player 7 has suffered exactly 16777216 deaths of ID:1060.

End
Player 6 has suffered exactly 16777216 deaths of ID:1060.

Esc
Player 4 has suffered exactly 16777216 deaths of ID:1060.

Z
Player 8 has suffered exactly 65536 deaths of ID:1061.

V
Player 7 has suffered exactly 65536 deaths of ID:1061.

R
Player 6 has suffered exactly 65536 deaths of ID:1061.

N
Player 5 has suffered exactly 65536 deaths of ID:1061.

J
Player 4 has suffered exactly 65536 deaths of ID:1061.

F
Player 3 has suffered exactly 65536 deaths of ID:1061.

B
Player 2 has suffered exactly 65536 deaths of ID:1061.

6
Player 11 has suffered exactly 65536 deaths of ID:1060.

2
Player 10 has suffered exactly 65536 deaths of ID:1060.

Delete
Player 9 has suffered exactly 65536 deaths of ID:1060.

Up Arrow
Player 7 has suffered exactly 65536 deaths of ID:1060.

Page Down
Player 6 has suffered exactly 65536 deaths of ID:1060.

Alt
Player 2 has suffered exactly 65536 deaths of ID:1060.

Y
Player 8 has suffered exactly 256 deaths of ID:1061.

U
Player 7 has suffered exactly 256 deaths of ID:1061.

Q
Player 6 has suffered exactly 256 deaths of ID:1061.

M
Player 5 has suffered exactly 256 deaths of ID:1061.

I
Player 4 has suffered exactly 256 deaths of ID:1061.

E
Player 3 has suffered exactly 256 deaths of ID:1061.

A
Player 2 has suffered exactly 256 deaths of ID:1061.

9
Player 12 has suffered exactly 256 deaths of ID:1060.

5
Player 11 has suffered exactly 256 deaths of ID:1060.

1
Player 10 has suffered exactly 256 deaths of ID:1060.

Insert
Player 9 has suffered exactly 256 deaths of ID:1060.

Left Arrow
Player 7 has suffered exactly 256 deaths of ID:1060.

Page Up
Player 6 has suffered exactly 256 deaths of ID:1060.

Ctrl
Player 2 has suffered exactly 256 deaths of ID:1060.

Enter
Player 1 has suffered exactly 256 deaths of ID:1060.

X
Player 8 has suffered exactly 1 deaths of ID:1061.

T
Player 7 has suffered exactly 1 deaths of ID:1061.

P
Player 6 has suffered exactly 1 deaths of ID:1061.

L
Player 5 has suffered exactly 1 deaths of ID:1061.

H
Player 4 has suffered exactly 1 deaths of ID:1061.

D
Player 3 has suffered exactly 1 deaths of ID:1061.

8
Player 12 has suffered exactly 1 deaths of ID:1060.

4
Player 11 has suffered exactly 1 deaths of ID:1060.

0
Player 10 has suffered exactly 1 deaths of ID:1060.

Down Arrow
Player 8 has suffered exactly 1 deaths of ID:1060.

Home
Player 7 has suffered exactly 1 deaths of ID:1060.

Space Bar
Player 6 has suffered exactly 1 deaths of ID:1060.

Caps Lock
Player 3 has suffered exactly 1 deaths of ID:1060.


Enjoy.

_________________
Image
x4Point Productions - StarCraft Mapping And Modding Community
Status: Site Administrator & Unofficial x4Point Co-Leader


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sun Sep 20, 2009 5:41 pm 
Offline
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
Holy shit! I may be able to use these for a reload/weapon switching device on Draft.

_________________
Cry Havoc, and let slip the dogs of war; That this foul deed shall smell above the earth With carrion men, groaning for burial.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sun Sep 20, 2009 5:49 pm 
Offline
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
No, you will not be able to. The memory offsets change in mods. These conditions will only work on default StarCraft.

EDIT: You could always try anyway.

_________________
Image
x4Point Productions - StarCraft Mapping And Modding Community
Status: Site Administrator & Unofficial x4Point Co-Leader


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sun Sep 20, 2009 7:28 pm 
Offline
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
Alright, I'll try and see if they work. Thanks for the tip Ilkay, I didn't want to make my whole map around it just to find it doesn't work.

_________________
Cry Havoc, and let slip the dogs of war; That this foul deed shall smell above the earth With carrion men, groaning for burial.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Sun Sep 20, 2009 9:55 pm 
Offline
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
Also note that they will activate whether the player has chat open or not, and whether or not it is uppercase or lowercase.

_________________
Image
x4Point Productions - StarCraft Mapping And Modding Community
Status: Site Administrator & Unofficial x4Point Co-Leader


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 12:51 pm 
Offline
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
So if they don't have "To All:" it will still work?

_________________
Cry Havoc, and let slip the dogs of war; That this foul deed shall smell above the earth With carrion men, groaning for burial.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 3:57 pm 
Offline
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
Yes. It will also detect it even if the player has StarCraft minimized, since it is detecting when the key is pressed, not when the letter is registered by StarCraft.

_________________
Image
x4Point Productions - StarCraft Mapping And Modding Community
Status: Site Administrator & Unofficial x4Point Co-Leader


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 4:29 pm 
Offline
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
Lol, so if they minimize, press the button the game will continue the action?

_________________
Cry Havoc, and let slip the dogs of war; That this foul deed shall smell above the earth With carrion men, groaning for burial.


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 4:39 pm 
Offline
Site Admin - Hyperion Captain
Site Admin - Hyperion Captain
User avatar

Joined: Sat May 23, 2009 9:51 am
Posts: 218
Location: Toronto, Canada
No, since in singleplayer, if you minimize, the game will automatically pause. If the map were played in multiplayer, where games are not paused, then yes, the action would continue. You will have to investigate yourself what happens when an EUD condition is met while the game is paused. However, I suspect the action will just run when the game is unpaused.

_________________
Image
x4Point Productions - StarCraft Mapping And Modding Community
Status: Site Administrator & Unofficial x4Point Co-Leader


Top
 Profile E-mail  
 
 Post subject:
PostPosted: Mon Sep 21, 2009 5:21 pm 
Offline
Moderator - Danimoth
Moderator - Danimoth
User avatar

Joined: Sat May 23, 2009 2:09 pm
Posts: 270
So how did someone find this? Just putting down a random number and seeing "oh hey this makes E do something"?

_________________
Cry Havoc, and let slip the dogs of war; That this foul deed shall smell above the earth With carrion men, groaning for burial.


Top
 Profile E-mail  
 
Display posts from previous:   Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

All times are UTC - 4 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Silver Star by BigB © 2007 AEON KINGS
Hosted by Freeforum.ca, get your free forum now! TOS | Support Forums | Report a violation
MultiForums powered by echoPHP phpBB MultiForums