Colorcode in the ShooterUI.cfg not consistent


(Kl3ppy) #1

Not sure if it’s something you can fix, also it’s not a huge deal but today I worked on my ShooterUI.cfg and I noticed that the colorcode is not in the same order for everything:

[ShooterGame.SGUIHUDReticule]
m_bUseCrosshairHitIndicator=true
m_CrosshairType=ECT_Dot
m_CrosshairColour=(B=127,G=255,R=0,A=255)
m_CrosshairDotSize=ECDS_Small
[ShooterGame.SGUIHUDWeaponAmmo]
m_NoAmmoColor=(R=55,G=55,B=55,A=255)
m_AmmoColor=(R=255,G=255,B=255,A=255)
m_LowAmmoColor=(R=0,G=181,B=222,A=255)
m_LowAmmoColor2=(R=0,G=40,B=49,A=255)
m_LowAmmoPercentage=0.4
m_RateOfBlink=15
m_PollThreshold=0.2

I didnt edit my crosshair stuff in the cfg, I changed it ingame. As you can see, the normal order is RGB, but in the crosshair section I have BGR. Shouldnt it be the same order (RGB)?


(Wezelkrozum) #2

It doesn’t really matter in which order the colors are. The engine reads and assigns the values according to their keys. The keys B,R,G,A define what the value is supposed to represent. So as long as SD has assigned the crosshair color sliders to the right value it will be fine.