Official Soldat Forums
Server Talk => Scripting Discussions and Help => Topic started by: DorkeyDear on May 11, 2007, 03:40:14 pm
-
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 (http://forums.soldat.pl/index.php?action=profile;u=9022) for supplying the exactly values of these colors.
-
Good work Dorkey.
-
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.
-
Scripts should not be trying to imitate ingame colours ever. So no. They must remain distinct.
-
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
-
Swompie, you'll probably mean this topic, it's from 2007 and Curt just edited it ;)
-
oh lolz^^ ;D
-
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?
-
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?
-
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)
-
Can someone please make this a sticky? Regardless of what Enesce thinks, this is really quite helpful...
-
Contributing with topic...
Here, have an list with many colors: http://en.wikipedia.org/wiki/List_of_colors (http://en.wikipedia.org/wiki/List_of_colors)
Can use the Hex triplet: $XXXXXX
or function RGB: RGB(XXX, XXX, XXX)
-
You could use this for your gostek colors! Instead of the $FF use $00 for gostek.
-
Can someone please make this a sticky? Regardless of what Enesce thinks, this is really quite helpful...
-
_ 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.
-
_ 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.
-
_ 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 (http://forums.soldat.pl/index.php?topic=41566) topic. Please comment if you wish a change to take place.