The International Simutrans Forum

PakSets and Customization => General Resources and Tools => Topic started by: Carl on March 13, 2012, 01:59:36 PM

Title: Pakset-specific player colours
Post by: Carl on March 13, 2012, 01:59:36 PM
According to this (http://forum.simutrans.com/index.php?topic=7025.0), 110.0.1 added the possibility to set pakset-specific player colours. However, I can't find any instructions on how to implement this -- or indeed any examples of it having been done. Can anybody shed light on how to apply this feature?



Title: Re: Pakset-specific player colours
Post by: Combuijs on March 13, 2012, 02:17:56 PM
Hmm, in simuconf.tab you will find entries for special day and night colors, but not for player colors.
Title: Re: Pakset-specific player colours
Post by: DirrrtyDirk on March 13, 2012, 02:37:47 PM
This is the section:


# player color can be fixed for several players or set totally random
# in the latter case each player will get unique but random coloring
# (default 0)
random_player_colors = 0

# when set here, the player will always get these player colors, even
# if random colors were enabled.
# color values range from 0 to 27 for first and second player color
# and there are 0...15 player in the game
player_color[0] = 5,1
[...]
Title: Re: Pakset-specific player colours
Post by: Carl on March 13, 2012, 02:43:58 PM
Thanks, DirrrtyDirk.

Where are you quoting from? I can't find this in the pak64 simuconf.tab file.

So does "5,1" mean "[first colour], [second colour]"?
Title: Re: Pakset-specific player colours
Post by: DirrrtyDirk on March 13, 2012, 05:25:54 PM
Correct, that's what 5,1 means in this example. Green and light gray as primary/secondary player color.

And where from... well I copied these lines from my own pakset... but where I got them in the first place... hmm... either it used to be in some pak64 nightly before, or from the forum or so... sorry, don't remember.
Title: Re: Pakset-specific player colours
Post by: Carl on March 13, 2012, 05:46:32 PM
Thanks!
Title: Re: Pakset-specific player colours
Post by: Dwachs on March 16, 2012, 05:50:55 PM
the simuconf.tab from the release archives should be up-to-date (it is in config/ ).