From: Sean Bridges <sbridges.geo@ya...> - 2006-02-27 04:15:40
It turns out windows doesn't like : in file names. So
where I said :, we are now using -
--- Sean Bridges <sbridges.geo@...> wrote:
> I made some changes to where map and image files are
> stored, and how skins are added to the game.
> Map and image placement:
> Before, all the maps and images were in
> Now, all maps (and skins) are in the /maps
> All triplea images (flags, units, vc marker) are in
> the /images directory.
> Skin Naming:
> Before, the convention was that if you have a skin
> called coal for the map named pact_of_steel, your
> file would be called pact_of_steelCoal. Now the
> convention is the skin should be called
> pact_of_steel:Coal. The : makes it easier to figure
> out what is and what is not a skin.
> Zip files are valid maps/skins:
> You can put a zip file in the map directory, and the
> game will be able to load it. The zip file needs to
> have the same name as the directory it replaces (eg
> There shouldnt be any extra path information in the
> zip file. By this, I mean that if you open the zip
> winzip, when you look at map.properties, it should
> in the root directory (IC, you need to remove 1
> from your zip files).
> This means if you are distributing a skin, just tell
> the user to download your zip file, and put it in
> maps directory. That's all they have to do.
> Skin Images :
> Skins can now override the default unit/vc/flag
> If a file is in the images directory as
> /some/path/file.name, to override it in your skin,
> just put it in /some/path/file.name in your skin
> If you want to override the american flag in you
> skin for pact_of_steel, just add a
> to the skin directory.
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Get latest updates about Open Source Projects, Conferences and News.