Block Attributes
range
How far the CANNON shots travel. How long the LASER is. Example:range=400, Data type: float
muzzleVelocity
How fast the CANNON shots travel. Example:muzzleVelocity=1000.0, Setting muzzleVelocity too high will cause bullets to clip through armor. Data type: float
burstyness
How close together burst-fired CANNON shots come out. How close together LASERS fire. Example:burstyness=0.3, Data type: float
roundsPerBurst
CANNON shots will come out in batches. Example:roundsPerBurst=3, roundsPerBurst should not be higher than roundsPerSec. Data type: uint8
roundsPerSec
How fast the CANNON fires. Example:roundsPerSec=3.0, Data type: float
chargeMaxTime
Requires the CHARGING feature. The time it takes for a weapon to get to maximum charge. If no range is defined, the default value is … Read more
turretSpeed
Requires the TURRET feature on either a CANNON or LASER block. The rate at which a turret weapon can turn. If no range is defined, … Read more
meleeDamage
Requires the MELEE feature. The multiplier for calculating melee damage. If no value is defined, the default value is 5. Example:meleeDamage=5.0, Data type: float
MELEE
The block damages non-friendly blocks upon collision. Adjusted via meleeDamage.
explodeRadius
Requires the EXPLODE feature. The radius of the explosion. If no value is defined, the default value is 30. Example:explodeRadius=30.0, explodeRadius is also used for … Read more
explodeDamage
Needs the EXPLODE feature. The damage done to the explodeRadius. If no value is defined, the default value is 51. Example:explodeDamage=51.0, Data type: float