AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved RGB color of /r (menus) (https://forums.alliedmods.net/showthread.php?t=318711)

MihailoZ 09-16-2019 09:12

RGB color of /r (menus)
 
Hello,

what is the RGB code of /r color? I tried 255 0 0 but /r is more softer.


Rhanks.

LearninG 09-16-2019 09:18

Re: RGB color of /r (menus)
 
you may like to see this : https://www.google.com/search?client...UTF-8&oe=UTF-8

MihailoZ 09-16-2019 09:26

Re: RGB color of /r (menus)
 
Quote:

Originally Posted by LearninG (Post 2667143)

I want the same color as /r.

Natsheh 09-16-2019 09:40

Re: RGB color of /r (menus)
 
Download a picture of a menu containing the red color then use paint, select the syringe tool click on the picture where the color red exists. Might not give you 100 % accurate but oh well :)

OciXCrom 09-16-2019 09:45

Re: RGB color of /r (menus)
 
https://github.com/ValveSoftware/hal...l_dll/menu.cpp

PHP Code:

case 'w':
    
menu_r 255;
    
menu_g 255;
    
menu_b 255;
    break;

case 
'd':
    
menu_r 100;
    
menu_g 100;
    
menu_b 100;
    break;

case 
'y':
    
menu_r 255;
    
menu_g 210;
    
menu_b 64;
    break;

case 
'r':
    
menu_r 210;
    
menu_g 24;
    
menu_b 0;
    break; 

Dear Valve, why did you have to hardcode this?

MihailoZ 09-16-2019 09:51

Re: RGB color of /r (menus)
 
Thank you very much. 100% right. :)

thEsp 09-16-2019 14:20

Re: RGB color of /r (menus)
 
Quote:

Originally Posted by OciXCrom (Post 2667149)
https://github.com/ValveSoftware/hal...l_dll/menu.cpp

PHP Code:

case 'w':
    
menu_r 255;
    
menu_g 255;
    
menu_b 255;
    break;

case 
'd':
    
menu_r 100;
    
menu_g 100;
    
menu_b 100;
    break;

case 
'y':
    
menu_r 255;
    
menu_g 210;
    
menu_b 64;
    break;

case 
'r':
    
menu_r 210;
    
menu_g 24;
    
menu_b 0;
    break; 

Dear Valve, why did you have to hardcode this?

How does it look hard-coded? :?

Natsheh 09-16-2019 14:46

Re: RGB color of /r (menus)
 
Quote:

Originally Posted by thEsp (Post 2667185)
How does it look hard-coded? :?

Because you can't change the values without being forced to edit the module and recompiling it.

I think you can break that by using orpheu but not sure how, Using IDA locating addresss etc...

thEsp 09-16-2019 14:58

Re: RGB color of /r (menus)
 
Quote:

Originally Posted by Natsheh (Post 2667191)
Because you can't change the values without being forced to edit the module and recompiling it.

I think you can break that by using orpheu but not sure how, Using IDA locating addresss etc...

That's actually limited and not hard-coded, plus it's client-side only feature.


All times are GMT -4. The time now is 14:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.