From Worms Knowledge Base
|This WormKit module is not compatible with the latest W:A update (3.7.2).|
|Dernière version :||0.0.2.2 / 14 septembre 2010|
|Versions de W:A supportées :||220.127.116.11|
Ce module de WormKit est une correction complète du bug - qui n'affecte que la version 18.104.22.168 - qui cause une désynchronisation dans les parties en ligne et les replays si la Visée laser is used in conjunction with a firearm. It's an alternative to the version overriding based method (described here). The advantage is that you keep the undefined crate contents feature (which disarms cheats aiming to show the crate contents locally, and reveal other things which you shouldn't see normally).
It has also a couple of game features: permanently activate or deactivate utilities, and also increase the limit of concurrent flamelets on map. The way these works is very similar to RubberWorm: the settings are stored in some unused bytes of the scheme, and all players of an online game must be running the same version of the module.
All utilities activation can be overridden permanently on or off. Some commands are available in the host lobby for an easy setup (look table below). To each command, append 'on' or 'off' to force the utility status to on or off, or just type the plain command to revert any overriding.
The scheme bytes used by LaserFix for these features are the crate probability settings of Mike's Carpet Bomb and Ming Vase: both are a bitmask, the former controls the overriding status (bit value 1 if overriding), the latter whether it overrides to on (bit value 1) or off (bit value 0).
Depuis la version 0.0.2.2, this option disallows that the overridden utility appears in a crate (with exception of a crate of a Crate Shower).
|Faible pesanteur||/lg||1 (1)|
|Marche rapide||/fastwalk||2 (2)|
|Visée laser||/laser||3 (4)|
|Dégâts doublés||/damageX2||5 (16)|
|Espion de caisses||/cratespy||6 (32)|
|Multiplication du temps de tour||/doubleturn||7 (64)|
|Pluie de caisses||/wwpshower||8 (128)|
- Par exemple
To permanently enable Low Gravity in the game (like On the Moon mode of Wormpot), and double the time of every turn, but forbid players to use Laser Sight in the game, use the following text commands: (all lowercase)
/lgon /laseroff /doubleturnon
or, in the scheme file, set the crate probability of the following:
|(in decimal)||(in binary)|
|Mike's Carpet Bomb||69||(01000101)2|
Flames limit variability
The native limit is 200, which is too low and cause the glitch that flames suddenly disappear (for example, flamelets of petrol bombs dropped in precedent turns disappear if a worm uses napalm strike). Increasing this limit solves the problem. However, if the limit is too high, the maximum number of concurrent sprites on screen can be exceeded, causing some flames to exist but be invisible.
Command and scheme setting
The command is /flames: just append the new limit value. Without argument, the command disables this feature. The value divided by 100 is stored in the crate probability of Scale of Justice. Note that due to this division by 100, the argument number that you pass with the /flames command is rounded up to hundreds.
Instant utilities stocking and multiplication
LaserFix enables stockage in armory of those utilities which can have effect only once in a turn. To enable this feature, append 'stock' to the command relative to one of the last four utilities in the precedent table. The stock status of the utility is coded setting the correspondig bit in Carpet Bomb and Ming Vase respectively to 0 and 1.
Another modality for these instant utilities (except for Laser Sight) is the "multi" mode. In this case, every time you collect a crate of the selected instant utility, its effect is strengthened somehow.
- Increases the number of crates that the Crate Shower drops by an amount equal to the original limit. By default, W:A set this limit to 5, and is the same value which the RubberWorm command /craterate modifies.
- Increases turn time by an amount equal to the current turn time divided by the number of crates of Double Turn Time that you have collected. This way, the effect of such crates decreases (it multiplies the time firstly by 2, then 3/2, 4/3, 5/4...)
- Increase the damage mutiplier by one step. One crate is Double Damage, two is triple damage, etc.
This mode is coded as a 1 bit in the crate probability of the Girder Starter Pack at the same position described in the precedent table, and has effect only if the corrisponding bits in the Ming Vase and Carpet Bomb are set to 0.
Convenience commands and /tellv
LaserFix hérite de RubberWorm les commandes /show, /showme, /clear, /help (or /h), qui conservent la même signification.
Une commande supplémentaire peut être utilisée dans les parties en ligne, aussi bien par les organisateurs que les clients : /tellv. Cette commande affiche un message vert (comme ceux qui commencent par /me) qui annonce quels modules le client utilise et leurs versions respectives. LaserFix reconnaît automatiquement RubberWorm et JetFix, but new modules can register themselves so that their description string appears.