Sudden Death theme colors
Wed, 2012-06-27 22:42
I just wanted to ask some questions about the theme configuration and related stuff:
- I know that sd-water-top and sd-water-bottom (for example) changes the water color in sudden death. But no matter what values I enter, the very top of the water (the waves) always have the default purple color. How do I change this, too?
- How do I change change the sky (background) color in sudden death?
- How do I change the sudden death flakes?
- Are there any more configuration possibilities for Sudden Death I just don't know? Which ones?
- Where do I find a more accurate documentation for themes in general? The guides I know are:
- https://code.google.com/p/hedgewars/wiki/Theme (Google Code Wiki page about theme.cfg)
- http://www.hedgewars.org/node/105 (a very old thread from 2006)
- http://www.hedgewars.org/node/2075
All these guides seem to be very incomplete or outdated for me, because I've seen some themes that contain stuff that appear in none of these guides. For example no guide
even mentions files that have "@2x" in their name and lots other stuff where I can't find any documentation for that.
Hi, I am a Hedgewars developer.
If you would like to change the sudden death flakes in a specific theme, put the graphic(s) in a file (the same dimensions as regular flake.png) called SDflake.png in that theme's folder.
You can probably do the same with water and clouds but I'm not 100% sure.
sd-clouds
sd-flakes
sd-water-bottom
sd-water-top
sd-water-opacity
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Hi Star and Moon.
First: The file is called "Flake.png" not "flake.png". Case is important in Linux and as Hedgewars is played by Linux users, it is an issue.
Here is what I found out by playing "trial and error" with the letters "SD":
The Sudden Death version of "Flake.png" is "SDFlake.png" (not "SDflake.png").
SD version of water ("BlueWater.png") is "SDWater.png".
SD version of the clouds is "SDClouds.png".
There seems to be no SD version of the sky, because a file named "SDSky.png" has no effect.
So you were right here, it works with water and clouds, too. Thanks for your help. Where did you get that information?
@nemo: Thanks, although I already knew these.
Edit: There are more "SD" versions of files, both needed for water in SD.
SDSplash.png - SD version of Splash.png
SDDroplet.png - SD version of Droplet.png
Hi, I am a Hedgewars developer.
Ah. Right. Sorry. Forgot about the files.
$ grep -E FileName.*SD uVariables.pas
(FileName: 'SDFlake'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
(FileName: 'SDWater'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
(FileName: 'SDClouds'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
(FileName: 'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
(FileName: 'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev