The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > MP3Car.com Wiki

Personal tools

Changing Map Colors

From MP3Car.com Wiki

Contents

[edit] About Map Colors

Streetdeck 2.0 allows for map colors to be changed by the user independant of the skin currently loaded. Map colors can be changed within StreetDeck.


[edit] Map Color File Format

A map color file is a standard ASCII file with comma seperated values. The map color file can be found in My Documents\StreetDeck 2.0\MapColors.txt Each line in the map color file specifies a single color set that defines all colors used for map rendering. Each line contains a name for the set followed by hex values without a 0x in ARGB format. The order of the values is important. The following order is used for each line in the map colors file:
Title, Limited Access Road Color, Limited Access Road Border Color, Ramp Color, Ramp Border Color, Arterial Road Color, Arterial Road Border Color, Other Road Color, Other Road Border Color, Arrow Color, Arrow Border Color, Route Color, Current Route Color, Background Color

A ; as the first character on the line denotes a comment.

All white space between comma seperated values are ignored.

[edit] Color Values

Colors in the map color file are specified in ARGB (Alpha, Red, Green, Blue) hex format. The 0x prefix will be used in the following examples to identify hex numbers, but should NOT be used in the map color file. All color values read from the map color file will be assumed to be in hex. Each individual color value can range from 0x0 to 0xFF (0-255) with 0 being the least amount of color and 0xFF being the most. The alpha value will specify how translucent the color will be with 0 being completely transparent and 0xFF being completely opaque. For example to specify a completely opaque red, the value FFFF0000 would be used where a completely opaque green would be FF00FF00. A semi transparent green would be 8800FF00. A translucent red with a little bit of blue would be 88FF0035

Adobe Photoshop as well as some other programs will display RGB hex values for chosen colors for help in generating the proper hex values for use in streetdeck.

[edit] Example MapColors.txt

Title Limited Access Road Limited Access Road Border Ramp Ramp Border Arterial Road Arterial Road Border Other Road Other Road Border Arrow Arrow Border Route Current Route Background

Default Colors, FFF2BF24, FFA28517, FFF2BF24, FF6C6558, FFFFFA73, FF6C6558, FFFFFFFF, FF6C6558, FFFFFFFF, FF000000, 7700FF00, 770000FF, FFF2EFE9


All times are GMT -5. The time now is 07:06 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Powered by vbWiki Pro 1.3 RC4. Copyright ©2006-2007, NuHit, LLC
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics