Well, thanks to the MurakamiShiinaQC plugin available in EUD Editor 2, it is now possible to use such features in multiplayer games without desyncing.
Key Detection on Multiplayer
Prerequisites:
The following guide was tested and verified with euddraft 0.8.2.9 and EUD Editor2 0.17.8.2.
Bind Key Press to Unit Death Counter
Step 1:
With your map open in EUD Editor 2, click on the "Plugins" button
Step 2:
Enable the "MurakamiShiinaQC" plugin
Step 3:
(It is fine to leave the recognition unit as-is; it does not appear to be affected by actual in-game events like creating/killing the unit in question.)
Click on the "Insert" button that appears
Step 4:
Select the key you would like to capture (for example, 'W'), the unit to hold the death counter for it (for example, 'Goliath Turret'), and the value of the death counter when the key is pressed (for example, 1)
*Example: 'W' key is pressed = Death Counter 1 for Goliath Turret // 'W' key is not pressed = Death Counter 0 for Goliath Turret
After Completion it will look similar to:
Step 5:
Repeat steps 3 & 4 for each key you want to detect. Use a different death counter if you need the keys to work simultaneously (e.g., holding 'W' and 'D' to move up-right)
Key press capturing has now been set, and you can detect these by using the corresponding condition (from the example, "Player 1 has suffered exactly 1 deaths of Goliath Turret" means Player 1 is holding down the 'W' key)
Step 6:
Check the eudTurbo option, which will function like hyper triggers. (I'm not sure if this is absolutely necessary for key press detection, but it's a good thing to have selected regardless.)
Step 7:
Close the window and click the "Insert" button to compile the key press plugin into your map
That's it! Attached is a demo of being able to control units with the WASD keys. WASD_Demo.scx is the source map, WASD_Config.e2s is a loadable EUD Editor 2 settings file with the steps above followed and saved, and WASD_Demo_Compiled.scx is the resulting functional demo allowing players to move their Terran Marine around with the WASD keys.
Attachments:
Post has been edited 2 time(s), last time on Feb 9 2019, 4:12 pm by Roy.
Learn how EUDs work: A Mapmaker's Guide for Creating EUDs
Don't like learning?: EUDGen 2
Other stuff: Farlap Bound Maker
Dash: 1 2 3 4 5 6 7 8 9 X
Jog: Original Warp
Other: Super Mario SC Fireball Guard Your Civilian Strength Contest
Don't like learning?: EUDGen 2
Other stuff: Farlap Bound Maker
Dash: 1 2 3 4 5 6 7 8 9 X
Jog: Original Warp
Other: Super Mario SC Fireball Guard Your Civilian Strength Contest