Flags.wiki
author almikes@aol.com
Fri, 12 Dec 2014 00:06:20 +0000
changeset 475 0dd8a7078412
parent 469 0a21fd961f28
child 653 f2ddb7d2de00
permissions -rw-r--r--
Move pas2CTutorial to CoreDevelopment section
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
443
e57556142fe5 Small fixes.
almikes@aol.com
parents: 442
diff changeset
     1
#summary A short guide explaing flags and how to create and use them
442
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
     2
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
     3
= Flags =
449
c623c252922d add image
sheepyluva@gmail.com
parents: 445
diff changeset
     4
http://www.hedgewars.org/images/flags.png
442
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
     5
== Explanation of flags ==
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
     6
Flags are little rectangular images shown in the team bar as a team’s symbol.
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
     7
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
     8
== Creating flags ==
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
     9
To create a flag, draw a PNG image of size 22×15 pixels.
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
    10
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
    11
To install a flag, put it into `Data/Graphics/Flags` of the Hedgewars data directory.
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
    12
445
97c1cc234b67 typo fix
almikes@aol.com
parents: 443
diff changeset
    13
The file name must have “.png” at the end, the file suffix will not be shown in Hedgewars. Depending on the name, the flag will be displayed in different ways in Hedgewars:
442
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
    14
467
2bd1e3449143 Add cpu.png and cpu_plain.png
almikes@aol.com
parents: 449
diff changeset
    15
 * Default flag: The flag “`hedgewars.png`” (shows a hedgehog), flag of new teams.
2bd1e3449143 Add cpu.png and cpu_plain.png
almikes@aol.com
parents: 449
diff changeset
    16
 * Computer flag: The flag “`cpu.png`”. It is shown for computer-controlled teams in place of the selected flag in the team editor, together with an overlay of 1 to 5 bars designating the strength of the team. This flag is not shown in the team editor.
2bd1e3449143 Add cpu.png and cpu_plain.png
almikes@aol.com
parents: 449
diff changeset
    17
 * The flag “`cpu_plain.png`”. It is currently unused by Hedgewars and is not shown in the team editor.
442
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
    18
 * Community flags: The flags whose file name starts with “`cm_`” are listed as “community flags” in Hedgewars (the prefix is removed)
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
    19
 * National flags: All other flags
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
    20
468
f4ebe0c62d97 Information about overwriting.
almikes@aol.com
parents: 467
diff changeset
    21
Please note that the flags “`hedgewars.png`”, “`cpu.png`”, “`cpu_plain.png`”, a couple of community flags and national flags come pre-installed with Hedgewars. If you use a flag of an identical name in your Hedgewars user data directory, Hedgewars will show that one instead of the system-wide installed flag. That way, you can customize the default flag, for example.
f4ebe0c62d97 Information about overwriting.
almikes@aol.com
parents: 467
diff changeset
    22
442
594f4950203b Add short flag guide
almikes@aol.com
parents:
diff changeset
    23
== Limits ==
468
f4ebe0c62d97 Information about overwriting.
almikes@aol.com
parents: 467
diff changeset
    24
Please note that flags are _not_ automatically shared when you play online. Unless the other players have your flag, too, they will only see the default flag for your team instead. The only flags you can be sure are also seen online are the ones supplied by the Hedgewars installation.
f4ebe0c62d97 Information about overwriting.
almikes@aol.com
parents: 467
diff changeset
    25
469
0a21fd961f28 Typo fix
almikes@aol.com
parents: 468
diff changeset
    26
If you have changed or overwritten any of the pre-installed flags, this change is also only visible on your Hedgewars installation. The change won’t be visible for other players over the net.