• EMC - Extended Mouse Control
    313 replies, posted
  • Avatar of Sippeangelo
  • [B]Introduction:[/B] Remember this video Garry made before GMod 10 was released where he used the mouse to weld boxes to the wall? I thought it was awesome, but I was really disappointed that you couldn't control the physgun with the mouse as well. [B]Description:[/B] This script will add that functionality, letting you move props and pose ragdolls by simply holding the C button and use the mouse! Also it will let you [B]press buttons[/B], [B]open doors[/B] and [B]interact with the world[/B] in many ways by just using the mouse! [B]Video:[/B] [media]http://www.youtube.com/watch?v=qB5by1ZrTD0[/media] [B]Features:[/b] (Not a complete list) [list]Move and freeze props[/list] [list]Pose ragdolls[/list] [list][highlight]Use buttons outside while sitting in a seat![/highlight][/list] [list]Press buttons[/list] [list]Explode dynamites[/list] [list]Open/Close doors[/list] [list]Toggle emitters[/list] [list]Turning on/off turrets[/list] [list]Using cameras that's not yours[/list] [list]Toggle lamps/light[/list] [list]Toggle thrusters[/list] [list]Activate prop spawners[/list] [list]Toggle stargate irises[/list] [list]Using ring teleporters[/list] [list]Toggle lasers[/list] [list]Turning on/off thumpers (The machines that scares antlions)[/list] [list]Making scanners deploy mines[/list] [B]Latest release:[/B] [url=http://www.garrysmod.org/downloads/?a=view&id=43573][img]http://www.garrysmod.org/img/?t=dll&id=43573[/img][/url] [b]How to use:[/b] Hold C on your keyboard, then use your mouse to move and use things! If you need to change this key for whatever reason you can find it in your keyboard settings, named "Context Menu". Bind it to whatever key you want. [B]Notes:[/B] This is SERVER SIDE, meaning the server needs to have the script to make it work. If you host your own server, the players who join will be able to use the script even if they do not have it installed themselves. [b]Clientside?[/b] Download this: [url]http://forums.facepunchstudios.com/showthread.php?t=566811[/url] It will only allow you to use the physgun clientside. Not all fancy entity functions. [B]Do someone have a touch screen or a TabletPC that can run GMod?[/B] I would really like to see this mod tested on a touch screen. I imagine it would be very cool moving around props and pressing buttons only using your fingers. If you have one, please record a movie where you are using this addon on your touch screen and post it here. It would be really appreciated! :siren: [highlight]Somebody just did! Thanks ThymeCypher!![/highlight] :siren: [media]http://www.youtube.com/watch?v=XEUQQARAXmY[/media] Awesomeness
  • Avatar of Sakarias88
  • Good Job! Have you played the game Penumbra? You interact with the world in the exact same way.
  • Avatar of SYLUX1992
  • Man! This is one of the coolest and most useful codings I have seen for Gmod. The coding must have been quite complicated for the system to work correctly. You have my download in a flash! Awesome job man!
  • Avatar of McMissile
  • Awesome. You should have named it mind control and given players an animation which put their fingers on their heads. Looks fun.
  • awsome. i never saw that gmod video by garry but this could help minge bags tho may spam it. i can think of bad uses but on single player this will be useful [b]Edit:[/b] awsome [b]Edit:[/b] awsomeonium
  • Avatar of McMissile
  • Question, does this work with Prop protection? I'd put it on my server, but I don't want minges punting my contraptions around and auto deleting them. Also, could you get a fix for the "crack keypads" ability? I could see that getting abused in multiplayer.
  • Avatar of Sippeangelo
  • [QUOTE=McMissile]Question, does this work with Prop protection? I'd put it on my server, but I don't want minges punting my contraptions around and auto deleting them. Also, could you get a fix for the "crack keypads" ability? I could see that getting abused in multiplayer.[/QUOTE] I'll fix this in the next version probably released soon. Thanks for the info!
  • Avatar of seacookie
  • Wow! This is awesome! You get my download! Plus a Lua King! I'm looking forward to all of your uploads.
  • Avatar of Dibz
  • Awesome, but can you add a right click control to move the balloons around if you know what I mean?
  • Avatar of MrJelle
  • Would it be possible to make this configurable server-side, either through CVars or in a seperate file, so we can enable and disable features or even make them admin only? The idea of anyone just cracking keypads and running amock in servers with this is keeping me from putting it on my server.
  • Avatar of 4RT1LL3RY
  • Some one is already copying it and calling their own. [url=http://www.garrysmod.org/downloads/?a=view&id=43582]mousecontrol.zip[/url]
  • Avatar of Lyokanthrope
  • [QUOTE=4RT1LL3RY]Some one is already copying it and calling their own. [url=http://www.garrysmod.org/downloads/?a=view&id=43582]mousecontrol.zip[/url][/QUOTE] The file contents are different..
  • Avatar of BlackNecro
  • Just a small hint for you - if you set the physgun helper sent angle to the players angle and update it all the time (to the players angle) you'll achieve two good things. a) stuff won't rotate slowly and b) stuff rotates with the player, also you should set it's weight to 50k for max power ;P
  • Avatar of Hemuli
  • [QUOTE=4RT1LL3RY]Some one is already copying it and calling their own. [url=http://www.garrysmod.org/downloads/?a=view&id=43582]mousecontrol.zip[/url][/QUOTE] I just made a clientside version of this, although it uses the default gmod physgun AND it's buggy. You could still use it in posing because physgun doesn't let you move things around when having the context menu open :v:
  • Avatar of Sippeangelo
  • [QUOTE=Hemuli]I just made a clientside version of this, although it uses the default gmod physgun AND it's buggy. You could still use it in posing because physgun doesn't let you move things around when having the context menu open :v:[/QUOTE] I was thinking of something like that before but then I decided just to replicate the physgun code because I did not want the items you are phygunning to be fixed, I wanted them to move around physically while you hold it. But that script is awesome anyway!
  • Avatar of Mislum
  • Holy ****! Pure awesomeness! *Downloading* Oh and I lol'd at the "Crack Keypad" :3:
  • Avatar of Sippeangelo
  • [QUOTE=BlackNecro]Just a small hint for you - if you set the physgun helper sent angle to the players angle and update it all the time (to the players angle) you'll achieve two good things. a) stuff won't rotate slowly and b) stuff rotates with the player, also you should set it's weight to 50k for max power ;P[/QUOTE] Stuff are meant to be affected by physics. Light things will rotate slowly as you say but more heavy object will be affected by physics. Thanks anyway, you solved another problem.
  • Avatar of xer2k8
  • Dude amazing job well done, i'm downloading now and trying it a.s.a.p 1x Lua King :D
  • Avatar of Lyokanthrope
  • Oh dear..You gotta add prop protection support ASAP. Also, feature request, lock/unlock vehicles?
  • Avatar of hogofwar
  • I get this error when i try and toggle an iris: [code] autorun/server/sv_extended_context.lua:154: attempt to call method 'OpenIris' (a nil value) [/code]
  • Avatar of Sippeangelo
  • [QUOTE=hogofwar]I get this error when i try and toggle an iris: [code] autorun/server/sv_extended_context.lua:154: attempt to call method 'OpenIris' (a nil value) [/code][/QUOTE] I guess I coded that with an old version of the stargate. What version are you using and where can I download it?
  • Avatar of hogofwar
  • I have the SVN off the stargate thread: [url]http://forums.facepunchstudios.com/showthread.php?t=517558[/url] And sometimes i see the text in top left corner sometimes. Also I get this error when I use the physgun with this when I use this with any SWEP: [code] autorun/server/sv_extended_context.lua:46: attempt to index a nil value [/code] And how am I supposed to use the ring transporter function in this on them?
  • Avatar of Xeneon
  • Looks awesome. Just one question though, how does the remove things you throw away work and what use does it have.
  • Avatar of Sippeangelo
  • [QUOTE=Xeneon]Looks awesome. Just one question though, how does the remove things you throw away work and what use does it have.[/QUOTE] Well, as soon you trow a thing away it will automatically remove it if it's a specific number of units away. I usually throw away stuff I don't need instead of using the remover when I'm in a rush.