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 next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
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

Re: You can now change the color of both teams [message #191819 is a reply to message #191815] Sat, 04 March 2006 08:19 Go to previous messageGo to next message
idebo is currently offline  idebo
Messages: 390
Registered: October 2004
Location: Netherlands
Karma: 0
Commander
Awesome, Red Alert: A Path Beyond should use this.
Re: You can now change the color of both teams [message #191823 is a reply to message #191819] Sat, 04 March 2006 09:49 Go to previous messageGo to next message
terminator 101 is currently offline  terminator 101
Messages: 822
Registered: March 2003
Location: Toronto
Karma: 0
Colonel
idebo wrote on Sat, 04 March 2006 10:19

Awesome, Red Alert: A Path Beyond should use this.

Re: You can now change the color of both teams [message #191825 is a reply to message #191815] Sat, 04 March 2006 09:59 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
Nice I love that idea for Renalert.

[Updated on: Sat, 04 March 2006 10:02]

Report message to a moderator

Re: You can now change the color of both teams [message #191827 is a reply to message #191815] Sat, 04 March 2006 11:05 Go to previous messageGo to next message
Napalmic
Messages: 57
Registered: May 2005
Location: United States
Karma: 0
Recruit
Truely great! Thumbs Up

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
Re: You can now change the color of both teams [message #191835 is a reply to message #191815] Sat, 04 March 2006 13:45 Go to previous messageGo to next message
blkhnd112 is currently offline  blkhnd112
Messages: 18
Registered: February 2005
Karma: 0
Recruit
Couldn't you do that in Level edit?
Re: You can now change the color of both teams [message #191838 is a reply to message #191815] Sat, 04 March 2006 14:01 Go to previous messageGo to next message
Cat998
Messages: 1081
Registered: January 2004
Location: Austria, Vienna
Karma: 0
General (1 Star)
Moderator/Captain

yes, but jonwil did it serverside

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter then "Yes"

Programming is like sex: one mistake and you have to support it for the rest of your life

Want the best answers? Ask the best questions!

"So long, and thanks for all the fish."
Re: You can now change the color of both teams [message #191843 is a reply to message #191815] Sat, 04 March 2006 15:38 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3556
Registered: February 2003
Karma: 0
General (3 Stars)

Actaully, no, this is done on the client.
But the numbers I changed cant be changed through leveledit, they are hardcoded into the game.


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
Re: You can now change the color of both teams [message #191847 is a reply to message #191819] Sat, 04 March 2006 16:46 Go to previous messageGo to next message
M1Garand8 is currently offline  M1Garand8
Messages: 101
Registered: March 2004
Location: Singapore City, Singapore
Karma: 0
Recruit
idebo wrote on Sat, 04 March 2006 23:19

Awesome, Red Alert: A Path Beyond should use this.


Seconded.
Re: You can now change the color of both teams [message #191851 is a reply to message #191815] Sat, 04 March 2006 16:49 Go to previous messageGo to next message
TD is currently offline  TD
Messages: 966
Registered: May 2005
Karma: 0
Colonel
Great job Jonwil, looking forward to this.

http://i38.tinypic.com/6fs2s9.png
Re: You can now change the color of both teams [message #191854 is a reply to message #191823] Sat, 04 March 2006 17:35 Go to previous messageGo to next message
JeepRubi is currently offline  JeepRubi
Messages: 1417
Registered: April 2005
Location: Ontario. Canada
Karma: 0
General (1 Star)

Terminator 101 wrote on Sun, 05 March 2006 05:49

idebo wrote on Sat, 04 March 2006 10:19

Awesome, Red Alert: A Path Beyond should use this.





HORQWER wrote on Tue, 18 September 2007 20:47

this is not a real renegade forums ,some one made it up

Renforums

We Know Drama

Renegade Forums - Official Drama Perpetuator.
Re: You can now change the color of both teams [message #191855 is a reply to message #191854] Sat, 04 March 2006 17:44 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
Jeep Rubi wrote on Sat, 04 March 2006 19:35

Terminator 101 wrote on Sun, 05 March 2006 05:49

idebo wrote on Sat, 04 March 2006 10:19

Awesome, Red Alert 2: Yuri's Revenge should use this.





Re: You can now change the color of both teams [message #191861 is a reply to message #191815] Sat, 04 March 2006 18:19 Go to previous messageGo to next message
JeepRubi is currently offline  JeepRubi
Messages: 1417
Registered: April 2005
Location: Ontario. Canada
Karma: 0
General (1 Star)

You cant quote sombody saying something they diddn't say.

HORQWER wrote on Tue, 18 September 2007 20:47

this is not a real renegade forums ,some one made it up

Renforums

We Know Drama

Renegade Forums - Official Drama Perpetuator.
Re: You can now change the color of both teams [message #191865 is a reply to message #191815] Sat, 04 March 2006 19:31 Go to previous messageGo to next message
Viking is currently offline  Viking
Messages: 1692
Registered: July 2005
Location: Earth
Karma: 0
General (1 Star)
Now make a better meteour script for servers to add or somthing cool!


Toggle Spoiler


QUOTES
"The Renegade community revolves around having something awesome, and not sharing it so you can be on top of the mountain." -Canadacdn

Crimson wrote on Thu, 17 May 2007 05:22

Memphis wrote on Tue, 15 May 2007 03:54

...fatally die to death...


I don't know if you meant to do that, but triple redundancy for teh win. I LOL'ed.


Awesome l337 people= Icedog90, Blazea58, Canadacdn, Crimson, jonwil
Re: You can now change the color of both teams [message #191927 is a reply to message #191815] Sun, 05 March 2006 11:28 Go to previous messageGo to next message
TD is currently offline  TD
Messages: 966
Registered: May 2005
Karma: 0
Colonel
Add a N00b-Detect0r + Auto-N00b-Kicker.

http://i38.tinypic.com/6fs2s9.png
Re: You can now change the color of both teams [message #191946 is a reply to message #191815] Sun, 05 March 2006 16:35 Go to previous messageGo to next message
JeepRubi is currently offline  JeepRubi
Messages: 1417
Registered: April 2005
Location: Ontario. Canada
Karma: 0
General (1 Star)

ef tey spelll ehne wrds rong cic dem k?

HORQWER wrote on Tue, 18 September 2007 20:47

this is not a real renegade forums ,some one made it up

Renforums

We Know Drama

Renegade Forums - Official Drama Perpetuator.
Re: You can now change the color of both teams [message #191956 is a reply to message #191855] Sun, 05 March 2006 18:05 Go to previous messageGo to next message
ben5015se is currently offline  ben5015se
Messages: 271
Registered: May 2005
Karma: 0
Recruit
Kamuix wrote on Sat, 04 March 2006 19:44

Jeep Rubi wrote on Sat, 04 March 2006 19:35

Terminator 101 wrote on Sun, 05 March 2006 05:49

idebo wrote on Sat, 04 March 2006 10:19

Awesome, Red Alert 2: Yuri's Revenge should use this.









i hate crimson, i hate lardass.
Re: You can now change the color of both teams [message #191960 is a reply to message #191815] Sun, 05 March 2006 20:21 Go to previous messageGo to next message
terminator 101 is currently offline  terminator 101
Messages: 822
Registered: March 2003
Location: Toronto
Karma: 0
Colonel
Kamuix and ben5015se whatever are you smoking, stop smoking it! But if it is good, you can give me some too.

"It is time you saw the future, while you still have human eyes"

Cheaters only Cheat themselves!
so
Hasta la vista, baby!
http://gamercards.exophase.com/6390.png
Re: You can now change the color of both teams [message #191993 is a reply to message #191956] Mon, 06 March 2006 06:35 Go to previous messageGo to next message
JeepRubi is currently offline  JeepRubi
Messages: 1417
Registered: April 2005
Location: Ontario. Canada
Karma: 0
General (1 Star)

ben5015se wrote on Sun, 05 March 2006 19:05

Kamuix wrote on Sat, 04 March 2006 19:44

Jeep Rubi wrote on Sat, 04 March 2006 19:35

Terminator 101 wrote on Sun, 05 March 2006 05:49

idebo wrote on Sat, 04 March 2006 10:19

Awesome, Red Alert: A Path Beyond should use this.












HORQWER wrote on Tue, 18 September 2007 20:47

this is not a real renegade forums ,some one made it up

Renforums

We Know Drama

Renegade Forums - Official Drama Perpetuator.
Re: You can now change the color of both teams [message #191994 is a reply to message #191993] Mon, 06 March 2006 06:43 Go to previous messageGo to next message
Kamuix is currently offline  Kamuix
Messages: 1247
Registered: May 2005
Location: Ontario, Canada
Karma: 0
General (1 Star)
Jeep Rubi wrote on Mon, 06 March 2006 08:35

ben5015se wrote on Sun, 05 March 2006 19:05

Kamuix wrote on Sat, 04 March 2006 19:44

Jeep Rubi wrote on Sat, 04 March 2006 19:35

Terminator 101 wrote on Sun, 05 March 2006 05:49

idebo wrote on Sat, 04 March 2006 10:19

Awesome, Kamuix is cool.












Re: You can now change the color of both teams [message #192014 is a reply to message #191815] Mon, 06 March 2006 13:22 Go to previous messageGo to next message
Alexraptor is currently offline  Alexraptor
Messages: 100
Registered: February 2006
Karma: 0
Recruit
does anyone even still play ren alert?
Re: You can now change the color of both teams [message #192047 is a reply to message #191815] Mon, 06 March 2006 16:55 Go to previous messageGo to next message
JeepRubi is currently offline  JeepRubi
Messages: 1417
Registered: April 2005
Location: Ontario. Canada
Karma: 0
General (1 Star)

When some 1ns on i do.

HORQWER wrote on Tue, 18 September 2007 20:47

this is not a real renegade forums ,some one made it up

Renforums

We Know Drama

Renegade Forums - Official Drama Perpetuator.
Re: You can now change the color of both teams [message #192069 is a reply to message #191994] Mon, 06 March 2006 21:30 Go to previous messageGo to next message
Jaspah is currently offline  Jaspah
Messages: 1478
Registered: July 2003
Location: Syracuse, New York
Karma: 0
General (1 Star)
Kamuix wrote on Mon, 06 March 2006 08:43

Jeep Rubi wrote on Mon, 06 March 2006 08:35

ben5015se wrote on Sun, 05 March 2006 19:05

Kamuix wrote on Sat, 04 March 2006 19:44

Jeep Rubi wrote on Sat, 04 March 2006 19:35

Terminator 101 wrote on Sun, 05 March 2006 05:49

idebo wrote on Sat, 04 March 2006 10:19

Awesome, Red Alert: A Path Beyond should use this.


Jaspah ftw.












[Updated on: Mon, 06 March 2006 21:30]

Report message to a moderator

Re: You can now change the color of both teams [message #192073 is a reply to message #191815] Mon, 06 March 2006 23:44 Go to previous message
terminator 101 is currently offline  terminator 101
Messages: 822
Registered: March 2003
Location: Toronto
Karma: 0
Colonel
What the hell? I never said that.
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:25:36 MST 2024

Total time taken to generate the page: 0.01291 seconds