Garry's Mod

Garry's Mod

HL2 Quick Info
lol 10. juni 2019 kl. 15:33
Colorable Suggestion
Are you able to add a color menu to this, if you have the time to of course.
Sidst redigeret af lol; 26. juni 2019 kl. 18:23
< >
Viser 1-7 af 7 kommentarer
CnicK The Crocodile 26. juni 2019 kl. 17:47 
why not
NewAgeDerpDerp 29. juni 2019 kl. 15:40 
You can change the colors in the lua script file
lol 1. juli 2019 kl. 9:51 
Oprindeligt skrevet af eellsworth24:
You can change the colors in the lua script file
Mind giving a quick tutorial on how to access it?
yoknowhat 19. juli 2019 kl. 14:46 
Oprindeligt skrevet af lol.™:
Oprindeligt skrevet af eellsworth24:
You can change the colors in the lua script file
Mind giving a quick tutorial on how to access it?

Color changing suggestion

Go steam/steamapps/common/garrysmod/garrysmod/addons/
find addon as a .gma file, as for me it is /hl2_quick_info_1138414631.gma

Extract your addon with GMAD and then seek for .lua file in created folder
Now open this file with a Wordpad and seek for:

local clrNormal = Color(R, G, B, A) - that is the color model used by source engine
RGBA is the the same color state as usual RGB but with Alpha (transparent) channel

^ so for setting the color you want - just seek for it in RGB and put it in ^

FOR EXAMPLE
i like white so i wanna have white hud
white in RGB looks like 255 255 255
so i set local clrNormal = Color(255, 255, 255, 255)

Basically you dont have to change Alpha (4th channel), so leave it as is, 255 (non-transparent)

Also, you can change next line ( local clrCaution ) the same way

It is already set to local clrCaution = Color(255, 48, 0, 255) , which means it to be ~red~

This way clrCaution ~red~ means hp/ammo indicator will turn red when player reaches cautious level of hp/ammo

WARNING! DELETE ORIGINAL .GMA FILE BEFORE STARTING THE GAME

Sidst redigeret af yoknowhat; 20. juli 2019 kl. 7:35
lol 20. juli 2019 kl. 12:18 
Oprindeligt skrevet af дед:
Oprindeligt skrevet af lol.™:
Mind giving a quick tutorial on how to access it?

Color changing suggestion

Go steam/steamapps/common/garrysmod/garrysmod/addons/
find addon as a .gma file, as for me it is /hl2_quick_info_1138414631.gma

Extract your addon with GMAD and then seek for .lua file in created folder
Now open this file with a Wordpad and seek for:

local clrNormal = Color(R, G, B, A) - that is the color model used by source engine
RGBA is the the same color state as usual RGB but with Alpha (transparent) channel

^ so for setting the color you want - just seek for it in RGB and put it in ^

FOR EXAMPLE
i like white so i wanna have white hud
white in RGB looks like 255 255 255
so i set local clrNormal = Color(255, 255, 255, 255)

Basically you dont have to change Alpha (4th channel), so leave it as is, 255 (non-transparent)

Also, you can change next line ( local clrCaution ) the same way

It is already set to local clrCaution = Color(255, 48, 0, 255) , which means it to be ~red~

This way clrCaution ~red~ means hp/ammo indicator will turn red when player reaches cautious level of hp/ammo

WARNING! DELETE ORIGINAL .GMA FILE BEFORE STARTING THE GAME
Your assistance will not be forgotton.
yoknowhat 25. juli 2019 kl. 4:08 
lmao you have 7 times more hrs played at gmod and yet asking community for help at simpliest lua stuff



Sidst redigeret af yoknowhat; 25. juli 2019 kl. 4:09
lol 25. juli 2019 kl. 7:33 
Oprindeligt skrevet af дед:
lmao you have 7 times more hrs played at gmod and yet asking community for help at simpliest lua stuff
I mean it's not like having a lot of hours in a game automatically mean you know lua.
< >
Viser 1-7 af 7 kommentarer
Per side: 1530 50