Raised This Month: $52 Target: $400
 13% 

RGB, RGBA, Hex


Post New Thread Reply   
 
Thread Tools Display Modes
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-07-2013 , 08:29   Re: RGB, RGBA, Hex
Reply With Quote #21

You can do the conversion to integer with one statement :/
__________________
Profile - Steam Group - Plugins - Blog - Donate
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-05-2019 , 18:05   Re: RGB, RGBA, Hex
Reply With Quote #22

Hey, now I realise, those symbols, how you can add in translation file.

Those are Left Alt+Numpad codes.
Code:
\x01 = Alt + 01
\x02 = Alt + 02
\x03 = Alt + 03
\x04 = Alt + 04
\x05 = Alt + 05
\x06 = Alt + 06
\x07 = Alt + 07
...
\x0A = Alt + 010
\x0B = Alt + 011
...
\x10 = Alt + 016
Most game need first add \x01 in phrase. "\x01\x02ASDasdasdsa"
In CSGO you can start with space " \x02AsdaASDASd"



*edit
Too pad this method not work some SM basic translations phrase, because it usually print [SM] tag prefix what mess colors hexs.

Last edited by Bacardi; 01-06-2019 at 01:41. Reason: hex hex
Bacardi is offline
Nocky
Junior Member
Join Date: Oct 2013
Old 05-25-2019 , 15:58   Re: RGB, RGBA, Hex
Reply With Quote #23

Quote:
Originally Posted by Bacardi View Post
Hey, now I realise, those symbols, how you can add in translation file.

Those are Left Alt+Numpad codes.
Code:
\x01 = Alt + 01
\x02 = Alt + 02
\x03 = Alt + 03
\x04 = Alt + 04
\x05 = Alt + 05
\x06 = Alt + 06
\x07 = Alt + 07
...
\x0A = Alt + 010
\x0B = Alt + 011
...
\x10 = Alt + 016
Most game need first add \x01 in phrase. "\x01\x02ASDasdasdsa"
In CSGO you can start with space " \x02AsdaASDASd"



*edit
Too pad this method not work some SM basic translations phrase, because it usually print [SM] tag prefix what mess colors hexs.

I'm trying to squeeze any code, but it never appears to me. Did I try it in the notepad, worpad and won't it show me where I'm making a mistake?
Nocky is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:50.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode