Author Topic: Pakset-specific player colours  (Read 2565 times)

0 Members and 1 Guest are viewing this topic.

Offline Carl

Pakset-specific player colours
« on: March 13, 2012, 01:59:36 PM »
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?




Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1387
  • Total likes: 22
  • Helpful: 53
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Re: Pakset-specific player colours
« Reply #1 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.
Bob Marley: No woman, no cry

Programmer: No user, no bugs



Offline DirrrtyDirk

  • Devotee
  • *
  • Posts: 1253
  • Total likes: 1
  • Helpful: 11
  • JR 700 Series Shinkansen
  • Languages: EN,DE
Re: Pakset-specific player colours
« Reply #2 on: March 13, 2012, 02:37:47 PM »
This is the section:

Code: [Select]
# 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*****

Offline Carl

Re: Pakset-specific player colours
« Reply #3 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]"?

Offline DirrrtyDirk

  • Devotee
  • *
  • Posts: 1253
  • Total likes: 1
  • Helpful: 11
  • JR 700 Series Shinkansen
  • Languages: EN,DE
Re: Pakset-specific player colours
« Reply #4 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.
  
***** PAK128 Dev Team - semi-retired*****

Offline Carl

Re: Pakset-specific player colours
« Reply #5 on: March 13, 2012, 05:46:32 PM »
Thanks!

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4251
  • Total likes: 177
  • Helpful: 149
  • Languages: EN, DE, AT
Re: Pakset-specific player colours
« Reply #6 on: March 16, 2012, 05:50:55 PM »
the simuconf.tab from the release archives should be up-to-date (it is in config/ ).
Parsley, sage, rosemary, and maggikraut.