Page 1 of 1

easy way for color-blind guy to tell team from OS X platform

Posted: Fri Mar 05, 2004 2:28 am
by jw
I'm on OS X, and have tried to adjust colors in the config file under my home directory ~/.bzf/config, but the values get overwitten, as shown below config and config.4mar04 were identical before I started the game. Can someone please tell me how to adjust these colors on the OS X version? I would like to play more, but don't want to ruin the game for others with my accidental kills of teammates.

Even better, is there a way I can have number displayed above he tank to indicate the team color? When I was an observer I saw the team and name displayed on the HUD with the tanks. tks, ;-), jw

$ diff config config.4mar04
> set redcolor 1.0 0.0 0.0
> set greencolor 0.2 0.7 0.1
> set bluecolor 0.0 0.0 1.0
> set purplecolor 0.5 0.0 0.5
> set redradar 1.0 0.0 0.0
> set greenradar 0.2 0.7 0.1
> set purpleradar 0.5 0.0 0.5
> set redradar 1.0 0.0 0.0

Posted: Fri Mar 05, 2004 3:03 am
by blast
Think you need to add quotes like this:
set redcolor "1.0 0.0 0.0"

Posted: Fri Mar 05, 2004 3:56 am
by David
There should also be .png images in the data directory for all the colors of tank textures. Maybe you could change both the colors and textures to make them stand apart from each other more when playing against multiple teams.

Mac OS X and config file colors

Posted: Mon Mar 08, 2004 6:07 pm
by learner
You do need quotes, though depending on your version of bzflag, those values may not get used (the textures are used). If you don't have any luck with quotes, you'll need to modify the tank texture images (using an image app like Photoshop or iPhoto or gimp, etc).

If you want to try modifying the textures, the data directory is embedded into the application bundle as the Resources directory. That is to say that if you right-click (or control-click for single button mouse) the BZFlag application binary and select "Show Package Contents", you can find the textures by browsing to Contents -> Resources. You'll find files like "blue_tank.png" that you can directly modify.

By the way, other than the data dir being moved to different location, the Mac OS X client handles the config file and data directory no differently than any of the other unix clients.