Author Topic: WriteConsole Basic Colors  (Read 7274 times)

0 Members and 1 Guest are viewing this topic.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
WriteConsole Basic Colors
« on: May 11, 2007, 03:40:14 pm »
Code: [Select]
procedure WriteConsole(ID: Byte; Text: string; Colour: Longint)
The Colour argument for the WriteConsole function is used to choose what color of the text is when shown. Often times, you may want to try to use the same color as one that is used in one of the default texts that Soldat shows, or may want to avoid them. No matter the case, here is a list of many colors that are used in Soldat's text.

If you feel as though you can contribute to this topic by additional colors or messages, feel free to post it.

Next map: _
Time left: _
Players left on team
$FF71F981

Waiting to join game...
_ has been kicked from console.
$FFFCD822

*SERVER* _
Server uses weapon mod (checksum _)
$FFFBDA22

DirectInput Initialized
$FFFF8989

Connection Problem
$FFE36952

Server uses BattleEye anti cheat; BattleEye Client: Initialized
$FFE739B1

_ Mode ON
$FF81DA41

Alpha chat
$FFFEE8E8

Bravo chat
$FFE3E8FE

Charlie chat
$FFFEFEE8

Delta chat
$FFE8FEE8

Spectator chat
$FFDF7AB0

Team chat
$FFFEDA7C

_ has joined alpha team
$FFE15353

_ has joined bravo team
$FF5353E1

_ has joined charlie team
$FFDFDF53

_ has joined delta team
$FF53DF53

_ has joined as spectator
$FF52DD52

Many thanks to Bendarr for supplying the exactly values of these colors.
« Last Edit: January 12, 2012, 08:29:23 am by DorkeyDear »

Offline DeMo

  • Soldier
  • **
  • Posts: 127
  • Stay Metal! \m/
    • Encoder 2002
Re: WriteConsole Basic Colors
« Reply #1 on: May 12, 2007, 09:03:56 pm »
Good work Dorkey.

<@Evil-Ville> Expect a picture of Chakra` holding his fleshlight soon!

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: WriteConsole Basic Colors
« Reply #2 on: June 11, 2009, 01:23:07 am »
Many thanks for Bendarr for retrieving the exact values of these colors.
Hopefully tomorrow, we will have the death console included.

To EnEsCe: It would make life easier if we could be given a compiled list of all colors used in the server and where they are used.

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: WriteConsole Basic Colors
« Reply #3 on: June 11, 2009, 01:43:40 am »
Scripts should not be trying to imitate ingame colours ever. So no. They must remain distinct.

Offline y0uRd34th

  • Camper
  • ***
  • Posts: 325
  • [i]Look Signature![/i]
Re: WriteConsole Basic Colors
« Reply #4 on: June 11, 2009, 03:55:54 am »
it has already posted somewhere, ok good work, but it is there already, i will search.

edit: didnt found it yet, but good work anyways :D
« Last Edit: June 11, 2009, 04:19:57 am by y0uRd34th »

Offline JFK

  • Camper
  • ***
  • Posts: 255
    • My TraxInSpace Account
Re: WriteConsole Basic Colors
« Reply #5 on: June 11, 2009, 04:37:07 am »
Swompie, you'll probably mean this topic, it's from 2007 and Curt just edited it ;)
Come join: EliteCTF
Listen to: My Music

Offline y0uRd34th

  • Camper
  • ***
  • Posts: 325
  • [i]Look Signature![/i]
Re: WriteConsole Basic Colors
« Reply #6 on: June 11, 2009, 08:48:58 am »
oh lolz^^  ;D

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: WriteConsole Basic Colors
« Reply #7 on: June 11, 2009, 12:00:26 pm »
Scripts should not be trying to imitate ingame colours ever. So no. They must remain distinct.
I mean, some people prefer not having the *SERVER* message for /say (or even adding the name of the person saying it), so disable /say and WriteConsole it with the same color; you know?

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Re: WriteConsole Basic Colors
« Reply #8 on: June 11, 2009, 11:20:51 pm »
Scripts should not be trying to imitate ingame colours ever. So no. They must remain distinct.
I don't see the problem with this. I mean sure, it could be abused, but as long as the script can't hinder the player leaving it then why does it matter?

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: WriteConsole Basic Colors
« Reply #9 on: June 11, 2009, 11:43:42 pm »
IMO, if the server owner wants to fuck with their guests / peeps, he/she/they can.. just means they won't play there if they were smart (unless ofc if its nothing thats a big deal, such as simple colors that are the same as other things)

Offline Bloo

  • Soldier
  • **
  • Posts: 105
  • Yellow
    • BlueMutiny.com
Re: WriteConsole Basic Colors
« Reply #10 on: September 10, 2009, 12:45:53 am »
Can someone please make this a sticky? Regardless of what Enesce thinks, this is really quite helpful...

Offline Tio R

  • Major(1)
  • Posts: 12
Re: WriteConsole Basic Colors
« Reply #11 on: September 11, 2009, 10:30:24 pm »
Contributing with topic...

Here, have an list with many colors: http://en.wikipedia.org/wiki/List_of_colors
Can use the Hex triplet: $XXXXXX
or function RGB: RGB(XXX, XXX, XXX)

Offline |_ancer

  • Soldier
  • **
  • Posts: 153
  • again and again.
Re: WriteConsole Basic Colors
« Reply #12 on: September 12, 2009, 07:19:04 am »
You could use this for your gostek colors! Instead of the $FF use $00 for gostek.

Offline -Bendarr-

  • Soldier
  • **
  • Posts: 104
Re: WriteConsole Basic Colors
« Reply #13 on: January 11, 2012, 10:50:10 pm »
Can someone please make this a sticky? Regardless of what Enesce thinks, this is really quite helpful...

Offline machina

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1117
  • The world isn't nice. Why should I be...?
Re: WriteConsole Basic Colors
« Reply #14 on: January 12, 2012, 09:32:04 am »
_ has joined delta team
$FF53DF53

_ has joined as spectator
$FF52DD52
It looks same... _ has joined as spectator should have some colour like Spectators chat... But lighter or darker.

Offline Bistoufly

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 782
Re: WriteConsole Basic Colors
« Reply #15 on: January 12, 2012, 11:31:26 am »
_ has joined delta team
$FF53DF53

_ has joined as spectator
$FF52DD52
It looks same... _ has joined as spectator should have some colour like Spectators chat... But lighter or darker.

I agree.

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: WriteConsole Basic Colors
« Reply #16 on: January 12, 2012, 08:06:49 pm »
_ has joined delta team
$FF53DF53

_ has joined as spectator
$FF52DD52
It looks same... _ has joined as spectator should have some colour like Spectators chat... But lighter or darker.

I agree.
I posted a suggestion in the Change of text color for joining delta/spectator topic. Please comment if you wish a change to take place.