News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Pakset-specific player colours

Started by Carl, March 13, 2012, 01:59:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Carl

According to this, 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?




Combuijs

Hmm, in simuconf.tab you will find entries for special day and night colors, but not for player colors.
Bob Marley: No woman, no cry

Programmer: No user, no bugs



DirrrtyDirk

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
[...]
  
***** PAK128 Dev Team - semi-retired*****

Carl

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]"?

DirrrtyDirk

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.
  
***** PAK128 Dev Team - semi-retired*****


Dwachs

the simuconf.tab from the release archives should be up-to-date (it is in config/ ).
Parsley, sage, rosemary, and maggikraut.