EUD's
Apr 17 2008, 2:39 pm
By: Brontobyte  

Apr 17 2008, 2:39 pm Brontobyte Post #1



I want to make a map that uses the mouse position to move a unit rather then having the player order it via right click of the mouse.

First: Is this going to be faster on b.net to use this idea rather then ordering it with the mouse?
Second: Is it possible to have at least 4 players that can use this? Doodle77[MM]'s map Mouse Defense uses EUD's for two different players.

If both of these can be done, or at least 2 players for the second condition, I would need to know how to do this.



None.

Apr 17 2008, 4:08 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

Do what I did for nukes a few posts down, only use the pointer. You may need to test whether or not the mouse position is on the map, or just on the screen.



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

Apr 17 2008, 4:12 pm Brontobyte Post #3



Quote from rockz
Do what I did for nukes a few posts down, only use the pointer. You may need to test whether or not the mouse position is on the map, or just on the screen.

I don't even know where to begin. I need to re-download Artmoney. Should I just make a regular 20x12 map filled with terrain, then just move my mouse to the top left corner tile? Unlike Doodle's map I want this to be a 1x1 grid instead of 2x2.



None.

Apr 17 2008, 4:16 pm rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

make a 64 x 64, top left is either 0x0 or 1x1 and top right is either 2048x0 or 2047x0. Repeat a few times until you get a few answers you like, then move the pointer to different spots to pinpoint which one it is.



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

Apr 17 2008, 4:27 pm Brontobyte Post #5



I'm going to just say it up front, if you haven't already guessed, I'm a complete noob at this.

I have the Free Ware version of ArtMoney. I searched for 0x0 and it says its "Impossible number for your type". What should I search it as? Doesn't the mouse move back to the center when you Alt+Tab out of StarCraft?



None.

Apr 17 2008, 4:45 pm rockz Post #6

ᴄʜᴇᴇsᴇ ɪᴛ!

You'll have to search for 0, since that is the number for the x or y axis value. Only look for 1 at a time.

you're looking for pixel locations as well.

If the mouse moves to the center, you'll have to find that location in pixels and search for it.



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

Apr 17 2008, 5:11 pm Brontobyte Post #7



I modified Doodle's mouse defense map to just order a devouring one to the center of the location the mouse was above. This is what I hope to accomplish. The bad news it that I changed ~10 triggers for the moving and now nothing works. Even if I move my mouse to a part where I haven't changed the triggers, their is no explosions from the wraiths. I used the text trigger editor to change them. It worked fine when I just moved it to one spot ( only changed one trigger ). I still need to know if this could be used for at least 2 players, 4 is the most.



None.

Apr 17 2008, 6:59 pm rockz Post #8

ᴄʜᴇᴇsᴇ ɪᴛ!

So mouse defense does this already? Why are you asking if it is possible then? (it obviously is).

Are you not getting artmoney to give you the location of the pointer? Try EUDTrig to get the offsets back into hex code from mouse defense so you know where you're supposed to be looking.



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

Apr 17 2008, 7:37 pm poiuy_qwert Post #9

PyMS and ProTRG developer

It will not work for multiple players. The mouse position is not shared, so the mouse detection triggers will fire for one person, but not for the others, causing a desync.




Apr 17 2008, 9:00 pm O)FaRTy1billion[MM] Post #10

👻 👾 👽 💪

Also mouse position is based on the screen, not the map. I've used it before in a map where you hover over stuff for information about it. :P



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!

Apr 18 2008, 3:31 am Brontobyte Post #11



Ok, stole used his triggering and figured out which is which. He has it a little mixed up based on Scmdrafts location pixels. ( Left, Top, Right, Bottom ) Now all I have to do is input the correct numbers that correspond to the location pixels.

Some problems:
How do I input EUD triggers into StarForge?
I'm not so clear on how many players can play the map. Only one or do I just have to make seperate EUD triggers for the correct player. They require 2 players per trigger condition so if I have 4 players ( which I do ) then it would work?

I just tested this on battle.net and it works fine. The whole idea was to try to beat latency on b.net. It is quicker to move your mouse and have triggers fire then it is to order your zergling to an area. This project will die if I can't have at the least 2 players. The only reason anyone would use this is for online use.



None.

Apr 18 2008, 3:48 am DT_Battlekruser Post #12



If a significant action (meaning it alters the game state that is held by the host machine) is triggered by a local condition (something that is only true on the executing machine), then the host's local game state and the client's local game state will not be identical ('out of sync') and the player(s) with the minority state will be disconnected.

To make a long story short, you can't use the mouse position to trigger an action like ORDER without desyncing.




None.

Apr 18 2008, 4:00 am rockz Post #13

ᴄʜᴇᴇsᴇ ɪᴛ!

I thought you could use switches to circumvent the desync



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

Apr 18 2008, 4:00 am Brontobyte Post #14



Quote from DT_Battlekruser
If a significant action (meaning it alters the game state that is held by the host machine) is triggered by a local condition (something that is only true on the executing machine), then the host's local game state and the client's local game state will not be identical ('out of sync') and the player(s) with the minority state will be disconnected.

To make a long story short, you can't use the mouse position to trigger an action like ORDER without desyncing.

Well that just mad my night.[/sarcasm]! :-(



None.

Apr 18 2008, 4:30 am O)FaRTy1billion[MM] Post #15

👻 👾 👽 💪

Quote from rockz
I thought you could use switches to circumvent the desync
no... How would switches do anything?



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!

Apr 18 2008, 5:15 am Brontobyte Post #16



So their is no way possible to use this idea for more then 1 player? :-(



None.

Apr 18 2008, 5:21 am rockz Post #17

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from O)FaRTy1billion[MM]
no... How would switches do anything?
Quote from A_of-s_t
O, and you have to use switches in accompaniment with the EUDs or else players will drop.
Quote from O)FaRTy1billion[MM]
Not necessarily. It has to do with what EUDs you are reading.
from an old maplantis thread. I never understood why/how switches would do anything, but apparently they do.



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

Apr 18 2008, 7:26 am DT_Battlekruser Post #18



He has some right.. switches do ring a bell about dealing with desyncs from the original Triggers of GOD thread. Switches are entirely local, but I still don't see that helping.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[10:07 pm]
lil-Inferno -- nah
[08: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
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
Please log in to shout.


Members Online: IlyaSnopchenko, 1taylorc781eL2