GearTypes.wiki
changeset 1633 4d62b31cddef
parent 1526 4a0eb0735ad9
child 1646 5255f589c12b
equal deleted inserted replaced
1632:4c982152eb2e 1633:4d62b31cddef
    46 || [GearTypes#gtBee `gtBee`] || Homing bee ||
    46 || [GearTypes#gtBee `gtBee`] || Homing bee ||
    47 || [GearTypes#gtBirdy `gtBirdy`] || Birdy ||
    47 || [GearTypes#gtBirdy `gtBirdy`] || Birdy ||
    48 || [GearTypes#gtBlowTorch `gtBlowTorch`] || Blowtorch ||
    48 || [GearTypes#gtBlowTorch `gtBlowTorch`] || Blowtorch ||
    49 || [GearTypes#gtClusterBomb `gtClusterBomb`] || Cluster bomb ||
    49 || [GearTypes#gtClusterBomb `gtClusterBomb`] || Cluster bomb ||
    50 || [GearTypes#gtCake `gtCake`] || Cake ||
    50 || [GearTypes#gtCake `gtCake`] || Cake ||
       
    51 || [GearTypes#gtCreeper `gtCreeper`] || Creeper (unfinished weapon) ||
    51 || [GearTypes#gtDEagleShot `gtDEagleShot`] || Shot from a Desert Eagle ||
    52 || [GearTypes#gtDEagleShot `gtDEagleShot`] || Shot from a Desert Eagle ||
    52 || [GearTypes#gtDrill `gtDrill`] || Drill rocket ||
    53 || [GearTypes#gtDrill `gtDrill`] || Drill rocket ||
    53 || [GearTypes#gtDuck `gtDuck`] || Rubber duck (*deprecated*) ||
    54 || [GearTypes#gtDuck `gtDuck`] || Rubber duck (*deprecated*) ||
    54 || [GearTypes#gtDynamite `gtDynamite`] || Dynamite ||
    55 || [GearTypes#gtDynamite `gtDynamite`] || Dynamite ||
    55 || [GearTypes#gtFirePunch `gtFirePunch`] || Shoryuken ||
    56 || [GearTypes#gtFirePunch `gtFirePunch`] || Shoryuken ||
   323 
   324 
   324  * `Tag`: A timer used for several animations. The final animation (sit down) will cause the cake to explode when the tag reaches `2250`.
   325  * `Tag`: A timer used for several animations. The final animation (sit down) will cause the cake to explode when the tag reaches `2250`.
   325  * `Health`: Remaining walking time, default is 2048. Note: the cake uses its own time unit.
   326  * `Health`: Remaining walking time, default is 2048. Note: the cake uses its own time unit.
   326  * `Boom`: Explosion size and damage. Default: 75
   327  * `Boom`: Explosion size and damage. Default: 75
   327 
   328 
       
   329 ==== `gtCreeper` ====
       
   330 Used for an unfinished weapon that is internally known as the “Creeper”.
       
   331 
   328 ==== `gtDEagleShot` ====
   332 ==== `gtDEagleShot` ====
   329 A shot from a Desert Eagle.
   333 A shot from a Desert Eagle.
   330 
   334 
   331  * `Health`: How deep the bullet digs into land. Default: 50.
   335  * `Health`: How deep the bullet digs into land. Default: 50.
   332  * `Boom`: Damage. Default: 7
   336  * `Boom`: Damage. Default: 7
   339  * `Tag`: Used for drill strike. If `1`, then first impact occoured already.
   343  * `Tag`: Used for drill strike. If `1`, then first impact occoured already.
   340  * `Timer`: Detonation timer (in ms)
   344  * `Timer`: Detonation timer (in ms)
   341  * `Boom`: Explosion size and damage. Default: 50 for launched drill rocket, 30 for drill rocket from drill strike
   345  * `Boom`: Explosion size and damage. Default: 50 for launched drill rocket, 30 for drill rocket from drill strike
   342 
   346 
   343 ==== `gtDuck` ====
   347 ==== `gtDuck` ====
   344 This gear type is *deprecated*, it will be removed in a future version. Do not use it for new scripts!
   348 This gear type is *deprecated*, it will be removed in a future version. Do not use it.
   345 
   349 
   346 A rubber duck, added in 0.9.23. Explodes on collision. Swims on water and is affected by wind as soon it is on the water. It is also able to swim on the Sea edges, it simply turns around by 90 degrees. It also has a timer to avoid the duck existing forever.
   350 In version 0.9.25, this is just an alias to `gtCreeper`.
   347 
       
   348  * `Pos`: The movement state. `0` when in air, between `1` and `4` when swimming, between `5` and `8` when underwater
       
   349   * `0`: In air
       
   350   * `1`: Swimming on the bottom water
       
   351   * `2`: Swimming on the bottom water (mirrored)
       
   352   * `3`: Swimming on the left Sea edge
       
   353   * `4`: Swimming on the right Sea edge
       
   354   * `5`: Underwater in the bottom water
       
   355   * `6`: Underwater in the bottom water (mirrored)
       
   356   * `7`: Underwater in the left Sea edge
       
   357   * `8`: Underwater in the right Sea edge
       
   358  * `Tag`: Facing direction. `1` for right, `-1` for left.
       
   359  * `Timer`: Detonation timer (in ms), starts after dropping. Default: 15000
       
   360  * `Boom`: Explosion size and damage. Default: 40
       
   361  * `Damage`: Speed factor when swimming on water, multiplied with wind speed. Default: 500
       
   362  * `Karma`: Distance from water when swimming. Default: 24
       
   363  * `Radius`: Collision radius. Default: 9
       
   364 
   351 
   365 ==== `gtDynamite` ====
   352 ==== `gtDynamite` ====
   366 A dynamite.
   353 A dynamite.
   367 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.
   354 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.
   368 
   355 
   604 
   591 
   605 ==== `gtATStartGame` ====
   592 ==== `gtATStartGame` ====
   606 This gear is created to mark the beginning of the game. It will cause a ticker message to be displayed (“Let's fight!”) and sets some internal stuff.
   593 This gear is created to mark the beginning of the game. It will cause a ticker message to be displayed (“Let's fight!”) and sets some internal stuff.
   607 
   594 
   608 ==== `gtATFinishGame` ====
   595 ==== `gtATFinishGame` ====
   609 This gear is created at the end of the game. The gear itself will fade out the screen and cause the game to be closed. Note: If you want to end the game early, we recommend to call the `EndGame` function instad of using this gear.
   596 This gear is created at the end of the game. The gear itself will fade out the screen and cause the game to be closed. Note: If you want to end the game early, we recommend to call the `EndGame` function instead of using this gear.
   610 
   597 
   611  * `Timer`: Fade-out countdown in milliseconds. Fade-out begins at 1000 and finishes at 0.
   598  * `Timer`: Fade-out countdown in milliseconds. Fade-out begins at 1000 and finishes at 0.
   612 
   599 
   613 ==== `gtGenericFaller` ====
   600 ==== `gtGenericFaller` ====
   614 This gear behaves like a virtual ball. It collides with its surroundings and bounces around but doesn't affect the environment or other gears in any way. It appears as a red circle, unless it is made invisible by setting the gear state. It also supports the gear state `gstNoGravity`. It gets automatically destroyed when its `Timer` is up.
   601 This gear behaves like a virtual ball. It collides with its surroundings and bounces around but doesn't affect the environment or other gears in any way. It appears as a red circle, unless it is made invisible by setting the gear state. It also supports the gear state `gstNoGravity`. It gets automatically destroyed when its `Timer` is up.