GearTypes.wiki
changeset 1723 2435eaf0770c
parent 1719 b3b6ed1c822f
child 1805 d18970cf6ca2
equal deleted inserted replaced
1722:64d86e73127d 1723:2435eaf0770c
   117  * `Pos`: Crate type: 1=ammo crate, 2=health crate, 4=utility crate (also see below)
   117  * `Pos`: Crate type: 1=ammo crate, 2=health crate, 4=utility crate (also see below)
   118  * `Tag`: Used for the appear animation
   118  * `Tag`: Used for the appear animation
   119  * `Health`: Amount of health contained in a health crate. This value should not be negative
   119  * `Health`: Amount of health contained in a health crate. This value should not be negative
   120  * `Power`: Ammo count in an ammo or utility crate. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
   120  * `Power`: Ammo count in an ammo or utility crate. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
   121  * `Boom`: Explosion size and damage (default: 25)
   121  * `Boom`: Explosion size and damage (default: 25)
       
   122  * `Karma`: (1.0.0) If `1`, health amount of a health crate can not be viewed in the game with the object information view, but it will be available in demos. If `2`, health amount can never be viewed.
   122 
   123 
   123 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`.
   124 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`.
   124 
   125 
   125 It is not possible to get the ammo type contained in an ammo or utility crate. Note that random crate contents are determined when a hedgehog collects it, not before.
   126 It is not possible to get the ammo type contained in an ammo or utility crate. Note that random crate contents are determined when a hedgehog collects it, not before.
   126 
   127 
   286  * `Timer`: Time left until possible detonation (in milliseconds). Default value depends on game scheme.
   287  * `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.
   288  * `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)
   289  * `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.
   290  * `Power`: Speed in which it seeks and follows hedgehogs.
   290  * `Boom`: Explosion size and damage (since 0.9.23). Default: 25
   291  * `Boom`: Explosion size and damage (since 0.9.23). Default: 25
       
   292  * `Karma`: (1.0.0) If `1`, mine timer display is hidden when object information view is enabled
   291 
   293 
   292 ==== `gtBallGun` ====
   294 ==== `gtBallGun` ====
   293 A ballgun. It throws 51 balls ([GearTypes#gtBall `gtBall`]) by default. This weapon is timer-based.
   295 A ballgun. It throws 51 balls ([GearTypes#gtBall `gtBall`]) by default. This weapon is timer-based.
   294 
   296 
   295  * `Timer`: Remaining usage time (in ms), default is 5001. One ball is fired every 100ms.
   297  * `Timer`: Remaining usage time (in ms), default is 5001. One ball is fired every 100ms.
   476 
   478 
   477 Gear values:
   479 Gear values:
   478 
   480 
   479  * `Timer`: Detonation timer (after activation). The initial value depends on the game settings.
   481  * `Timer`: Detonation timer (after activation). The initial value depends on the game settings.
   480  * `Health`: If `0`, mine is a dud, otherwise it is not a dud or has not been triggered yet.
   482  * `Health`: If `0`, mine is a dud, otherwise it is not a dud or has not been triggered yet.
   481  * `Tag`: (0.9.23) If `1`, mine timer will be random.
   483  * `Tag`: If `1`, mine timer will be random.
   482  * `Damage`: If mine has become a dud, this will contain the damage taken by the mine since it was a dud. It starts at 0 and the mine will explode when `Damage` is greater than 35.
   484  * `Damage`: If mine has become a dud, this will contain the damage taken by the mine since it was a dud. It starts at 0 and the mine will explode when `Damage` is greater than 35.
   483  * `Boom`: Explosion size and damage. Default: 50
   485  * `Boom`: Explosion size and damage. Default: 50
       
   486  * `Karma`: (1.0.0) If `1`, mine timer display is hidden when object information view is enabled
   484 
   487 
   485 ==== `gtSeduction` ====
   488 ==== `gtSeduction` ====
   486 A hedgehog trying to seduce others.
   489 A hedgehog trying to seduce others.
   487 
   490 
   488  * `Radius`: Effect range of seduction in pixels. Default: 250. Note that this does not change the drawn circle
   491  * `Radius`: Effect range of seduction in pixels. Default: 250. Note that this does not change the drawn circle
   515 
   518 
   516 If the gear state flag `gstAttacking` is set, the sticky mine has been activated and is about to explode.
   519 If the gear state flag `gstAttacking` is set, the sticky mine has been activated and is about to explode.
   517 
   520 
   518  * `Timer`: Detonation timer after it was activated (in milliseconds). Default: 500
   521  * `Timer`: Detonation timer after it was activated (in milliseconds). Default: 500
   519  * `Boom`: Explosion size and damage. Default: 30
   522  * `Boom`: Explosion size and damage. Default: 30
       
   523  * `Karma`: (1.0.0) If `1`, mine timer display is hidden when object information view is enabled
   520 
   524 
   521 ==== `gtSniperRifleShot` ====
   525 ==== `gtSniperRifleShot` ====
   522 A shot from the sniper rifle.
   526 A shot from the sniper rifle.
   523 
   527 
   524  * `Health`: How deep the bullet digs into land. Default: 50
   528  * `Health`: How deep the bullet digs into land. Default: 50