G15 Widget system, arrange and customise your widgets !!

First of all, you need the awesome g15 dll made by tezzanator, my partner for this project, for this to work: http://forums.facepunchstudios.com/showthread.php?p=7386227

No, what is this?
It’s a system that allows you to install small widgets and arrange them on the g15 display the way you want it. Pictures say more that thousands of word so here you are:

http://robert.tezzanator.net/pic1.jpg

http://robert.tezzanator.net/pic2.jpg

If you want to make your own widgets, look at the g15basewidgets.lua and learn. You can just use the normal commands, however the CreateEasy***** system takes care of the ID’s if you do it like in the example basewidgets.
Also, this is not yet compatible with multiple pages. I’m away for 6 days now and when I’m back I’ll do the final fixes to the pages manager and put that in, too. You can, however, add additional pages, but you have to take care of switching between them yourself. The pages manager will assign the first two buttons to switch between the pages and pass the second two buttons to the page so you can use them. If you have questions, just pm me, I’ll naswer as soon as I’m back. Have fun!

DL Version beta 0.2:

http://www.tezzanator.net/download/click.php?id=8

To open the settings enter widmanconfig in console and press escape to leave the menu so the game goes on in background or else you won’t notice the canges on the display in singleplayer because the game is paused.
Discuss. :smiley:

POST WIDGETS YOU MADE HERE TOO, I’LL ADD THEM TO THE FIRST POST!

:krad:

But I won’t have any uses for it.

I love you!! :smiley:

Looks cool,but rather large.

Large ?

That’s just a picture that’s been edited in at the bottom corner

Works flawlessly, Nice work :). Pixel thing is funny :smiley:

I thought it said midget system. bleh.

Good work though. makes VGUI a bit easier.

Edit:

oops, didn’t quite get what this was. It’s better than I thought. Didn’t even need midgets.

I find the G15 quite stupid. You’re gonna be looking at the screen most of the time.

It’s actually very helpful and if you design the display properly it shouldn’t take more than an instant to read what you need to read.

Some games, the G15 support seems like an afterthought (Sid Meier’s Railroads!, World of Warcrap), but others it’s genuinely helpful (Red Orchestra, Fraps, etc)

I agree with this, If you design it well It can become a useful tool.
I had a parellel port LCd hooked up (Same concept, except not attached to keyboard) sat ontop of my monitor, and it allowed me to keep an eye on the Temps, voltages, FPS, Memory usage etc. at a glance… VERY helpfull when overclocking.

It can also tell me how many emails i have, And the content of them without closing a game :wink:

What i am getting at is, If you design your layout well, It should only take a second or two to read (As phenex said).

Is there any way to remove the in-game HUD for ammo and health etc.(not weapons - unless, of course, you can make that viewable on the LCD aswell), so you can depend on the what the LCD says?

cl_drawhud 0
I Think

Well that’s considered a cheat and you can’t see the weaponicons you choose when you do that.

In fact, you can’t see anything on the HUD at all.

cl_enablehud?

Make a lua script that disables the hud and shove it in lua/autorun/client? :slight_smile:

[lua]
function hidehud(name)
for k, v in pairs{“CHudHealth”, “CHudBattery”, “CHudAmmo”, “CHudSecondaryAmmo”} do
if name == v then return false
end
return true
end
hook.Add(“HUDShouldDraw”, “hidehud”, hidehud)
[/lua]

Might work, Dunno :slight_smile:

Just modify the widgets to disable or enable the corresponding hud element on init and deinit.

I put gm_g15.dll in my bin folder, yet when I join a game this widget manager won’t load and says something like attempted to index global value g15 or something.

Lua/includes/Modules/

I Just coded a CPU graph, Like windows vista has :stuck_out_tongue: http://img217.imageshack.us/img217/6919/gmflatgrass0021am4.jpg

Not really, it’s image editing, ;/…Would be cool if this was real though ;(

senseless post. Just what the fuck.