author  Wuzzy 
Fri, 01 Jan 2016 21:15:21 +0000  
changeset 703  7d343af36e43 
parent 702  530c4aefa069 
child 707  e19b53dd5770 
permissions  rwrr 
426  1 
#summary List of all gear types 
2 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

3 
This is a list and overview of all gear types. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

4 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

5 
This page is split in two parts: The first part is a short list, the second part gives a longer description for all gear types and also describes the meaning of the gear values (such as timer, pos, health, etc.). 
425
ae373695ee1e
Add columns for pos, timer and health (mostly only contain TODOs for now).
almikes@aol.com
parents:
424
diff
changeset

6 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

7 
Please note this page is still a work in progess. The categories presented here are purely for a better overview here; they do not neccessarily reflect anything in the actual game’s source code. 
420
55be67135696
Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents:
349
diff
changeset

8 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

9 
A “TODO” means that this particular section is not yet finished and may be not accurate. 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

10 

703  11 
<wiki:toc max_depth="3" /> 
702  12 

435
9e434185289a
Restructure page, add typographic improvements
almikes@aol.com
parents:
426
diff
changeset

13 
== List of gear types == 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

14 
This is a short overview and a brief description of all gears. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

15 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

16 
=== Land objects === 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

17 
 *Gear type*  *Description*  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

18 
 `gtCase`  An ammo, utility or health crate  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

19 
 `gtExplosives`  An explosive barrel  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

20 
 `gtFlake`  A snowflake (can become part of terrain)  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

21 
 `gtFlame`  A flame  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

22 
 `gtGrave`  A grave  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

23 
 `gtHedgehog`  A hedgehog  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

24 
 `gtPortal`  A portal from the portable portal device  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

25 
 `gtTarget`  A target  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

26 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

27 
=== Utilities === 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

28 
 *Gear type*  *Description*  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

29 
 `gtGirder`  A girder (construction)  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

30 
 `gtJetpack`  A flying saucer  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

31 
 `gtLandGun`  The land spray tool  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

32 
 `gtParachute`  A parachute  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

33 
 `gtResurrector`  Resurrection  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

34 
 `gtRope`  A rope  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

35 
 `gtSwitcher`  Switch hedgehog  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

36 
 `gtTardis`  A !TimeBox  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

37 
 `gtTeleport`  Teleportation  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

38 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

39 
=== Weapons and main projectiles === 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

40 
 *Gear type*  *Description*  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

41 
 `gtAirAttack`  The airplane of an airborne attack  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

42 
 `gtAirMine`  An air mine  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

43 
 `gtBallGun`  A ballgun  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

44 
 `gtBee`  Homing bee  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

45 
 `gtBirdy`  Birdy  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

46 
 `gtBlowTorch`  A blowtorch  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

47 
 `gtClusterBomb`  A cluster bomb  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

48 
 `gtCake`  A cake  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

49 
 `gtDEagleShot`  A shot from a Desert Eagle  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

50 
 `gtDrill`  Drill rocket  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

51 
 `gtDynamite`  A dynamite  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

52 
 `gtFirePunch`  Shoryuken  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

53 
 `gtFlamethrower`  A flamethrower  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

54 
 `gtGasBomb`  An old limburger  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

55 
 `gtGrenade`  A grenade  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

56 
 `gtHammer`  A hammer  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

57 
 `gtHellishBomb`  A hellish handgrenade  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

58 
 `gtIceGun`  A freezer  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

59 
 `gtKamikaze`  An ongoing kamikaze  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

60 
 `gtKnife`  A cleaver  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

61 
 `gtPiano`  Piano from piano strike  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

62 
 `gtPickHammer`  A pickhammer  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

63 
 `gtRCPlane`  A RC plane  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

64 
 `gtMolotov`  A molotov cocktail  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

65 
 `gtMortar`  A mortar  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

66 
 `gtMine`  A mine  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

67 
 `gtSeduction`  Seduction  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

68 
 `gtShell`  A bazooka shell (projectile)  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

69 
 `gtShotgunShot`  A shot from a shotgun  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

70 
 `gtShover`  Used by baseball bat.  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

71 
 `gtSineGunShot`  A shot from the sine gun  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

72 
 `gtSMine`  A sticky mine  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

73 
 `gtSniperRifleShot`  A shot from the sniper rifle  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

74 
 `gtSnowball`  A mudball  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

75 
 `gtWatermelon`  A watermelon bomb, still intact  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

76 
 `gtWhip`  A whip  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

77 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

78 
=== Secondary projectiles === 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

79 
 *Gear type*  *Description*  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

80 
 `gtAirBomb`  A bomb from the air attack or the RC plane  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

81 
 `gtBall`  A ball from the ball gun  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

82 
 `gtCluster`  A cluster from the cluster bomb or the mortar  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

83 
 `gtEgg`  An egg from Birdy  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

84 
 `gtHammerHit`  A hit from the hammer.  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

85 
 `gtMelonPiece`  A cluster from a watermelon bomb  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

86 
 `gtNapalmBomb`  A bomb from the napalmn strike  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

87 
 `gtPoisonCloud`  A poisonous cloud  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

88 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

89 
=== Other === 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

90 
 *Gear type*  *Description*  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

91 
 `gtAddAmmo`  Adds a weapon or utilty to a hedgehog.  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

92 
 `gtATStartGame`  TODO  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

93 
 `gtATFinishGame`  TODO  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

94 
 `gtGenericFaller`  TODO  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

95 
 `gtWaterUp`  Causes water to rise.  
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

96 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

97 
== Long descriptions and values == 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

98 
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. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

99 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

100 
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. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

101 

435
9e434185289a
Restructure page, add typographic improvements
almikes@aol.com
parents:
426
diff
changeset

102 
=== Land objects === 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

103 
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

104 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

105 
==== `gtCase` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

106 
An ammo, utility or health crate. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

107 

699  108 
* `Pos`: Crate type: 1=ammo crate, 2=health crate, 4=utility crate 
109 
* `Tag`: Used for the appear animation 

110 
* `Health`: Amount of health contained in a health crate 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

111 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

112 
==== `gtExplosives` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

113 
An explosive barrel. It has its own invisible health, like a hedgehog. On low health levels smoke comes out of the barrel. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

114 

699  115 
* `Health`: “health” of the barrel: Starts at 60, explodes at 0. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

116 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

117 
==== `gtFlake` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

118 
A snowflake which might become part of the terrain. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

119 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

120 
==== `gtFlame` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

121 
A single flame. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

122 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

123 
TODO: Flame size. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

124 

701  125 
* `Pos`: Some unknown value between 032 (TODO) 
126 
* `FlightTime`: If set to `0`, this flame can hurt hedgehogs even in midair. By default, the FlightTime is a nonzero value. 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

127 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

128 
==== `gtGrave` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

129 
A grave from a dead hedgehog. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

130 

699  131 
* `Health`: Used when being resurrected. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

132 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

133 
==== `gtHedgehog` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

134 
A hedgehog. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

135 

699  136 
* `Tag`: Used for animation. `0` = no animation plays. Other value: animation plays 
137 
* `Health`: Hedgehog's health. 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

138 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

139 
TODO: Write more about hedgehogs. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

140 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

141 
==== `gtPortal` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

142 
A portal from the portable portal device. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

143 

699  144 
* `Tag`: Portal state. 0=orange flying, 1=orange placed, 2=blue flying, 3=blue placed 
145 
* `Timer`: Remaining existance time (portals will disappear after end of turn). 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

146 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

147 
==== `gtTarget` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

148 
A target, useful in target practice missions. 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

149 

435
9e434185289a
Restructure page, add typographic improvements
almikes@aol.com
parents:
426
diff
changeset

150 
=== Utilities === 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

151 
The gears used by various utilities. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

152 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

153 
==== `gtGirder` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

154 
A girder (construction). 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

155 
TODO 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

156 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

157 
==== `gtJetpack` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

158 
A flying saucer. Its fuel is stored in `Health` and starts at 2000, which stands for 100% fuel. The fuel value is reduced whenever the player taps one of the direction keys. The up direction costs 50 fuel and the left and right directions cost 10 fuel. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

159 

699  160 
* `Health`: Amount of remaining fuel. `2000` denotes 100% fuel. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

161 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

162 
==== `gtLandGun` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

163 
The land spray tool. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

164 

699  165 
* `Tag`: Spitting power of land spray (`5``20`). 
166 
* `Health`: Amount of fuel. `1000` denotes 100% fuel.  

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

167 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

168 
==== `gtParachute` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

169 
A parachute. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

170 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

171 
==== `gtResurrector` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

172 
A hedgehog which does perform a resurrection. 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

173 

699  174 
* `Radius`: Effect range of resurrection in pixels (default: 100). Note that this does not change the drawn circle 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

175 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

176 
==== `gtRope` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

177 
A rope. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

178 

699  179 
* `Tag` Rope style: `0`=classic white segments (default), `1`=simple line which can be colored with `Tint`. 
180 
* `Tint`: Rope color as RGBA. This only works if `Tag` equals `1` 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

181 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

182 
==== `gtSwitcher` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

183 
Switch hedgehog. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

184 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

185 
==== `gtTardis` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

186 
A !TimeBox. It works in several phases and an internal timer. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

187 

699  188 
* `Pos`: Current phase. The value `4` is used when the !TimeBox is currently timetravelling (has completely turned invisible). 
189 
* `Timer`: Has several meanings, depending on `Pos`. Here's the most imporant one, for `Pos` of `4`: A timer (in milliseconds) containing the remaining time until the !TimeBox returns. The !TimeBox returns when `Timer` reaches 0. Hedgewars decreases the timer only while the same team is playing 

190 
* `Tint`: RGBA color (default: clan color) 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

191 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

192 
TODO: Add more information for the other phases. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

193 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

194 
==== `gtTeleport` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

195 
Teleportation. 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

196 

435
9e434185289a
Restructure page, add typographic improvements
almikes@aol.com
parents:
426
diff
changeset

197 
=== Weapons and main projectiles === 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

198 
Gears of weapons which can be directly used or launched by the players. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

199 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

200 
==== `gtAirAttack` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

201 
The airplane of an airborne attack. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

202 

699  203 
* `Pos`: Type of airborne attack: `0` = Air Attack, `1` = Mine Strike, `2` = Napalm, `3` = Drill Strike 
204 
* `Tag`: Direction of airplane: `1` = left, `1` = right 

205 
* `Health`: Number of bombs/mines/drills left (default: 6) 

206 
* `Damage`: Distance (in pixels) between two dropped bombs/mines/drills (default: 30) 

207 
* `Tint`: RGBA color of airplane (default: clan color) 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

208 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

209 
==== `gtAirMine` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

210 
An air mine. It seeks nearby hedgehogs. If it is in explosion range, its timer activates and will become lower. If the timer reaches 0 and is still in explosion range of a hedgehog, it explodes. But it does not explode if it is out of range, after which the timer is reset and the air mine can be activated again. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

211 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

212 
To properly set the timer of an air mine, you must set both `Timer` and `WDTimer`. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

213 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

214 
If the gear state flag `gstAttacking` is set, the air mine is activated and is about to explode. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

215 
If the gear state flag `gstChooseTarget` is set, the air mine is currently hunting a hedgehog. This should only be read by Lua scripts, setting it from a Lua script has no effect. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

216 

699  217 
* `Pos`: Air friction. Higher values mean slower movement. 
218 
* `Timer`: Time left until possible detonation (in milliseconds). Default value depends on game scheme. 

219 
* `WDTimer`: Initial timer value (in milliseconds) of an activated air mine. The `Timer` is reset to this value if the air mine gets reactivated. 

220 
* `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. Default: 175 

221 
* `Power`: Speed in which it seeks and follows hedgehogs. 

222 
* `Karma`: Explosion size and damage. Default: 30 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

223 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

224 
==== `gtBallGun` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

225 
A ballgun. This weapon is timerbased. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

226 

699  227 
* `Timer`: Remaining usage time (in ms), default is 5001. One ball is fired every 100ms. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

228 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

229 
==== `gtBee` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

230 
A homing bee. The bee works in up to three phases: The first phase is the prehoming phase lasts 0.5 seconds in which the bee behaves like a normal projectile. In the second phase the bee actually starts homing. This phase can last up to 5 seconds. If the bee did not explode in this time, the bee goes into posthoming phase, stops homing and simply falls. For the first two phases this gear uses `Timer`. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

231 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

232 
This gear does not directly store in which phase the bee currently is in, so it is a bit tricky to modify the timer values. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

233 
If you just want to modify the prehoming time, simply set the `Timer` after creation. But if you want to modify the duration of the homing phase, you have somehow track the bee gear and wait until the `Timer` first reaches 0, so you know the bee will now get into its second phase. Now wait one more tick (or more) and set `Timer` to set the maximum flight time in the homing phase. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

234 

699  235 
* `Tag`: Whether the bee is underwater (`0` = no, `1` = yes). This is used for the sound effect. 
236 
* `Timer`: Remaining time (in milliseconds) either of the prehoming phase or the homing phase. 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

237 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

238 
==== `gtBirdy` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

239 
Birdy. Birdy works like a flying saucer and depletes energy (stored in `Health`) whenever you tap one of the direction keys. Flapping left and right costs 10 energy, flapping upwards costs 50 energy. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

240 

699  241 
* `Tag`: Facing direction (`1` = left, `1` = right) 
242 
* `Health`: “Flapping energy” left, default is 2000 

243 
* `FlightTime`: Number of eggs left (default: 2) 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

244 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

245 
==== `gtBlowTorch` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

246 
A blowtorch. This utility is entirely timerbased. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

247 

699  248 
* `Timer`: Remaining usage time in ms, default is 7500. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

249 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

250 
==== `gtClusterBomb` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

251 
A cluster bomb. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

252 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

253 
==== `gtCake` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

254 
A cake. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

255 

699  256 
* `Tag`: A timer used for several animations. The final animation (sit down) will cause the cake to explode when the tag reaches `2250`. 
257 
* `Health`: Remaining walking time, default is 2048. Note: the cake uses its own time unit. 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

258 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

259 
==== `gtDEagleShot` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

260 
A shot from a Desert Eagle. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

261 

699  262 
* `Health`: How deep the bullet digs into land. Default: 50. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

263 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

264 
==== `gtDrill` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

265 
A drill rocket. This is either a launched drill rocket or a small drill rocket from the drill strike (which is a bit weaker than the launched one). 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

266 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

267 
The type of drill rocket is stored in the gear state. If `gsttmpFlag` is set (e.g. {{{band(GetState(yourDrillGear), gsttempFlag) == 0}}} evaluates to `true`), it is a launched drill rocket, otherwise it is a drill rocket from the drill strike. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

268 

699  269 
* `Tag`: Used for drill strike. If `1`, then first impact occoured already. 
270 
* `Timer`: Detonation timer (in ms) 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

271 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

272 
==== `gtDynamite` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

273 
A dynamite. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

274 
Note: The current animation does not support denotation times above 5 seconds. If you want to have larger times, you have to provide your own dynamite sprite in a sidecar HWP or find another workaround. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

275 

699  276 
* `Tag`: Displayed animation frame. 
277 
* `Timer`: Detonation timer (in ms). Default: 5000. 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

278 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

279 
==== `gtFirePunch` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

280 
A hedgehog which performs the Shoryuken attack. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

281 

699  282 
* `Tag`: Current Y coordinate of the hedgehog. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

283 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

284 
==== `gtFlamethrower` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

285 
A flamethrower. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

286 

699  287 
* `Tag`: Current spitting power of flamethrower (`5``20`) 
288 
* `Health`: Remaining fuel. `500` is for 100% fuel. 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

289 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

290 
==== `gtGasBomb` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

291 
An old limburger. Will spawn several `gtPoisonCloud` gears on detonation. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

292 

699  293 
* `Timer`: Detonation timer (in milliseconds). 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

294 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

295 
==== `gtGrenade` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

296 
A grenade. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

297 

699  298 
* `Timer`: Detonation timer (in milliseconds). 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

299 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

300 
==== `gtHammer` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

301 
A hammer. See also `gtHammerHit` for the actual hit of the hammer. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

302 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

303 
==== `gtHellishBomb` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

304 
A hellish handgrenade. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

305 

699  306 
* `Timer`: Detonation timer (in milliseconds). Default: 5000 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

307 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

308 
==== `gtIceGun` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

309 
A freezer. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

310 

699  311 
* `Health`: Remaining fuel. `1000` is for 100% fuel 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

312 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

313 
==== `gtKamikaze` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

314 
A hedgehog which is doing a kamikaze attack. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

315 

699  316 
* `Health`: Remaining travel range. Default: 2048 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

317 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

318 
==== `gtKnife` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

319 
A cleaver. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

320 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

321 
==== `gtPiano` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

322 
A piano from piano strike. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

323 

699  324 
* `Tag`: Number of remaining terrain bounces. Default: 5. If this number reaches 0, the piano will not collide anymore and directly fall into the water. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

325 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

326 
==== `gtPickHammer` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

327 
A pickhammer. This gear is entirely timerbased. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

328 

699  329 
* `Timer`: Remaining usage time (in milliseconds). Default: 4000 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

330 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

331 
==== `gtRCPlane` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

332 
An RC plane. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

333 

699  334 
* `Tag`: dX speed??? (The purpose of the `Tag` is not clear yet) 
335 
* `Timer`: Remaining fly time (in milliseconds). Default: 15000 

336 
* `Health`: Number of missiles on board. Default: 3 

337 
* `Tint`: RGBA color of RC plane (default: clan color) 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

338 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

339 
==== `gtMolotov` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

340 
A molotov cocktail. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

341 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

342 
==== `gtMortar` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

343 
A mortar. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

344 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

345 
==== `gtMine` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

346 
A land mine. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

347 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

348 
If the gear state flag `gstAttacking` is set, mine has been activated and is about to explode (if it is not a dud). 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

349 

699  350 
* `Timer`: Detonation timer (after activation). 
351 
* `Health`: If `0`, mine is a dud. 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

352 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

353 
==== `gtSeduction` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

354 
A hedgehog trying to seduce others. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

355 

699  356 
* `Radius`: Effect range of seduction in pixels. Default: 250. Note that this does not change the drawn circle 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

357 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

358 
==== `gtShell` ==== 
699  359 
A bazooka shell (projectile). 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

360 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

361 
==== `gtShotgunShot` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

362 
A shot from a shotgun. It is invisible and only can be noticed by its effects. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

363 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

364 
==== `gtShover` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

365 
Used by baseball bat. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

366 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

367 
==== `gtSineGunShot` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

368 
A shot from the sine gun. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

369 

699  370 
* `Radius`: The thickness of the sine gun shot. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

371 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

372 
==== `gtSMine` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

373 
A sticky mine. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

374 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

375 
If the gear state flag `gstAttacking` is set, the sticky mine has been activated and is about to explode. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

376 

699  377 
* `Timer`: Detonation timer after it was activated (in milliseconds). Default: 500 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

378 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

379 
==== `gtSniperRifleShot` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

380 
A shot from the sniper rifle. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

381 

699  382 
* `Health`: How deep the bullet digs into land. Default: 50 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

383 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

384 
==== `gtSnowball` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

385 
A mudball. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

386 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

387 
==== `gtWatermelon` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

388 
A watermelon bomb, still intact. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

389 

699  390 
* `Timer`: Detonation timer (in milliseconds). 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

391 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

392 
==== `gtWhip` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

393 
A whip. 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

394 

435
9e434185289a
Restructure page, add typographic improvements
almikes@aol.com
parents:
426
diff
changeset

395 
=== Secondary projectiles === 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

396 
Gears for projectiles that can’t be directly fired but are generated by other weapon gears. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

397 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

398 
==== `gtAirBomb` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

399 
A bomb from the air attack or the RC plane. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

400 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

401 
==== `gtBall` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

402 
A ball from the ball gun 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

403 

699  404 
* `Timer`: Detonation timer (in milliseconds). Default: 5000 
405 
* `Tag`: Color: `0`=red, `1`=green, `2`=cyan, `3`=yellow, `4`=violet, `5`=pink, `6`=orange, `7`=lime, `8`=white 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

406 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

407 
==== `gtCluster` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

408 
A cluster from the cluster bomb or the mortar 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

409 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

410 
==== `gtEgg` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

411 
An egg from Birdy. 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

412 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

413 
==== `gtHammerHit` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

414 
A hit from the hammer. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

415 

699  416 
* `Timer`: How deep a successful hammer hit dig into land. 1 is the smallest possible depth. Using the value 0 will dig all the way to the water. Default: 125. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

417 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

418 
==== `gtMelonPiece` ==== 
699  419 
* A cluster from a watermelon bomb. 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

420 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

421 
==== `gtNapalmBomb` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

422 
A bomb from the napalmn strike, will burst into fire. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

423 

699  424 
* `Timer`: Detonation timer (in milliseconds). Default: 1000 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

425 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

426 
==== `gtPoisonCloud` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

427 
A poisonous cloud, makes hedgehogs sick on contact. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

428 

699  429 
* `Timer`: Remaining “life time” in milliseconds (default: 5000). Note that the current animation does not very well support timers larger than 5 seconds, and the animation is partly hardcoded. 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

430 

435
9e434185289a
Restructure page, add typographic improvements
almikes@aol.com
parents:
426
diff
changeset

431 
=== Other === 
698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

432 
Gears which don't fit into any other category. 
422
1e8c89d93ea9
Alphbetically sort gear types and put them into semantic categories.
almikes@aol.com
parents:
420
diff
changeset

433 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

434 
==== `gtAddAmmo` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

435 
Used to add some weapon or utilty to a hedgehog. The gear is added when a crate has been collected. 
420
55be67135696
Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents:
349
diff
changeset

436 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

437 
==== `gtATStartGame` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

438 
TODO. The purpose of this gear is not clear yet. 
607  439 

698
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

440 
==== `gtATFinishGame` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

441 
TODO. The purpose of this gear is not clear yet. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

442 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

443 
==== `gtGenericFaller` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

444 
TODO. The purpose of this gear is not clear yet. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

445 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

446 
==== `gtWaterUp` ==== 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

447 
Causes the water to rise. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

448 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

449 
`Tag` contains the number of pixels the water still has to rise (default: 47). The gear will be removed when its `Tag` reaches the value 0. 
f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

450 

f84aa8f2b2cc
Complete rewrite of the page. Now every gear has a nice section
Wuzzy
parents:
635
diff
changeset

451 
== Reference == 
435
9e434185289a
Restructure page, add typographic improvements
almikes@aol.com
parents:
426
diff
changeset

452 
For a current list of the gears look at `hedgewars/uTypes.pas` at 
700  453 
the `TGearType` enumeration: 
454 
[http://hg.hedgewars.org/hedgewars/file/default/hedgewars/uTypes.pas#l92] 

420
55be67135696
Put gear types into a table, along with a description and tag description.
almikes@aol.com
parents:
349
diff
changeset

455 

435
9e434185289a
Restructure page, add typographic improvements
almikes@aol.com
parents:
426
diff
changeset

456 
Note: `gtBomb` and `gtShell` were named `gtAmmo_Bomb` and `gtAmmo_Grenade` before 0.9.14. 