Garry's Mod

Garry's Mod

90 ratings
toolgunapps
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
File Size
Posted
Updated
10.571 KB
20 Jul, 2014 @ 12:36pm
26 Mar, 2017 @ 9:54am
11 Change Notes ( view )

Subscribe to download
toolgunapps

Description
An application based re-write of Devenger's original toolgun minigames. Allow's the creation of application's on the toolgun's screen.

Bind something to 'tga_toggle' to activate/deactivate the iron sight. (e.g. bind 'MOUSE3' 'tga_toggle')
use key loads app_select from application.

For those looking to play people's games, their still available at http://code.google.com/p/toolgunminigames/source/browse/
with little modification they should work.

Commands:
tga_toggle - toggle's miniapp mode.
tga_enable 0/1 - enables/disables the addon. currently disabled in multiplayer servers.
tga_alwaysrender 0/1 - when active your application will render even when your not in the iron sight.
tga_showunfinishedapps 0/1 - displays application's with APP.Selectable set to false.
tga_MouseMove 0/1 - allow's your mouse movement's to impact the toolgun's angles.
tga_ZoomMul 0/1/2 - bring's the iron sight closer to the screen.
tga_reloadApps - update's your application's code inside the game.
tga_initialize - reload's the addon's base code inside the InitPostEntity hook.
tga_AllTools 0/1 - when false renders tools RenderToolScreen methods. Experimental.
tga_TexFilter 0/1/2/3 - texture sampling. 0 = none 1 = linear 2 = point 3 = anisotropic

Consult the readme in data/toolgunapps to add your own apps. Contact me about inclusion if you'd like. Once there's a few apps I'll add a scroll bar to app_select.

Thank's to Devencire for allowing me to change/replace/upload his code.

Code License:
released under GNU GPL v3.[www.gnu.org]
10 Comments
bean 24 Mar, 2017 @ 1:47pm 
It just says this in conosole when ever i try to use it Unknown command: tga_toggle
Unknown command: tga_toggle
Unknown command: tga_toggle
Unknown command: tga_toggle
bean 24 Mar, 2017 @ 10:59am 
it worked great the first time i used it in a world but now it doesnt seem to work i have tried the enable command and also re binded it but it still doesnt work. if anyone could help me that would be great. thanks
bveezey 19 Nov, 2016 @ 5:35am 
cool thing, its quite hard to use however.
a back button would be nice
Byoldersnort 14 Apr, 2016 @ 3:34pm 
Nice. Nothing works
JCGemX 5 Dec, 2015 @ 4:35pm 
video please... why, cues' I want to know what you can do with this.
Enclave Soldier 28 Dec, 2014 @ 3:03pm 
''you have not crashed yet, click here to crash'' XD
APERTURE LABORATORIES 28 Dec, 2014 @ 2:03pm 
ok stupid people
Reddking 24 Dec, 2014 @ 4:54pm 
4TH COMMENT!!!!!1!!!!1111!!!!!!!!!!!!!!!11!!!!!!!!!one!!!!!one!!!!11!!!!!!!!!!!!!!!1!!!!!!!!!!!!!!!!!!!!one!!!!!!!!!!!!!!!!!!!!!!!!1!!!!!!!!!!!!!!!one!!!!!!!!!!!!!!!!!!!!
Jay The Guy 28 Sep, 2014 @ 11:26am 
2ND COMMMMMMMEEEEEENT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?!??!?!?!!!?!?!?!?!?!?!?!?!?!?!!?!?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
c 18 Sep, 2014 @ 8:23pm 
FIRST COMMENT!!!!!!!!!!!!!!!!!!!!!!!!!!!