|
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 |
|
3 Please note this list is still mostly TODO. |
|
4 |
|
5 || 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 || |
|
13 || gtExplosives || TODO || TODO || |
|
14 || gtFlake || TODO || TODO || |
|
15 || gtFlame || a flame || between 0-32 (TODO) || |
|
16 || gtGrave || a grave from a dead hedgehog || TODO || |
|
17 || gtHedgehog || a hedgehog || used for animation. 0 = no animation plays. Other value: animation plays || |
|
18 || gtRope || a rope || TODO || |
|
19 || gtTardis || a !TimeBox || TODO || |
|
20 || gtParachute || a parachute || TODO || |
|
21 || gtJetpack || a flying saucer || TODO || |
|
22 || gtGirder || a girder || TODO || |
|
23 || gtTeleport || teleportation || TODO || |
|
24 || gtSwitcher || switch hedgehog || TODO || |
|
25 || gtPortal || a portal from the portable portal device || TODO || |
|
26 || gtLandGun || the land spray tool || power of land spray (0-10) || |
|
27 || gtBee || homing bee || wheather the bee is underwater (0 = no, 1 = yes) || |
|
28 || 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) || |
|
31 || gtResurrector || resurrection || TODO || |
|
32 || gtAirAttack || The airplane of an air attack || direction of airplane (-1 = left, 1 = right) || |
|
33 || gtCake || a cake || A timer for the final “sitting down” animation. It starts at 0 and will be destroyed when it reaches 2250. || |
|
34 || gtRCPlane || a RC plane || dX speed??? || |
|
35 || gtBirdy || Birdy || facing direction (left = -1, right = 1) || |
|
36 || gtEgg || an egg from birdy || TODO || |
|
37 || gtGrenade || a grenade || TODO || |
|
38 || gtShell || a bazooka shell (projectile) || TODO || |
|
39 || 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 || |
|
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 || |
|
63 || gtSMine || a sticky mine || TODO || |
|
64 || gtPoisonCloud || a poisonous cloud, makes hedgehogs sick on contact || TODO || |
|
65 || gtHammer || a hammer || TODO || |
|
66 || gtHammerHit || TODO || TODO || |
|
67 || gtNapalmBomb || a bomb from the napalmn strike, will burst into fire || TODO || |
|
68 || gtSnowball || a mudball || TODO || |
|
69 || gtIceGun || a freezer || TODO || |
|
70 || gtKnife || a cleaver || TODO || |
|
71 |
|
72 |
|
73 Here is an excerpt from the Hedgewars source code: |
|
74 {{{ |
|
75 TGearType = (gtFlame, gtHedgehog, gtMine, gtCase, gtExplosives, // these gears should be avoided when searching a spawn place |
|
76 gtGrenade, gtShell, gtGrave, gtBee, // 8 |
|
77 gtShotgunShot, gtPickHammer, gtRope, // 11 |
|
78 gtDEagleShot, gtDynamite, gtClusterBomb, gtCluster, gtShover, // 16 |
|
79 gtFirePunch, gtATStartGame, // 18 |
|
80 gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, // 23 |
|
81 gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, // 28 |
|
82 gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, // 34 |
|
83 gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, // 40 |
|
84 gtSniperRifleShot, gtJetpack, gtMolotov, gtBirdy, // 44 |
|
85 gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower, // 50 |
|
86 gtSMine, gtPoisonCloud, gtHammer, gtHammerHit, gtResurrector, // 55 |
|
87 gtNapalmBomb, gtSnowball, gtFlake, {gtStructure,} gtLandGun, gtTardis, // 61 |
|
88 gtIceGun, gtAddAmmo, gtGenericFaller, gtKnife); // 65 |
|
89 }}} |
1 For a current list of the gears look at hedgewars/uTypes.pas at |
90 For a current list of the gears look at hedgewars/uTypes.pas at |
2 the TGearType enumeration. |
91 the TGearType enumeration. |
3 http://code.google.com/p/hedgewars/source/browse/hedgewars/uTypes.pas#92 |
92 http://code.google.com/p/hedgewars/source/browse/hedgewars/uTypes.pas#92 |
4 {{{ |
93 |
5 TGearType = (gtGrenade, gtHedgehog, gtShell, gtGrave, gtBee, |
|
6 gtShotgunShot, gtPickHammer, gtRope, gtMine, gtCase, |
|
7 gtDEagleShot, gtDynamite, gtClusterBomb, gtCluster, gtShover, |
|
8 gtFlame, gtFirePunch, gtATStartGame, |
|
9 gtATFinishGame, gtParachute, gtAirAttack, gtAirBomb, gtBlowTorch, |
|
10 gtGirder, gtTeleport, gtSwitcher, gtTarget, gtMortar, |
|
11 gtWhip, gtKamikaze, gtCake, gtSeduction, gtWatermelon, gtMelonPiece, |
|
12 gtHellishBomb, gtWaterUp, gtDrill, gtBallGun, gtBall, gtRCPlane, |
|
13 gtSniperRifleShot, gtJetpack, gtMolotov, gtExplosives, gtBirdy, |
|
14 gtEgg, gtPortal, gtPiano, gtGasBomb, gtSineGunShot, gtFlamethrower, |
|
15 gtSMine, gtPoisonCloud, gtHammer, gtHammerHit, gtResurrector, |
|
16 gtNapalmBomb, gtSnowball, gtFlake, gtStructure, gtLandGun, gtTardis, |
|
17 gtIceGun, gtAddAmmo, gtGenericFaller, gtKnife); |
|
18 }}} |
|
19 Note: gtBomb and gtShell were named gtAmmo_Bomb and gtAmmo_Grenade before 0.9.14 |
94 Note: gtBomb and gtShell were named gtAmmo_Bomb and gtAmmo_Grenade before 0.9.14 |