GearTypes.wiki
changeset 607 dde757edd995
parent 606 0998b84a0d82
child 609 688158bfc7f7
equal deleted inserted replaced
606:0998b84a0d82 607:dde757edd995
    27 || `gtGirder` || A girder (construction) || TODO || TODO || TODO || TODO ||
    27 || `gtGirder` || A girder (construction) || TODO || TODO || TODO || TODO ||
    28 || `gtJetpack` || A flying saucer || TODO || TODO || TODO || Amount of fuel. `2000` denotes 100% fuel. ||
    28 || `gtJetpack` || A flying saucer || TODO || TODO || TODO || Amount of fuel. `2000` denotes 100% fuel. ||
    29 || `gtLandGun` || The land spray tool || TODO || power of land spray (`5`-`20`) || TODO || Amount of fuel. `1000` denotes 100% fuel. ||
    29 || `gtLandGun` || The land spray tool || TODO || power of land spray (`5`-`20`) || TODO || Amount of fuel. `1000` denotes 100% fuel. ||
    30 || `gtParachute` || A parachute || TODO || TODO || TODO || TODO ||
    30 || `gtParachute` || A parachute || TODO || TODO || TODO || TODO ||
    31 || `gtResurrector` || Resurrection || TODO || TODO || TODO || TODO ||
    31 || `gtResurrector` || Resurrection || TODO || TODO || TODO || TODO ||
    32 || `gtRope` || A rope || TODO || TODO || TODO || TODO ||
    32 || `gtRope` || A rope || TODO || Rope style: 0=classic white segments, 1=simple line which can be colored with `SetGearValues` tint || TODO || TODO ||
    33 || `gtSwitcher` || Switch hedgehog || TODO || TODO || TODO || TODO ||
    33 || `gtSwitcher` || Switch hedgehog || TODO || TODO || TODO || TODO ||
    34 || `gtTardis` || A !TimeBox || TODO || TODO || TODO || TODO ||
    34 || `gtTardis` || A !TimeBox || TODO || TODO || TODO || TODO ||
    35 || `gtTeleport` || Teleportation || TODO || TODO || TODO || TODO ||
    35 || `gtTeleport` || Teleportation || TODO || TODO || TODO || TODO ||
    36 
    36 
    37 === Weapons and main projectiles ===
    37 === Weapons and main projectiles ===
    38 List of weapons which can be directly used or launched by the players.
    38 List of weapons which can be directly used or launched by the players.
    39 If not noted otherwise, all times are in milliseconds.
    39 If not noted otherwise, all times are in milliseconds.
    40 
    40 
    41 || *Gear type* || *Description* || *Pos* || *Tag* || *Timer* || *Health* ||
    41 || *Gear type* || *Description* || *Pos* || *Tag* || *Timer* || *Health* ||
    42 || `gtAirAttack` || The airplane of an air attack || TODO || Direction of airplane (`-1` = left, `1` = right) || TODO || Number of bombs left (default: 6) ||
    42 || `gtAirAttack` || The airplane of an air attack || TODO || Direction of airplane (`-1` = left, `1` = right) || TODO || Number of bombs left (default: 6) ||
       
    43 || `gtAirMine` || An air mine || Air friction. Higher values mean slower movement || TODO || Detonation timer (after activation). || TODO ||
    43 || `gtBallGun` || A ballgun || TODO || TODO || Remaining usage time, default is 5001. One ball is fired every 100ms. || TODO ||
    44 || `gtBallGun` || A ballgun || TODO || TODO || Remaining usage time, default is 5001. One ball is fired every 100ms. || TODO ||
    44 || `gtBee` || Homing bee || TODO || wheather the bee is underwater (`0` = no, `1` = yes) || Used for pre-homing time and max. flight timer after started homing || TODO ||
    45 || `gtBee` || Homing bee || TODO || wheather the bee is underwater (`0` = no, `1` = yes) || Used for pre-homing time and max. flight timer after started homing || TODO ||
    45 || `gtBirdy` || Birdy || TODO || facing direction (`-1` = left, `1` = right) || TODO || “Flapping energy” left, default is 2000. This “energy” works exactly like for the flying saucer. ||
    46 || `gtBirdy` || Birdy || TODO || facing direction (`-1` = left, `1` = right) || TODO || “Flapping energy” left, default is 2000. This “energy” works exactly like for the flying saucer. ||
    46 || `gtBlowTorch` || A blowtorch || TODO || TODO || Remaining usage time in ms, default is 7500. || TODO ||
    47 || `gtBlowTorch` || A blowtorch || TODO || TODO || Remaining usage time in ms, default is 7500. || TODO ||
    47 || `gtClusterBomb` || A cluster bomb || TODO || TODO || TODO || TODO ||
    48 || `gtClusterBomb` || A cluster bomb || TODO || TODO || TODO || TODO ||
    72 || `gtSMine` || A sticky mine || TODO || TODO || Detonation timer after it was activated. Default: 500 || TODO ||
    73 || `gtSMine` || A sticky mine || TODO || TODO || Detonation timer after it was activated. Default: 500 || TODO ||
    73 || `gtSniperRifleShot` || A shot from the sniper rifle || TODO || TODO || TODO || How deep the bullet digs into land. Default: 50 ||
    74 || `gtSniperRifleShot` || A shot from the sniper rifle || TODO || TODO || TODO || How deep the bullet digs into land. Default: 50 ||
    74 || `gtSnowball` || A mudball || TODO || TODO || TODO || TODO ||
    75 || `gtSnowball` || A mudball || TODO || TODO || TODO || TODO ||
    75 || `gtWatermelon` || A watermelon bomb, still intact || TODO || TODO || Detonation timer. || TODO ||
    76 || `gtWatermelon` || A watermelon bomb, still intact || TODO || TODO || Detonation timer. || TODO ||
    76 || `gtWhip` || A whip || TODO || TODO || TODO || TODO ||
    77 || `gtWhip` || A whip || TODO || TODO || TODO || TODO ||
    77 || `gtAirMine` || An air mine || Air friction. Higher values mean slower movement || TODO || Detonation timer (after activation). || TODO ||
       
    78 
    78 
    79 === Secondary projectiles ===
    79 === Secondary projectiles ===
    80 Projectiles that can’t be directly fired but are generated by other weapon gears.
    80 Projectiles that can’t be directly fired but are generated by other weapon gears.
    81 
    81 
    82 || *Gear type* || *Description* || *Pos* || *Tag* || *Timer* || *Health* ||
    82 || *Gear type* || *Description* || *Pos* || *Tag* || *Timer* || *Health* ||
    95 || `gtATStartGame` || TODO || TODO || TODO || TODO || TODO ||
    95 || `gtATStartGame` || TODO || TODO || TODO || TODO || TODO ||
    96 || `gtATFinishGame` || TODO || TODO || TODO || TODO || TODO ||
    96 || `gtATFinishGame` || TODO || TODO || TODO || TODO || TODO ||
    97 || `gtGenericFaller` || TODO || TODO || TODO || TODO || TODO ||
    97 || `gtGenericFaller` || TODO || TODO || TODO || TODO || TODO ||
    98 || `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 ||
    98 || `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 ||
    99 
    99 
       
   100 
       
   101 == Gear-specific variables ==
       
   102 === `gtBirdy` ===
       
   103 The number of eggs is stored in the girder's `FlightTime` (default: 2).
       
   104 
       
   105 === `gtFlame` ===
       
   106 If `FlightTime` is set to 0, the flames can hurt hedgehogs in mid-air, but they won't otherwise.
   100 
   107 
   101 == Source ==
   108 == Source ==
   102 Here is an excerpt from the Hedgewars source code:
   109 Here is an excerpt from the Hedgewars source code:
   103 {{{
   110 {{{
   104     TGearType = (gtFlame, gtHedgehog, gtMine, gtCase, gtExplosives, // these gears should be avoided when searching a spawn place
   111     TGearType = (gtFlame, gtHedgehog, gtMine, gtCase, gtExplosives, // these gears should be avoided when searching a spawn place