GearTypes.wiki
changeset 422 1e8c89d93ea9
parent 420 55be67135696
child 423 0b62abc50ac3
equal deleted inserted replaced
421:d584704354ad 422:1e8c89d93ea9
     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]).
     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]).
     2 
     2 
     3 Please note this list is still mostly TODO.
     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.
       
     4 
       
     5 == Land objects ==
       
     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.
     4 
     7 
     5 || Gear type || Description || Meaning of tag ||
     8 || Gear type || Description || Meaning of tag ||
     6 || gtATStartGame || TODO || TODO ||
       
     7 || gtATFinishGame || TODO || TODO ||
       
     8 || 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. ||
       
     9 || gtAddAmmo || TODO || TODO ||
       
    10 || gtGenericFaller || TODO || TODO ||
       
    11 || gtTarget || a target, useful in target practice missions. || TODO ||
       
    12 || gtCase || an ammo, utility or health crate || TODO ||
     9 || gtCase || an ammo, utility or health crate || TODO ||
    13 || gtExplosives || TODO || TODO ||
    10 || gtExplosives || TODO || TODO ||
    14 || gtFlake || TODO || TODO ||
    11 || gtFlake || TODO || TODO ||
    15 || gtFlame || a flame || between 0-32 (TODO) ||
    12 || gtFlame || a flame || between 0-32 (TODO) ||
    16 || gtGrave || a grave from a dead hedgehog || TODO ||
    13 || gtGrave || a grave from a dead hedgehog || TODO ||
    17 || gtHedgehog || a hedgehog || used for animation. 0 = no animation plays. Other value: animation plays ||
    14 || gtHedgehog || a hedgehog || used for animation. 0 = no animation plays. Other value: animation plays ||
       
    15 || gtPortal || a portal from the portable portal device || TODO ||
       
    16 || gtTarget || a target, useful in target practice missions. || TODO ||
       
    17 
       
    18 == Utilities ==
       
    19 A list of “utility” gears.
       
    20 
       
    21 || Gear type || Description || Meaning of tag ||
       
    22 || gtGirder || a girder (construction) || TODO ||
       
    23 || gtJetpack || a flying saucer || TODO ||
       
    24 || gtLandGun || the land spray tool || power of land spray (0-10) ||
       
    25 || gtParachute || a parachute || TODO ||
       
    26 || gtResurrector || resurrection || TODO ||
    18 || gtRope || a rope || TODO ||
    27 || gtRope || a rope || TODO ||
       
    28 || gtSwitcher || switch hedgehog || TODO ||
    19 || gtTardis || a !TimeBox || TODO ||
    29 || gtTardis || a !TimeBox || TODO ||
    20 || gtParachute || a parachute || TODO ||
       
    21 || gtJetpack || a flying saucer || TODO ||
       
    22 || gtGirder || a girder || TODO ||
       
    23 || gtTeleport || teleportation || TODO ||
    30 || gtTeleport || teleportation || TODO ||
    24 || gtSwitcher || switch hedgehog || TODO ||
    31 
    25 || gtPortal || a portal from the portable portal device || TODO ||
    32 == Weapons and main projectiles ==
    26 || gtLandGun || the land spray tool || power of land spray (0-10) ||
    33 List of weapons which can be directly used or launched by the players.
       
    34 
       
    35 || Gear type || Description || Meaning of tag ||
       
    36 || gtAirAttack || The airplane of an air attack || direction of airplane (-1 = left, 1 = right) ||
       
    37 || gtBallGun || a ballgun || TODO ||
    27 || gtBee || homing bee || wheather the bee is underwater (0 = no, 1 = yes) ||
    38 || gtBee || homing bee || wheather the bee is underwater (0 = no, 1 = yes) ||
       
    39 || gtBirdy || Birdy || facing direction (left = -1, right = 1) ||
       
    40 || gtBlowTorch || a blowtorch || TODO ||
       
    41 || gtClusterBomb || a cluster bomb || TODO ||
       
    42 || gtCake || a cake || A timer for the final “sitting down” animation. It starts at 0 and will be destroyed when it reaches 2250. ||
       
    43 || gtDEagleShot || a shot from a desert eagle || TODO ||
       
    44 || gtDrill || drill rocket || used for drill strike. If 1, then first impact occoured already ||
       
    45 || gtDynamite || a dynamite || TODO ||
    28 || gtFirePunch || shoryuken || Y coordinate ||
    46 || gtFirePunch || shoryuken || Y coordinate ||
    29 || gtDrill || drill rocket || used for drill strike. If 1, then first impact occoured already ||
       
    30 || gtFlamethrower || a flamethrower || power of flamethrower (0-10) ||
    47 || gtFlamethrower || a flamethrower || power of flamethrower (0-10) ||
    31 || gtResurrector || resurrection || TODO ||
    48 || gtGasBomb || an old limburger || TODO ||
    32 || gtAirAttack || The airplane of an air attack || direction of airplane (-1 = left, 1 = right) ||
    49 || gtGrenade || a grenade || TODO ||
    33 || gtCake || a cake || A timer for the final “sitting down” animation. It starts at 0 and will be destroyed when it reaches 2250. ||
    50 || gtHammer || a hammer || TODO ||
       
    51 || gtHellishBomb || a hellish hand-grenade || TODO ||
       
    52 || gtIceGun || a freezer || TODO ||
       
    53 || gtKamikaze || an ongoing kamikaze || TODO ||
       
    54 || gtKnife || a cleaver || TODO ||
       
    55 || gtPiano || piano from piano strike || TODO ||
       
    56 || gtPickHammer || a pickhammer || TODO ||
    34 || gtRCPlane || a RC plane || dX speed??? ||
    57 || gtRCPlane || a RC plane || dX speed??? ||
    35 || gtBirdy || Birdy || facing direction (left = -1, right = 1) ||
    58 || gtMolotov || a molotov cocktail || TODO ||
    36 || gtEgg || an egg from birdy || TODO ||
    59 || gtMortar || a mortar || TODO ||
    37 || gtGrenade || a grenade || TODO ||
    60 || gtMine || a mine || TODO ||
       
    61 || gtSeduction || seduction || TODO ||
    38 || gtShell || a bazooka shell (projectile) || TODO ||
    62 || gtShell || a bazooka shell (projectile) || TODO ||
    39 || gtShotgunShot || a shot from a shotgun || TODO ||
    63 || gtShotgunShot || a shot from a shotgun || TODO ||
    40 || gtPickHammer || a pickhammer || TODO ||
       
    41 || gtMine || a mine || TODO ||
       
    42 || gtDEagleShot || a shot from a desert eagle || TODO ||
       
    43 || gtDynamite || a dynamite || TODO ||
       
    44 || gtClusterBombe || a cluster bomb || TODO ||
       
    45 || gtCluster || a cluster from the cluster bomb or the mortar || TODO ||
       
    46 || gtShover || used by baseball bat (TODO) || TODO ||
    64 || gtShover || used by baseball bat (TODO) || TODO ||
    47 || gtAirBomb || a bomb from the air attack or the RC plane || TODO ||
       
    48 || gtBlowTorch || a blowtorch || TODO ||
       
    49 || gtMortar || a mortar || TODO ||
       
    50 || gtWhip || a whip || TODO ||
       
    51 || gtKamikaze || an ongoing kamikaze || TODO ||
       
    52 || gtSeduction || seduction || TODO ||
       
    53 || gtWatermelon || a watermelon bomb, still intact || TODO ||
       
    54 || gtMelonPiece || a cluster from a watermelon bomb || TODO || 
       
    55 || gtHellishBomb || a hellish hand-grenade || TODO ||
       
    56 || gtBallGun || a ballgun || TODO ||
       
    57 || 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 ||
       
    58 || gtSniperRifleShot || a shot from the sniper rifle || TODO ||
       
    59 || gtMolotov || a molotov cocktail || TODO ||
       
    60 || gtPiano || piano from piano strike || TODO ||
       
    61 || gtGasBomb || an old limburger || TODO ||
       
    62 || gtSineGunShot || a shot from the sine gun || TODO ||
    65 || gtSineGunShot || a shot from the sine gun || TODO ||
    63 || gtSMine || a sticky mine || TODO ||
    66 || gtSMine || a sticky mine || TODO ||
       
    67 || gtSniperRifleShot || a shot from the sniper rifle || TODO ||
       
    68 || gtSnowball || a mudball || TODO ||
       
    69 || gtWatermelon || a watermelon bomb, still intact || TODO ||
       
    70 || gtWhip || a whip || TODO ||
       
    71 
       
    72 == Secondary projectiles ==
       
    73 Projectiles that can’t be directly fired but are generated by other weapon gears.
       
    74 
       
    75 || Gear type || Description || Meaning of tag ||
       
    76 || gtAirBomb || a bomb from the air attack or the RC plane || TODO ||
       
    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 ||
       
    78 || gtCluster || a cluster from the cluster bomb or the mortar || TODO ||
       
    79 || gtEgg || an egg from Birdy || TODO ||
       
    80 || gtHammerHit || TODO || TODO ||
       
    81 || gtMelonPiece || a cluster from a watermelon bomb || TODO || 
       
    82 || gtNapalmBomb || a bomb from the napalmn strike, will burst into fire || TODO ||
    64 || gtPoisonCloud || a poisonous cloud, makes hedgehogs sick on contact || TODO ||
    83 || gtPoisonCloud || a poisonous cloud, makes hedgehogs sick on contact || TODO ||
    65 || gtHammer || a hammer || TODO ||
    84 
    66 || gtHammerHit || TODO || TODO ||
    85 == Other ==
    67 || gtNapalmBomb || a bomb from the napalmn strike, will burst into fire || TODO ||
    86 || Gear type || Description || Meaning of tag ||
    68 || gtSnowball || a mudball || TODO ||
    87 || gtAddAmmo || TODO || TODO ||
    69 || gtIceGun || a freezer || TODO ||
    88 || gtATStartGame || TODO || TODO ||
    70 || gtKnife || a cleaver || TODO ||
    89 || gtATFinishGame || TODO || TODO ||
       
    90 || gtGenericFaller || TODO || TODO ||
       
    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. ||
       
    92 
    71 
    93 
    72 
    94 
    73 Here is an excerpt from the Hedgewars source code:
    95 Here is an excerpt from the Hedgewars source code:
    74 {{{
    96 {{{
    75     TGearType = (gtFlame, gtHedgehog, gtMine, gtCase, gtExplosives, // these gears should be avoided when searching a spawn place
    97     TGearType = (gtFlame, gtHedgehog, gtMine, gtCase, gtExplosives, // these gears should be avoided when searching a spawn place