VisualGearTypes.wiki
author Wuzzy
Fri, 09 Feb 2018 21:07:20 +0000
changeset 1169 f36679317ec0
parent 1168 032b2771c757
child 1170 7d2d66c50ad5
permissions -rw-r--r--
VisualGearTypes: Fix captions
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
431
ccd3a6afa564 Add summary
almikes@aol.com
parents: 351
diff changeset
     1
#summary List of all visual gear types
ccd3a6afa564 Add summary
almikes@aol.com
parents: 351
diff changeset
     2
1163
1893051766fe VisualGearTypes: More text
Wuzzy
parents: 1162
diff changeset
     3
This is a list of available visual gear types, as of 0.9.23.
697
855ce0af8245 Add slightly more description
Wuzzy
parents: 696
diff changeset
     4
855ce0af8245 Add slightly more description
Wuzzy
parents: 696
diff changeset
     5
For a current list of the visual gear types look at `hedgewars/uTypes.pas` at
1163
1893051766fe VisualGearTypes: More text
Wuzzy
parents: 1162
diff changeset
     6
the `TVisualGearType` enumeration: https://hg.hedgewars.org/hedgewars/file/default/hedgewars/uTypes.pas#l115
695
ab2e242986c3 Put everything into a nice table
Wuzzy
parents: 651
diff changeset
     7
1169
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
     8
= List of visual gear types =
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
     9
== Environment ===
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    10
|| *Variable name* || *Short description* ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    11
|| `vgtFlake` || Theme flake ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    12
|| `vgtChunk` || Theme chunk (spawns when blowing up land) ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    13
|| `vgtCloud` || Cloud ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    14
|| `vgtDust` || Dust cloud (e.g. of mudball) ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    15
|| `vgtSplash` || Water splash ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    16
|| `vgtDroplet` || Water droplet ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    17
|| `vgtBubble` || Underwater bubble ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    18
|| `vgtSteam` || Steam cloud (when fire hits water) ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    19
|| `vgtFire` || Small decorative/harmless flame ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    20
|| `vgtSmoke` || Gray smoke cloud ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    21
|| `vgtSmokeWhite` || White smoke cloud ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    22
1169
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
    23
== Explosion  ==
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    24
|| *Variable name* || *Short description* ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    25
|| `vgtExplosion` || Small explosion (complete animation) ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    26
|| `vgtBigExplosion` || Big explosion (complete animation which also makes screen shake) ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    27
|| `vgtExplPart` || Small explosion particle, part of explosion animation ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    28
|| `vgtExplPart2` || Another small explosion particle, part of explosion animation ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    29
|| `vgtSmokeRing` || Smoke ring, part of explosion animation ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    30
1169
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
    31
== Weapons and projectiles ==
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    32
|| *Variable name* || *Short description* ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    33
|| `vgtNote` || Piano note ||
1163
1893051766fe VisualGearTypes: More text
Wuzzy
parents: 1162
diff changeset
    34
|| `vgtBeeTrace` || Random colored flower (bee particle) ||
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    35
|| `vgtEgg` || Broken egg shell particle ||
1163
1893051766fe VisualGearTypes: More text
Wuzzy
parents: 1162
diff changeset
    36
|| `vgtFeather` || Birdy's feather ||
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    37
|| `vgtSmokeTrace` || Strange smoke-like cloud from mortar ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    38
|| `vgtEvilTrace` || Strange red cloud from hellish hand-grenade ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    39
|| `vgtShell` || Bullet shell ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    40
|| `vgtBulletHit` || Bullet impact animation ||
1164
3885b13d8ec8 VisualGearTypes: fix typo
Wuzzy
parents: 1163
diff changeset
    41
|| `vgtStraightShot` || Shot line from firearms like Desert Eagle. Also used to render arbitrary sprites like the “+” particles for gaining health || 
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    42
1169
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
    43
== HUD ==
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    44
|| *Variable name* || *Short description* ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    45
|| `vgtCircle` || Simple circle. Highly configurable! ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    46
|| `vgtSmallDamageTag` || Small damage tag after hog damage. Useful to display a number in the game ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    47
|| `vgtNoPlaceWarn` || Overlay when the placement of something failed ||
1166
23e6891cd2c0 VisualGearTypes: more typo fixes
Wuzzy
parents: 1164
diff changeset
    48
|| `vgtAmmo` || Briefly displays an ammo icon. Appears when collecting a crate ||
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    49
|| `vgtSmoothWindBar` || Changes the wind bar smoothly ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    50
|| `vgtHealthTag` || ??? ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    51
|| `vgtTeamHealthSorter` || ??? ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    52
|| `vgtSpeechBubble` || ??? ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    53
1169
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
    54
== Misc. ==
1162
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    55
|| *Variable name* || *Short description* ||
f42906890b68 VisualGearTypes: Add short description for most visual gear types
Wuzzy
parents: 798
diff changeset
    56
|| `vgtLineTrail` || ??? ||
1167
0fef28e4ee0d VisualGearTypes: add vgtCircle and vgtAmmo
Wuzzy
parents: 1166
diff changeset
    57
1169
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
    58
= Detailed visual gear reference =
1168
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    59
Here you will find a (more or less) detailed references of the various possible values for the visual gears (for `SetVisualGearValues`). This is useful to customize your visual gears.
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    60
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    61
This section is still under construction!
1167
0fef28e4ee0d VisualGearTypes: add vgtCircle and vgtAmmo
Wuzzy
parents: 1166
diff changeset
    62
1169
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
    63
= `vgtCircle` =
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
    64
A simple circle. It is one of the few visual gears which is not removed automatically. If you set `dX`, `dY` and `FrameTicks`, the circle pulsates in opacity.
1167
0fef28e4ee0d VisualGearTypes: add vgtCircle and vgtAmmo
Wuzzy
parents: 1166
diff changeset
    65
1168
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    66
 * `dX`: Minimum opacity (0-255)
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    67
 * `dY`: Maximum opacity (0-255)
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    68
 * `FrameTicks`: ???
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    69
 * `State`: Radius
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    70
 * `Timer`: Thickness
1167
0fef28e4ee0d VisualGearTypes: add vgtCircle and vgtAmmo
Wuzzy
parents: 1166
diff changeset
    71
1169
f36679317ec0 VisualGearTypes: Fix captions
Wuzzy
parents: 1168
diff changeset
    72
= `vgtAmmo` =
1167
0fef28e4ee0d VisualGearTypes: add vgtCircle and vgtAmmo
Wuzzy
parents: 1166
diff changeset
    73
Displays an ammo icon.
0fef28e4ee0d VisualGearTypes: add vgtCircle and vgtAmmo
Wuzzy
parents: 1166
diff changeset
    74
1168
032b2771c757 VisualGearTypes: Add vgtCircle and vgtAmmo
Wuzzy
parents: 1167
diff changeset
    75
 * `State`: [AmmoType] ID of ammo to display