Jump to content


Photo

Changing Faction Colors


  • Please log in to reply
18 replies to this topic

#1 Allied General

Allied General

    C&C Guild

  • Hosted
  • 6,922 posts
  • Location:United Kingdom
  • Projects:AGSA
  •  Modder

Posted 16 November 2005 - 09:41 AM

[Colors]
LightGold=25,255,255 ; 0 Orange
Gold=43,239,255 ;41,240,230; 1 MP Bright Yellow;Yellow
LightGrey=0,0,240 ; 2 White
Grey=0,0,131 ; 3 Grey
Red=20,255,184 ; 4 Brown
DarkRed=0,230,255 ; 5 MP Red
Orange=25,230,255 ; 6 MP Orange
Magenta=221,102,255 ; 7 MP Pink
Purple=201,201,189 ; 8 MP Purple
LightBlue=119,143,255 ; 9 Aqua
DarkBlue=153,214,212 ; 10 MP Blue
NeonBlue=185,156,238 ; 11 Violet
DarkSky=131,200,230 ; 12 MP Periwinkle (i.e. aquaish)
Green=104,241,195 ; 13 Bathroom green
DarkGreen=81,200,210 ; 14 MP Light green
NeonGreen=0,0,0 ; 15 Black
Yellow=38,159,255 ; 16 Pastel yellow
Purple2=211,201,189
Purple3=191,201,189

is in your rules/rulesmd.ini file.

MP represents multiplayer colors.

Grey= will be the default color for no owner/neutral threats and in TS this also effects sidebar text color.

change these values to change ingame faction colours. The values are in HSB so use RGB programme which can be downloaded from this link

http://rtb.strategy-...tool_rgbhsb.rar

Rock Patch is required if you want to change the colors in the skirmish down drop menu listing (YR only)

MP are multiplayer colours.

Edited by Allied General, 16 November 2005 - 09:42 AM.

Posted Image

#2 Major_Gilbear

Major_Gilbear

    God-Emperor of Dune

  • Members
  • 1,745 posts

Posted 16 November 2005 - 06:34 PM

Hmm, this is just copied form the Rules.ini, isn't it?

How about giving some examples of colours ppl might find helpful, along with a colour swatch to show what it looks like? That would then help ppl looking for colours as well as those looking to generate their own...

#3 Allied General

Allied General

    C&C Guild

  • Hosted
  • 6,922 posts
  • Location:United Kingdom
  • Projects:AGSA
  •  Modder

Posted 16 November 2005 - 07:01 PM

Hmm, this is just copied form the Rules.ini, isn't it?

How about giving some examples of colours ppl might find helpful, along with a colour swatch to show what it looks like? That would then help ppl looking for colours as well as those looking to generate their own...

<{POST_SNAPBACK}>


Well if u download the utility i used, it should be relatively simple to follow for instance if i replace

Gold=43,239,255

with Gold=0,0,131

then the yellow colour ingame will change to civilian grey.

You then use rock patch and csf strings to change skirmish menu information.

i'm just providing the basics but i'm sure bobing or pd can provide one but to be honest, the combinations are endless i think or at least a awful lot.
Posted Image

#4 Lee

Lee

    title available

  • Division Leaders
  • 2,313 posts
  • Location:Nottingham, England
  • Projects:Life
  • Division:Art & Design
  • Job:Division Leader

Posted 16 November 2005 - 08:04 PM

I knew how to do this :lol: arnt i special :lol:

Posted Image

Posted Image




#5 Major_Gilbear

Major_Gilbear

    God-Emperor of Dune

  • Members
  • 1,745 posts

Posted 16 November 2005 - 08:06 PM

I know that combos are vitually endless, I just thought it might be a good idea to provide the numbers for a few colours like tan, khaki, magenta, etc, as well as a pictoral instance?

#6 Allied General

Allied General

    C&C Guild

  • Hosted
  • 6,922 posts
  • Location:United Kingdom
  • Projects:AGSA
  •  Modder

Posted 16 November 2005 - 09:05 PM

I know that combos are vitually endless, I just thought it might be a good idea to provide the numbers for a few colours like tan, khaki, magenta, etc, as well as a pictoral instance?

<{POST_SNAPBACK}>


i think there is a tiberium color thread at PPM with a answer to this, although not exact, it relates to HSB values as tibeirum use to Color=Dark green etc, a large readme file is attached but if i have the time i probably will.
Posted Image

#7 genobreaker

genobreaker

    Infantry General

  • Hosted
  • 1,223 posts
  • Location:Philippines
  • Projects:Yuri's Revenge: Zero Hour
  •  Revorian Loyalist - 10th

Posted 17 November 2005 - 12:03 PM

just dont use white and black for remaps
Become the Ultimate General - Mod Demo is Available!
Posted Image
Prepare your weapons technology against the worlds most powerful generals.
FREEDOM STUDIOS: http://www.freedomstudios.net

#8 BobingAbout

BobingAbout

    Serious Modder

  • Hosted
  • 1,288 posts
  • Location:Here
  • Projects:R:ROTC, Destructivality, Factorio Mods
  •  Coder

Posted 17 November 2005 - 03:17 PM

heres one i made earlier :p
Posted Image

the Colours entry that the grid uses are listed here. there are two colours in 2 of the squares, the top left 1 is the old, commented out version.
[Colors]
LightGold=25,255,255 ; 0 Orange
Gold=38,180,255 ; 1 MP Bright Yellow;different yellow
LightGrey=0,0,240 ; 2 LightGrey
Grey=0,0,131 ; 3 Grey
Red=250,210,190 ; 4 new entry: Crimson
DarkRed=0,230,255 ; 5 MP Red
Orange=25,230,255 ; 6 MP Orange
Magenta=20,255,184 ; 7 MP Brown ;was pink
Purple=201,201,189 ; 8 MP Purple
LightBlue=119,143,255 ; 9 Aqua
DarkBlue=153,214,212 ; 10 MP Blue
NeonBlue=185,156,238 ; 11 Violet
DarkSky=131,200,230 ; 12 MP Periwinkle (i.e. cyan)
Green=104,241,195 ; 13 Bathroom green
DarkGreen=81,200,210 ; 14 MP Light green
NeonGreen=0,0,50;0 ; 15 Black
Yellow=43,239,255 ; 16 Pastel yellow
AlliedLoad=164,255,255 ; 17
SovietLoad=0,235,255 ; 18
Purple2=211,201,189 ; 19 Purple
Purple3=191,201,189 ; 20 Violet
;new
ThirdLoad=200,160,175 ; 21
FourthLoad=38,190,240 ;43,200,200 ; 22
LightOrange=33,245,255 ; 23 Orangey Yellow
Turquise=130,180,185 ; 24 Turquise
Pink=221,102,255 ; 25 Pink
TruePink=229,255,255 ;26
Crimson=250,255,150 ; 27 New Crimson
DarkPurple=211,255,130 ; 28 Dark Purple


use the software i helped PD write here to generate HSB colour codes from RGB values. there is 1 known bug that if you use Hue 128, it turns to green hue 85.

anyway first value, is hue, 0 is red 128 is the midpoint at cyan, through to 256=0 red again. max is 255.
about 85 is green, and 170 is blue. anyway...

second value is what i call Saturation, its not exactly saturation, but close enough. 0 is white, 255 is full colour. true saturation would be the average grey at calue zero, not white. which in most cases here would be 85.

third value is what i call brightness, and is applied last. 0 is black, and 255 is colour, if saturation was 0, the colour is white, so, the 3rd value would act as grey's tone if saturation was 0.

I've got a graph showing this.
top of each third is 255, bottom of each third is 0. left is 0, right is 255.
Posted Image
top third shows the hue, each colour represents the effect hue has on a R, G and B value.

middle third represents saturation, assuming hue is 0, the colour shown is red. as you go up, you gradually go from white, to the colour, which in this example is red.

bottom third represents brightness.assuming hue is 0 (red) and saturation is 0(pure colour(red)), 0 is black, and 255 is full colour.

make sence?

the easy part was working out how it worked, the hard part was turning that into a series of formulae to write a computer program.

Edited by BobingAbout, 17 November 2005 - 09:47 PM.

Posted Image
Posted Image

#9 cdmtx(YR)

cdmtx(YR)

    title available

  • Hosted
  • 624 posts
  • Location:U.S.A. N.J.
  • Projects:Command & Conquer Destiny

Posted 11 April 2007 - 10:06 PM

I want to have a black prism beem when I used the code for black from http://modenc.renega...ects.com/Colors that is "Black=0,100,0" I did not have a black prism been, but more of a green color.
Any help will help. LoL
Command & Conquer Destiny, a brand-new YR modification here on Revora, led by myself cdmtx(YR).
Please check out the forum for this brand-new modification. Click Here


Command & Conquer Destiny trailer released!! Take a look Click Here

I need a Maper and an assistant coder. If you are interested or want to start getting involved with moding, please contact me on MSN, AIM, or PM me.
Posted Image
Posted Image

#10 Jeeves

Jeeves

    I write the interwebz

  • Members
  • 4,156 posts
  •  Friendly neighborhood standards Nazi

Posted 12 April 2007 - 12:46 AM

Black would be 0,0,0

World Domination Status: 2.7%


#11 TX1138

TX1138

    TEXT UNRELATED

  • Project Team
  • 866 posts
  • Location:Australia
  • Projects:...
  •  Giant Spectrum Panda

Posted 12 April 2007 - 07:52 AM

The colours under the [Colors] section of the rules file are in YR only HSB, the colours for lasers and the sort are in RGB :p
Posted Image

Realism is so overrated it isn't even funny. You already know what happens in reality, how is that entertaining...?


#12 OmegaBolt

OmegaBolt

    Lost In The New Real

  • Hosted
  • 6,273 posts
  • Location:London, England
  • Projects:Red-Resurrection
  •  O'Bolt

Posted 12 April 2007 - 07:03 PM

Just a note, LightGrey is for civilian items in my game, not Grey.

Posted Image

Posted ImagePosted ImagePosted ImagePosted Image


#13 cdmtx(YR)

cdmtx(YR)

    title available

  • Hosted
  • 624 posts
  • Location:U.S.A. N.J.
  • Projects:Command & Conquer Destiny

Posted 16 April 2007 - 07:11 PM

Black would be 0,0,0


The colours under the [Colors] section of the rules file are in YR only HSB, the colours for lasers and the sort are in RGB



Thanks!! :p
Command & Conquer Destiny, a brand-new YR modification here on Revora, led by myself cdmtx(YR).
Please check out the forum for this brand-new modification. Click Here


Command & Conquer Destiny trailer released!! Take a look Click Here

I need a Maper and an assistant coder. If you are interested or want to start getting involved with moding, please contact me on MSN, AIM, or PM me.
Posted Image
Posted Image

#14 SSTG

SSTG

    alive again!

  • Hosted
  • 1,270 posts
  • Location:NZ
  • Projects:might just go back to voxeling
  •  just voxeling stuff

Posted 29 April 2007 - 04:20 AM

Is it possible to change the main colour of the factions in campaign mode I was gonna change yuris to a yellowish goldish colour
Posted Image
Posted Image
Posted Image

#15 BobingAbout

BobingAbout

    Serious Modder

  • Hosted
  • 1,288 posts
  • Location:Here
  • Projects:R:ROTC, Destructivality, Factorio Mods
  •  Coder

Posted 30 April 2007 - 08:18 AM

you'd have to edit the missions for that, the missions set the colour for each side.
Posted Image
Posted Image

#16 SSTG

SSTG

    alive again!

  • Hosted
  • 1,270 posts
  • Location:NZ
  • Projects:might just go back to voxeling
  •  just voxeling stuff

Posted 11 September 2007 - 08:02 AM

Anyone know where I can find a table for the RGB colours I want to get some red with yellow in the middle lasers

Edited by SSTG, 11 September 2007 - 08:03 AM.

Posted Image
Posted Image
Posted Image

#17 Medusa

Medusa

    the g-man

  • Members
  • 253 posts
  • Location:The Republic of China
  • Projects:none
  •  Misc modder

Posted 11 September 2007 - 12:38 PM

Anyone know where I can find a table for the RGB colours I want to get some red with yellow in the middle lasers

Go to VK's NPatch site to download the NPatchMDK, it'll come with a RGB to HSB or HSB to RGB, it works like a charm.
They shall perish...

#18 SSTG

SSTG

    alive again!

  • Hosted
  • 1,270 posts
  • Location:NZ
  • Projects:might just go back to voxeling
  •  just voxeling stuff

Posted 11 September 2007 - 12:42 PM

Ah this helps now I can make red rad beams too!
Posted Image
Posted Image
Posted Image

#19 VK

VK

    title available

  • Hosted
  • 360 posts
  • Projects:NPatch, ETS, NEngine, etc

Posted 11 September 2007 - 01:38 PM

It also available as separate tool here:
My site here: http://www.vk.cncguild.net - RP / NP / ETS / TOOLS.
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users