Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » You can now change the color of both teams
You can now change the color of both teams [message #191815] Sat, 04 March 2006 06:08 Go to previous message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma:
General (3 Stars)

See this image
index.php?t=getfile&id=798&private=0

Notice that GDI are now blue in the team display...
This also affects other places (like kills, team changes and anywhere else that reads the colors from this location).

This feature requires bhs.dll 2.4 on the client to work.

To make this work, you create a hud.ini file for your mod containing a [General] section with something similar to the following in it:
NodHouseRed=255
NodHouseGreen=0
NodHouseBlue=0
GDIHouseRed=119
GDIHouseGreen=143
GDIHouseBlue=255

As you can see, its values from 0 to 255 (0 = black, 255 = white)
Default Nod values are 255 red, 0 green, 0 blue
Default GDI values are 255 red, 204 green, 0 blue

The values in the example are what was used to generate the screenshot Smile

Now any mod where red and yellow dont make sense for house colors can change them to something better Smile

Oh and, as you can probobly tell by the name, hud.ini will be containing more ways to customize the HUD and what the player sees in-game Smile


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies

[Updated on: Sat, 04 March 2006 06:12]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: scripts.dll 2.4 is out
Next Topic: SSAOW 1.41 ported to scripts.dll 2.40 - unofficial release
Goto Forum:
  


Current Time: Wed Jul 17 13:36:06 MST 2024

Total time taken to generate the page: 0.01091 seconds