GearTypes.wiki
changeset 2077 514babfbad9e
parent 2059 e1f13ff10df0
child 2105 205fc7f87cf4
equal deleted inserted replaced
2076:0b6e80767d96 2077:514babfbad9e
    57 || [GearTypes#gtHammer `gtHammer`] || Gear dealing hammer damage ||
    57 || [GearTypes#gtHammer `gtHammer`] || Gear dealing hammer damage ||
    58 || [GearTypes#gtHellishBomb `gtHellishBomb`] || Hellish hand-grenade ||
    58 || [GearTypes#gtHellishBomb `gtHellishBomb`] || Hellish hand-grenade ||
    59 || [GearTypes#gtIceGun `gtIceGun`] || Freezer ||
    59 || [GearTypes#gtIceGun `gtIceGun`] || Freezer ||
    60 || [GearTypes#gtKamikaze `gtKamikaze`] || Hegehog going kamikaze ||
    60 || [GearTypes#gtKamikaze `gtKamikaze`] || Hegehog going kamikaze ||
    61 || [GearTypes#gtKnife `gtKnife`] || Cleaver ||
    61 || [GearTypes#gtKnife `gtKnife`] || Cleaver ||
    62 || [GearTypes#gtMinigun `gtMinigun`] || Minigun (0.9.24) ||
    62 || [GearTypes#gtMinigun `gtMinigun`] || Minigun ||
    63 || [GearTypes#gtMinigunBullet `gtMinigunBullet`] || Minigun bullet (0.9.24) ||
    63 || [GearTypes#gtMinigunBullet `gtMinigunBullet`] || Minigun bullet ||
    64 || [GearTypes#gtPiano `gtPiano`] || Piano from piano strike ||
    64 || [GearTypes#gtPiano `gtPiano`] || Piano from piano strike ||
    65 || [GearTypes#gtPickHammer `gtPickHammer`] || Pickhammer ||
    65 || [GearTypes#gtPickHammer `gtPickHammer`] || Pickhammer ||
    66 || [GearTypes#gtRCPlane `gtRCPlane`] || RC plane ||
    66 || [GearTypes#gtRCPlane `gtRCPlane`] || RC plane ||
    67 || [GearTypes#gtMolotov `gtMolotov`] || Molotov cocktail ||
    67 || [GearTypes#gtMolotov `gtMolotov`] || Molotov cocktail ||
    68 || [GearTypes#gtMortar `gtMortar`] || Mortar ||
    68 || [GearTypes#gtMortar `gtMortar`] || Mortar ||
    99 
    99 
   100 == Long descriptions and values ==
   100 == Long descriptions and values ==
   101 This section gives longer description of the various gear types and how their values (i.e. tag, pos, timer, health, etc.) are interpreted. The gear values are pretty chaotic, so they are described for each gear seperately. Use the various setter and getter functions for gears to modifiy the gear values.
   101 This section gives longer description of the various gear types and how their values (i.e. tag, pos, timer, health, etc.) are interpreted. The gear values are pretty chaotic, so they are described for each gear seperately. Use the various setter and getter functions for gears to modifiy the gear values.
   102 
   102 
   103 In Lua, use the functions `GetGearPos`, `SetGearPos`, `GetTag`, `SetTag`, `GetTimer`, `SetTimer`, `GetHealth`, `SetHealth`, `GetFlightTime`, `SetFlightTime`, `GetGearValues` and `SetGearValues` to query or modify the gear values.
   103 In Lua, use the functions `GetGearPos`, `SetGearPos`, `GetTag`, `SetTag`, `GetTimer`, `SetTimer`, `GetHealth`, `SetHealth`, `GetFlightTime`, `SetFlightTime`, `GetGearValues` and `SetGearValues` to query or modify the gear values.
   104 Note: The gear value “`Boom`” has been introduced in Hedgewars 0.9.23.
       
   105 
   104 
   106 === Land objects ===
   105 === Land objects ===
   107 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.
   106 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.
   108 
   107 
   109 ==== `gtCase` ====
   108 ==== `gtCase` ====
   285  * `Pos`: Air friction. Higher values mean slower movement. 
   284  * `Pos`: Air friction. Higher values mean slower movement. 
   286  * `Timer`: Time left until possible detonation (in milliseconds). Default value depends on game scheme.
   285  * `Timer`: Time left until possible detonation (in milliseconds). Default value depends on game scheme.
   287  * `WDTimer`: Initial timer value (in milliseconds) of an activated air mine. The `Timer` is reset to this value if the air mine gets re-activated.
   286  * `WDTimer`: Initial timer value (in milliseconds) of an activated air mine. The `Timer` is reset to this value if the air mine gets re-activated.
   288  * `Angle`: Range in which it seeks and follows hedgehogs, in pixels. If a hedgehog is within this range, the air mine will start following. Set it to `0xFFFFFFFF` for an infinite seek range. Set to `0` to disable following. This also indirectly sets the escape distance which hog need to reach for the air mine to stop following. It is 6 times this value. Default: 175 (and an implied default escape distance of 1050)
   287  * `Angle`: Range in which it seeks and follows hedgehogs, in pixels. If a hedgehog is within this range, the air mine will start following. Set it to `0xFFFFFFFF` for an infinite seek range. Set to `0` to disable following. This also indirectly sets the escape distance which hog need to reach for the air mine to stop following. It is 6 times this value. Default: 175 (and an implied default escape distance of 1050)
   289  * `Power`: Speed in which it seeks and follows hedgehogs.
   288  * `Power`: Speed in which it seeks and follows hedgehogs.
   290  * `Boom`: Explosion size and damage (since 0.9.23). Default: 25
   289  * `Boom`: Explosion size and damage. Default: 25
   291  * `Karma`: (1.0.0) If `1`, mine timer display is hidden when object information view is enabled
   290  * `Karma`: (1.0.0) If `1`, mine timer display is hidden when object information view is enabled
   292 
   291 
   293 ==== `gtBallGun` ====
   292 ==== `gtBallGun` ====
   294 A ballgun. It throws 51 balls ([GearTypes#gtBall `gtBall`]) by default. This weapon is timer-based.
   293 A ballgun. It throws 51 balls ([GearTypes#gtBall `gtBall`]) by default. This weapon is timer-based.
   295 
   294