• gm_g15 - Garrysmod G15 Interface (Realtime)
    90 replies, posted
  • Avatar of Fr0z3n F14m3
  • [QUOTE=lemming77]lawl image Very nice work, I'm gonna have to play around with this more tomorrow. :D [b]Edit:[/b] [url=http://www.logitech.com/index.cfm/gaming/pc_gaming/mice_keyboards/&cl=gb,en]I don't see a G15 Gaming Keyboard[/url]...[/QUOTE] I do see a [url=]http://www.amazon.com/Logitech-967599-0403-G15-Gaming-Keyboard/dp/B000AY0HTU[/url]
  • Avatar of Tezzanator92
  • This will also work with the z10 Speakers and any other logitech LCD device with some code edits :)
  • Avatar of Sora-Chan
  • You know what might be a cool addition to this? Though it will go past the LCD portion of the g15. Make it so that you can bind commands to the G keys. I've seen some people do this kind of thing for other games. What they did was had a config file where there would be something like bind m*g@ where m* would be the macro set (going from m1 to m3), and g@ would be the g button (going from g1 to g18). The user would probably have to set it up so that the profiler will automatically switch over to a blank profile (as in a profile that has no binds setup) when the source engine is running (the hl2.exe process that is), to keep it from trying to do both profile bound keys and GMod bound keys. Oh and nice creation Tezzanator.
  • Avatar of venom
  • Looks real good. I'd try it, but I don't have this Gaming Keyboard. LUA King'd.
  • Avatar of Sora-Chan
  • Well today I had a interesting idea to do to get the desired effect in binding keys for GMod.... Did you know that while you have Function keys on your keyboard.. as in the F1-F12 keys... that computers can recognize up to F64? (Or so I'm told) What I'm doing is manually creating a profile (through notepad) to have these keys bound. IF this works, as in the computer can see them.. AND I can bind them within GMod... I will be a very happy girl. Oh and I'll post the code for it if it works. EDIT: Sorry guys, but the idea failed... Apparently the source engine doesn't see any F key above F12...
  • Avatar of Sora-Chan
  • Unfortunately... those keys are already bound... if I remember the only keys I don't have bound are . F7 F8 F10 F11 N Home and End... and it gets hard to remember which key does what some times. Besides, if we could get the G keys be able to be bound it would allow 54 keys to be used. Oh and I looked into how the one group that made it so that you could bind the G keys in a game, I found out that they had created a DLL file that automatically, as they put it, aliased the keys to M*G* where M* was the set number and G* was the g key. So I figured.. if someone could figure out how to bind the keys to a similar scheme, we could use the alias command to have the keys bound, or maybe just be able to make it so that the keys are recognized by GMod by that kind of setup, it could make things easier when it comes to running scripts, commands, ect.
  • Avatar of bive
  • Hmm i love this a lot but i can't script or code to save my life, so I am going to make a request:D just a few more options in the widget screen so i get more then my ping,hp,and fps on my G15 as that's all i really get. Also so it shows up in the Q menu under settings so i don't have to rip in to console also so i can make changes on the fly :) Apart from that this is damn awesome i have a few of your script must say I am a subscriber.
  • make a console thing so you press a button and the g15 is the console so nothing pops up and you type and press enter.
  • Avatar of Chatman
  • My Game Crashes when I start a Server and load this file into it ... What now ?
  • Avatar of Sippeangelo
  • Ok I'm having a problem. I installed everything and the first thing I tested was the health bar. It worked fine! But after that, any script I load makes Gmod crash. It only worked the first time. The G15 Widget manager thing still works. I've looked at the code of it and I can't see any difference. Do I [b]have[/b] to load the scripts as autorun? Is the control IDs specific to the LCD you've created in the code? [lua] require("g15") g15.createLCD( false, "Gmod: Test" ) g15.addtext( 1, false, 2, 1, 160, 1 ) g15.settexttext( 1, "Testing!" ) [/lua] I've not tried it in the autorun folder. [b]Edit:[/b] It does not matter if it's autorun. It crashes anyway.
  • Avatar of n00bz
  • Is there any easy way to get a simple screen on my g15 screen to show health ammo and maybe a few extra things? I mean instead of going and making it myself? (I'm really stupid!)
  • YAY!, im soon geting the G19. im hoping this will work on it. It has an LCD screen so maybe you can program another plugin so that it displays rt cameras on it or maybe the tool gun screen. If its any help to you the keyboard has its own OS, Linux
  • Avatar of Deco Da Man
  • [QUOTE=l337k1ll4;14232545]1 year bump FTW![/QUOTE] What's wrong with bringing up old threads? Unless it's some useless spam thread, I think it's fine. Especially with threads like these. I'm sure alot of people didn't know this existed. Thanks to the noob-ish bumper, it'll get some more publicity. And, why even point out the bump? You're just bumping it yourself.
  • Avatar of kp3
  • [QUOTE=Deco Da Man;14234153]What's wrong with bringing up old threads? Unless it's some useless spam thread, I think it's fine. Especially with threads like these. I'm sure alot of people didn't know this existed. Thanks to the noob-ish bumper, it'll get some more publicity. And, why even point out the bump? You're just bumping it yourself.[/QUOTE] You're also bumping it yourself, Smart one. So am i, Woops. [img]http://sa.tweek.us/emots/images/emot-v.gif[/img]
  • Avatar of Hunter234564
  • Well, while this tread is back: I have installed this, and the "Gmod health example" shows up on the driver, but ingame the script wont be selectable on the LCD display. And a get a lua error from the health_text.lua, LocalPlayer() is a nil value. The script is in lua/autorun/client/, I tried singleplayer and a listen server. And if this works I am going to add G15 support to wire's E2 chip.
  • [QUOTE=kp3;14248505]You're also bumping it yourself, Smart one. So am i, Woops. [img]http://sa.tweek.us/emots/images/emot-v.gif[/img][/QUOTE] I do believe Deco [b]wanted[/b] to bump it. He's saying that bumping is fine, if the content's thread is good.
  • Avatar of Hunter234564
  • I got the module to work, and made [url=http://www.wiremod.com/forum/85032-post9.html]this[/url]. When it gets released I'll post a link here. EDIT: Keep getting stack error, any help? [code] Stack Error: 1 values left on Stack! 0> Type: nil - Value: '(null)' [/code] About 1/10 of the times its "2 values left" instead of 1.
  • Avatar of ief015
  • Bump. It won't let me drag widgets placed in the vgui. Is this happening to everyone?