GearTypes.wiki
author almikes@aol.com
Wed, 03 Dec 2014 19:21:46 +0000
changeset 424 36b8b88213d9
parent 423 0b62abc50ac3
child 425 ae373695ee1e
permissions -rw-r--r--
Fix stupid table mess-up.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     1
This is a list of (hopefully) all gear types, along with a short description and the interpretation of the gear’s tag (see `GetTag` and `SetTag` in [LuaAPI]).
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     2
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
     3
Please note this list is still mostly TODO. The categories presented here are purely for a better overview here; they do not neccessarily reflect anything in the actual game’s source code.
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
     4
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
     5
== Land objects ==
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
     6
This is a list of gears which usually stay on the land for a long time and stay for several rounds and can’t normally directly placed by players.
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     7
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     8
|| Gear type || Description || Meaning of tag ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
     9
|| gtCase || an ammo, utility or health crate || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    10
|| gtExplosives || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    11
|| gtFlake || TODO || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    12
|| gtFlame || a flame || between 0-32 (TODO) ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    13
|| gtGrave || a grave from a dead hedgehog || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    14
|| gtHedgehog || a hedgehog || used for animation. 0 = no animation plays. Other value: animation plays ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    15
|| gtPortal || a portal from the portable portal device || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    16
|| gtTarget || a target, useful in target practice missions. || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    17
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    18
== Utilities ==
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    19
A list of “utility” gears.
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    20
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    21
|| Gear type || Description || Meaning of tag ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    22
|| gtGirder || a girder (construction) || TODO ||
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    23
|| gtJetpack || a flying saucer || TODO ||
423
0b62abc50ac3 Fix some mistakes in tag info: gtCake, gtFlamethrower, gtLandGun
almikes@aol.com
parents: 422
diff changeset
    24
|| gtLandGun || the land spray tool || power of land spray (5-20) ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    25
|| gtParachute || a parachute || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    26
|| gtResurrector || resurrection || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    27
|| gtRope || a rope || TODO ||
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    28
|| gtSwitcher || switch hedgehog || TODO ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    29
|| gtTardis || a !TimeBox || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    30
|| gtTeleport || teleportation || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    31
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    32
== Weapons and main projectiles ==
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    33
List of weapons which can be directly used or launched by the players.
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    34
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    35
|| Gear type || Description || Meaning of tag ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    36
|| gtAirAttack || The airplane of an air attack || direction of airplane (-1 = left, 1 = right) ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    37
|| gtBallGun || a ballgun || TODO ||
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    38
|| gtBee || homing bee || wheather the bee is underwater (0 = no, 1 = yes) ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    39
|| gtBirdy || Birdy || facing direction (left = -1, right = 1) ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    40
|| gtBlowTorch || a blowtorch || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    41
|| gtClusterBomb || a cluster bomb || TODO ||
424
36b8b88213d9 Fix stupid table mess-up.
almikes@aol.com
parents: 423
diff changeset
    42
|| gtCake || a cake || A timer used for several animations. The final animation (sit down) will cause the cake to explode when the tag reaches 2250. ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    43
|| gtDEagleShot || a shot from a desert eagle || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    44
|| gtDrill || drill rocket || used for drill strike. If 1, then first impact occoured already ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    45
|| gtDynamite || a dynamite || TODO ||
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    46
|| gtFirePunch || shoryuken || Y coordinate ||
423
0b62abc50ac3 Fix some mistakes in tag info: gtCake, gtFlamethrower, gtLandGun
almikes@aol.com
parents: 422
diff changeset
    47
|| gtFlamethrower || a flamethrower || power of flamethrower (5-20) ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    48
|| gtGasBomb || an old limburger || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    49
|| gtGrenade || a grenade || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    50
|| gtHammer || a hammer || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    51
|| gtHellishBomb || a hellish hand-grenade || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    52
|| gtIceGun || a freezer || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    53
|| gtKamikaze || an ongoing kamikaze || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    54
|| gtKnife || a cleaver || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    55
|| gtPiano || piano from piano strike || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    56
|| gtPickHammer || a pickhammer || TODO ||
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    57
|| gtRCPlane || a RC plane || dX speed??? ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    58
|| gtMolotov || a molotov cocktail || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    59
|| gtMortar || a mortar || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    60
|| gtMine || a mine || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    61
|| gtSeduction || seduction || TODO ||
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    62
|| gtShell || a bazooka shell (projectile) || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    63
|| gtShotgunShot || a shot from a shotgun || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    64
|| gtShover || used by baseball bat (TODO) || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    65
|| gtSineGunShot || a shot from the sine gun || TODO ||
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    66
|| gtSMine || a sticky mine || TODO ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    67
|| gtSniperRifleShot || a shot from the sniper rifle || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    68
|| gtSnowball || a mudball || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    69
|| gtWatermelon || a watermelon bomb, still intact || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    70
|| gtWhip || a whip || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    71
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    72
== Secondary projectiles ==
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    73
Projectiles that can’t be directly fired but are generated by other weapon gears.
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    74
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    75
|| Gear type || Description || Meaning of tag ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    76
|| gtAirBomb || a bomb from the air attack or the RC plane || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    77
|| gtBall || a ball from the ball gun || Color: 0=red, 1=green, 2=cyan, 3=yellow, 4=violet, 5=pink, 6=orange, 7=lime, 8=white ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    78
|| gtCluster || a cluster from the cluster bomb or the mortar || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    79
|| gtEgg || an egg from Birdy || TODO ||
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    80
|| gtHammerHit || TODO || TODO ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    81
|| gtMelonPiece || a cluster from a watermelon bomb || TODO || 
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    82
|| gtNapalmBomb || a bomb from the napalmn strike, will burst into fire || TODO ||
422
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    83
|| gtPoisonCloud || a poisonous cloud, makes hedgehogs sick on contact || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    84
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    85
== Other ==
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    86
|| Gear type || Description || Meaning of tag ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    87
|| gtAddAmmo || TODO || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    88
|| gtATStartGame || TODO || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    89
|| gtATFinishGame || TODO || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    90
|| gtGenericFaller || TODO || TODO ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    91
|| gtWaterUp || If added, water will rise. Coordinates are ignored. || Number of pixels the water still has to rise. By default, the tag will have an initial value of 47. The gear will be removed when the tag equals 0. ||
1e8c89d93ea9 Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents: 420
diff changeset
    92
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    93
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    94
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    95
Here is an excerpt from the Hedgewars source code:
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    96
{{{
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    97
    TGearType = (gtFlame, gtHedgehog, gtMine, gtCase, gtExplosives, // these gears should be avoided when searching a spawn place
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    98
        gtGrenade, gtShell, gtGrave, gtBee, // 8
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
    99
        gtShotgunShot, gtPickHammer, gtRope, // 11
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   100
        gtDEagleShot, gtDynamite, gtClusterBomb, gtCluster, gtShover, // 16
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   101
        gtFirePunch, gtATStartGame, // 18
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   102
        gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, // 23
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   103
        gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   104
        gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   105
        gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   106
        gtSniperRifleShot, gtJetpack, gtMolotov, gtBirdy, // 44
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   107
        gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower, // 50
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   108
        gtSMine, gtPoisonCloud, gtHammer, gtHammerHit, gtResurrector, // 55
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   109
        gtNapalmBomb, gtSnowball, gtFlake, {gtStructure,} gtLandGun, gtTardis, // 61
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   110
        gtIceGun, gtAddAmmo, gtGenericFaller, gtKnife); // 65
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   111
}}}
41
bf0470871144 Edited wiki page GearTypes through web user interface.
kyberneticist
parents: 19
diff changeset
   112
For a current list of the gears look at hedgewars/uTypes.pas at
12
74ead59b6c64 LuaAPI page + GearTypes,AmmoTypes,Sounds,States listing pages
Tobias Neumann <mail@tobias-neumann.eu>
parents:
diff changeset
   113
the TGearType enumeration.
349
f6b3a80a6f92 Update line number for the link to uTypes.pas
Caironater@gmail.com
parents: 348
diff changeset
   114
http://code.google.com/p/hedgewars/source/browse/hedgewars/uTypes.pas#92
420
55be67135696 Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents: 349
diff changeset
   115
94
65351a24eac9 Sorted the list of gears according to alphabetical order (I got it right this time :)).
Cairo@chusym.com
parents: 93
diff changeset
   116
Note: gtBomb and gtShell were named gtAmmo_Bomb and gtAmmo_Grenade before 0.9.14