GearTypes.wiki
changeset 425 ae373695ee1e
parent 424 36b8b88213d9
child 426 278b97ba739c
equal deleted inserted replaced
424:36b8b88213d9 425:ae373695ee1e
     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 meaning of severval fields.
       
     2 
       
     3 The columns “Pos”, “Tag”, “Timer” and “Health” show the meaning of the gear’s field for the listed gear type. The word “ignored” means that the field in question is not relevant to gears of the gear type. See also `GetGearPos`, `SetGearPos`, `GetTag`, `SetTag`, `GetTimer`, `SetTimer`, `GetHealth`, `SetHealth` in [LuaAPI].
     2 
     4 
     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.
     5 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 
     6 
     5 == Land objects ==
     7 == 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.
     8 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.
     7 
     9 
     8 || Gear type || Description || Meaning of tag ||
    10 || Gear type || Description || Pos || Tag || Timer || Health ||
     9 || gtCase || an ammo, utility or health crate || TODO ||
    11 || gtCase || an ammo, utility or health crate || TODO || TODO || TODO || TODO ||
    10 || gtExplosives || TODO || TODO ||
    12 || gtExplosives || TODO || TODO || TODO || TODO || TODO ||
    11 || gtFlake || TODO || TODO ||
    13 || gtFlake || TODO || TODO || TODO || TODO || TODO ||
    12 || gtFlame || a flame || between 0-32 (TODO) ||
    14 || gtFlame || a flame || TODO || between 0-32 (TODO) || TODO || TODO ||
    13 || gtGrave || a grave from a dead hedgehog || TODO ||
    15 || gtGrave || a grave from a dead hedgehog || TODO || TODO || TODO || TODO ||
    14 || gtHedgehog || a hedgehog || used for animation. 0 = no animation plays. Other value: animation plays ||
    16 || gtHedgehog || a hedgehog || TODO || used for animation. 0 = no animation plays. Other value: animation plays || TODO || TODO ||
    15 || gtPortal || a portal from the portable portal device || TODO ||
    17 || gtPortal || a portal from the portable portal device || TODO || TODO || TODO || TODO ||
    16 || gtTarget || a target, useful in target practice missions. || TODO ||
    18 || gtTarget || a target, useful in target practice missions || TODO || TODO || TODO || TODO ||
    17 
    19 
    18 == Utilities ==
    20 == Utilities ==
    19 A list of “utility” gears.
    21 A list of “utility” gears.
    20 
    22 
    21 || Gear type || Description || Meaning of tag ||
    23 || Gear type || Description || Pos || Tag || Timer || Health ||
    22 || gtGirder || a girder (construction) || TODO ||
    24 || gtGirder || a girder (construction) || TODO || TODO || TODO || TODO ||
    23 || gtJetpack || a flying saucer || TODO ||
    25 || gtJetpack || a flying saucer || TODO || TODO || TODO || TODO ||
    24 || gtLandGun || the land spray tool || power of land spray (5-20) ||
    26 || gtLandGun || the land spray tool || TODO || power of land spray (5-20) || TODO || TODO ||
    25 || gtParachute || a parachute || TODO ||
    27 || gtParachute || a parachute || TODO || TODO || TODO || TODO ||
    26 || gtResurrector || resurrection || TODO ||
    28 || gtResurrector || resurrection || TODO || TODO || TODO || TODO ||
    27 || gtRope || a rope || TODO ||
    29 || gtRope || a rope || TODO || TODO || TODO || TODO ||
    28 || gtSwitcher || switch hedgehog || TODO ||
    30 || gtSwitcher || switch hedgehog || TODO || TODO || TODO || TODO ||
    29 || gtTardis || a !TimeBox || TODO ||
    31 || gtTardis || a !TimeBox || TODO || TODO || TODO || TODO ||
    30 || gtTeleport || teleportation || TODO ||
    32 || gtTeleport || teleportation || TODO || TODO || TODO || TODO ||
    31 
    33 
    32 == Weapons and main projectiles ==
    34 == Weapons and main projectiles ==
    33 List of weapons which can be directly used or launched by the players.
    35 List of weapons which can be directly used or launched by the players.
    34 
    36 
    35 || Gear type || Description || Meaning of tag ||
    37 || Gear type || Description || Pos || Tag || Timer || Health ||
    36 || gtAirAttack || The airplane of an air attack || direction of airplane (-1 = left, 1 = right) ||
    38 || gtAirAttack || The airplane of an air attack || TODO || direction of airplane (-1 = left, 1 = right) || TODO || TODO ||
    37 || gtBallGun || a ballgun || TODO ||
    39 || gtBallGun || a ballgun || TODO || TODO || TODO || TODO ||
    38 || gtBee || homing bee || wheather the bee is underwater (0 = no, 1 = yes) ||
    40 || gtBee || homing bee || TODO || wheather the bee is underwater (0 = no, 1 = yes) || TODO || TODO ||
    39 || gtBirdy || Birdy || facing direction (left = -1, right = 1) ||
    41 || gtBirdy || Birdy || TODO || facing direction (left = -1, right = 1) || TODO || TODO ||
    40 || gtBlowTorch || a blowtorch || TODO ||
    42 || gtBlowTorch || a blowtorch || TODO || TODO || TODO || TODO ||
    41 || gtClusterBomb || a cluster bomb || TODO ||
    43 || gtClusterBomb || a cluster bomb || TODO || TODO || TODO || TODO ||
    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. ||
    44 || gtCake || a cake || TODO || A timer used for several animations. The final animation (sit down) will cause the cake to explode when the tag reaches 2250. || TODO || TODO ||
    43 || gtDEagleShot || a shot from a desert eagle || TODO ||
    45 || gtDEagleShot || a shot from a desert eagle || TODO || TODO || TODO || TODO ||
    44 || gtDrill || drill rocket || used for drill strike. If 1, then first impact occoured already ||
    46 || gtDrill || drill rocket || TODO || used for drill strike. If 1, then first impact occoured already || TODO || TODO ||
    45 || gtDynamite || a dynamite || TODO ||
    47 || gtDynamite || a dynamite || TODO || TODO || TODO || TODO ||
    46 || gtFirePunch || shoryuken || Y coordinate ||
    48 || gtFirePunch || shoryuken || TODO || Y coordinate || TODO || TODO ||
    47 || gtFlamethrower || a flamethrower || power of flamethrower (5-20) ||
    49 || gtFlamethrower || a flamethrower || TODO || power of flamethrower (5-20) || TODO || TODO ||
    48 || gtGasBomb || an old limburger || TODO ||
    50 || gtGasBomb || an old limburger || TODO || TODO || TODO || TODO ||
    49 || gtGrenade || a grenade || TODO ||
    51 || gtGrenade || a grenade || TODO || TODO || TODO || TODO ||
    50 || gtHammer || a hammer || TODO ||
    52 || gtHammer || a hammer || TODO || TODO || TODO || TODO ||
    51 || gtHellishBomb || a hellish hand-grenade || TODO ||
    53 || gtHellishBomb || a hellish hand-grenade || TODO || TODO || TODO || TODO ||
    52 || gtIceGun || a freezer || TODO ||
    54 || gtIceGun || a freezer || TODO || TODO || TODO || TODO ||
    53 || gtKamikaze || an ongoing kamikaze || TODO ||
    55 || gtKamikaze || an ongoing kamikaze || TODO || TODO || TODO || TODO ||
    54 || gtKnife || a cleaver || TODO ||
    56 || gtKnife || a cleaver || TODO || TODO || TODO || TODO ||
    55 || gtPiano || piano from piano strike || TODO ||
    57 || gtPiano || piano from piano strike || TODO || TODO || TODO || TODO ||
    56 || gtPickHammer || a pickhammer || TODO ||
    58 || gtPickHammer || a pickhammer || TODO || TODO || TODO || TODO ||
    57 || gtRCPlane || a RC plane || dX speed??? ||
    59 || gtRCPlane || a RC plane || TODO || dX speed??? || TODO || TODO ||
    58 || gtMolotov || a molotov cocktail || TODO ||
    60 || gtMolotov || a molotov cocktail || TODO || TODO || TODO || TODO ||
    59 || gtMortar || a mortar || TODO ||
    61 || gtMortar || a mortar || TODO || TODO || TODO || TODO ||
    60 || gtMine || a mine || TODO ||
    62 || gtMine || a mine || TODO || TODO || TODO || TODO ||
    61 || gtSeduction || seduction || TODO ||
    63 || gtSeduction || seduction || TODO || TODO || TODO || TODO ||
    62 || gtShell || a bazooka shell (projectile) || TODO ||
    64 || gtShell || a bazooka shell (projectile) || TODO || TODO || TODO || TODO ||
    63 || gtShotgunShot || a shot from a shotgun || TODO ||
    65 || gtShotgunShot || a shot from a shotgun || TODO || TODO || TODO || TODO ||
    64 || gtShover || used by baseball bat (TODO) || TODO ||
    66 || gtShover || used by baseball bat (TODO) || TODO || TODO || TODO || TODO ||
    65 || gtSineGunShot || a shot from the sine gun || TODO ||
    67 || gtSineGunShot || a shot from the sine gun || TODO || TODO || TODO || TODO ||
    66 || gtSMine || a sticky mine || TODO ||
    68 || gtSMine || a sticky mine || TODO || TODO || TODO || TODO ||
    67 || gtSniperRifleShot || a shot from the sniper rifle || TODO ||
    69 || gtSniperRifleShot || a shot from the sniper rifle || TODO || TODO || TODO || TODO ||
    68 || gtSnowball || a mudball || TODO ||
    70 || gtSnowball || a mudball || TODO || TODO || TODO || TODO ||
    69 || gtWatermelon || a watermelon bomb, still intact || TODO ||
    71 || gtWatermelon || a watermelon bomb, still intact || TODO || TODO || TODO || TODO ||
    70 || gtWhip || a whip || TODO ||
    72 || gtWhip || a whip || TODO || TODO || TODO || TODO ||
    71 
    73 
    72 == Secondary projectiles ==
    74 == Secondary projectiles ==
    73 Projectiles that can’t be directly fired but are generated by other weapon gears.
    75 Projectiles that can’t be directly fired but are generated by other weapon gears.
    74 
    76 
    75 || Gear type || Description || Meaning of tag ||
    77 || Gear type || Description || Pos || Tag || Timer || Health ||
    76 || gtAirBomb || a bomb from the air attack or the RC plane || TODO ||
    78 || gtAirBomb || a bomb from the air attack or the RC plane || TODO || TODO || TODO || 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 ||
    79 || gtBall || a ball from the ball gun || TODO || Color: 0=red, 1=green, 2=cyan, 3=yellow, 4=violet, 5=pink, 6=orange, 7=lime, 8=white || TODO || TODO ||
    78 || gtCluster || a cluster from the cluster bomb or the mortar || TODO ||
    80 || gtCluster || a cluster from the cluster bomb or the mortar || TODO || TODO || TODO || TODO ||
    79 || gtEgg || an egg from Birdy || TODO ||
    81 || gtEgg || an egg from Birdy || TODO || TODO || TODO || TODO ||
    80 || gtHammerHit || TODO || TODO ||
    82 || gtHammerHit || TODO || TODO || TODO || TODO || TODO ||
    81 || gtMelonPiece || a cluster from a watermelon bomb || TODO || 
    83 || gtMelonPiece || a cluster from a watermelon bomb || TODO|| TODO || TODO || TODO ||
    82 || gtNapalmBomb || a bomb from the napalmn strike, will burst into fire || TODO ||
    84 || gtNapalmBomb || a bomb from the napalmn strike, will burst into fire || TODO || TODO || TODO || TODO ||
    83 || gtPoisonCloud || a poisonous cloud, makes hedgehogs sick on contact || TODO ||
    85 || gtPoisonCloud || a poisonous cloud, makes hedgehogs sick on contact || TODO || TODO || TODO || TODO ||
    84 
    86 
    85 == Other ==
    87 == Other ==
    86 || Gear type || Description || Meaning of tag ||
    88 || Gear type || Description || Pos || Tag || Timer || Health ||
    87 || gtAddAmmo || TODO || TODO ||
    89 || gtAddAmmo || TODO || TODO || TODO || TODO || TODO ||
    88 || gtATStartGame || TODO || TODO ||
    90 || gtATStartGame || TODO || TODO || TODO || TODO || TODO ||
    89 || gtATFinishGame || TODO || TODO ||
    91 || gtATFinishGame || TODO || TODO || TODO || TODO || TODO ||
    90 || gtGenericFaller || TODO || TODO ||
    92 || gtGenericFaller || TODO || TODO || TODO || 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. ||
    93 || gtWaterUp || If added, water will rise. || _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. || TODO || TODO ||
    92 
    94 
    93 
    95 
    94 
    96 
    95 Here is an excerpt from the Hedgewars source code:
    97 Here is an excerpt from the Hedgewars source code:
    96 {{{
    98 {{{