author | Wuzzy |
Fri, 05 May 2017 23:44:46 +0100 | |
changeset 1013 | bbfb8d905d69 |
parent 1012 | 91c681a0a3fc |
child 1015 | 07d6c9c91f68 |
permissions | -rw-r--r-- |
1012 | 1 |
#summary How to create your own themes |
2 |
||
1009 | 3 |
== Introduction == |
1013 | 4 |
Themes in Hedgewars control the look of all elements that appear on screen but weapons and hedgehogs, and are the base on which random maps are built. Read the [https://hedgewars.org/node/6768 Theme] page on the Hedgewars Wiki to learn the basics about themes. |
1009 | 5 |
|
6 |
== Basics == |
|
7 |
All themes are located at `%USERDIR%/Data/Themes`, being each of the folders inside is a theme. |
|
8 |
||
9 |
`%USERDIR%` is the user directory, see [https://hedgewars.org/node/6761 User directory] on the Hedgewars Wiki. |
|
10 |
||
11 |
In order to create a new theme, you need to create a new folder there first and add the name of that folder to `theme.cfg`. This file defines not only the parameters of the theme, but also what objects are present and their behavior. |
|
12 |
||
13 |
Then you'll need to create lots of data files (mostly PNG images) for the landscape, land objects, background, etc. Note the music is *not* considered to be part of the theme. |
|
14 |
||
15 |
These were the basics. Read the following pages to continue: |
|
16 |
||
1011
399ca0374984
Rename Theme page to ThemeCfg to avoid confusion
Wuzzy <almikes@aol.com>
parents:
1009
diff
changeset
|
17 |
* [ThemeCfg theme.cfg] |
1009 | 18 |
* [ThemeFiles Theme files] |
19 |
||
20 |
== Sharing themes == |
|
21 |
You can only play with a theme against other players online if all participating players have the theme installed under the same name. You can find some themes in DLC, players will likely have those installed. If not, either try a default theme or politely point the other players to DLC. |
|
22 |
||
23 |
If any player does not have the theme installed, the game will fail to start and an error message is displayed. |
|
24 |
||
25 |
You are encouraged to share your themes in the “[https://hedgewars.org/forum/19 Content Creations]” subforum, where submissions are considered for official inclusion into Hedgewars. |
|
26 |
||
27 |
== Inclusion in Hedgewars == |
|
28 |
If you want a theme to be included with Hedgewars, it **must** follow [http://www.hedgewars.org/node/704 Hedgewars graphics rules, style constraints and guidelines], so if you're unfamiliar with those, please read that first. |
|
29 |
||
30 |
Note that there is no guarantee we'll include any theme, no matter how good. |
|
31 |
||
32 |
Note that themes we consider to be inappropriate for the general Hedgewars “feel”, we might still reject it, even if it perfectly follows all style guidelines. We prefer a kinda “family-friendly” setting, although this term is *very* loosely defined. Two examples for such rejected themes are Military_v1 and Belly_v1. |