I was wondering if anyone has made a Lua script that hides the STool description overlay at the top of the screen and/or hides the toolgun beam. If not, could someone do that for me?
Damn, is someone gonna answer me?
Jesus Christ, surely someone knows SOMETHING about this!
Bump
[QUOTE=emkelley;21334953]Bump[/QUOTE]
Yeah you can do this, delete the toolgun_beam.vmt server side, or remove it from the tool_gun lua file.
Isn't there a button in options to turn off the tool gun beam?
[QUOTE=Cubar;21335739]Yeah you can do this, delete the toolgun_beam.vmt server side, or remove it from the tool_gun lua file.[/QUOTE]
You sure about that? Won't the GCF just replace it?
Like if you push 1 the yellow thing comes up? I'm pretty sure that's client-sided =\ no guarantees
Nah, The tool gun beam is a util.Effect for Tesla, while the physcgun beam can be turned off via the Q menus Hiding sub tab.
So, how would I get rid of the HUD? (Doesn't disappear when you put cl_drawhud 0 in the console)
I'm pretty sure the HUD is health bar, battery, and flashlight.
[lua]
function hidehud(name)
for k, v in pairs{"CHudHealth", "CHudBattery", "CHudAmmo", "CHudSecondaryAmmo"} do
if name == v then return false end
end
end
hook.Add("HUDShouldDraw", "hidehud", hidehud)
[/lua]
Which is explained on lua gmod wiki
[QUOTE=c-unit;21356967]I'm pretty sure the HUD is health bar, battery, and flashlight.
[lua]
function hidehud(name)
for k, v in pairs{"CHudHealth", "CHudBattery", "CHudAmmo", "CHudSecondaryAmmo"} do
if name == v then return false end
end
end
hook.Add("HUDShouldDraw", "hidehud", hidehud)
[/lua]
Which is explained on lua gmod wiki[/QUOTE]
What I mean is the little overlay at the top of the screen that describes what the STool does. It's REALLY annoying and renders NPC Scene pretty much useless.
Also, would someone tell me how to edit a lua file?
[QUOTE=emkelley;21357357]What I mean is the little overlay at the top of the screen that describes what the STool does. It's REALLY annoying and renders NPC Scene pretty much useless.
Also, would someone tell me how to edit a lua file?[/QUOTE]
Use an RT camera, to edit a Lua file just open it in notepad. Or if you wanna feel liek a pro download Notepad ++, thats what most people use.
The only reason i dl'ed N++ is because it's easier. Also because i fell legit when using it :3
Because notepad is illegal?
No like i feel badass haha
*sigh*... I know this is bumping an old thread, but I never really got an answer. Using the RT Camera has no effect, and no one ever told me EXACTLY what to edit it which lua file so that I can get rid of this retarded overlay.
Also, there's no such thing as the tool_gun.lua file.
lol
gmod_drawhelp 0
Sorry, you need to Log In to post a reply to this thread.