CANNON

CANNON defines that the block has a normal bullet-style gun.
A cannon weapon that is not a TURRET must use a shape that has a cannon node to define where it will fire from.

Cannons are defined separately within a block.

Example:
cannon=
{roundsPerSec=4.000,
roundsPerBurst=3,
muzzleVel=1400.000,
spread=0.020,
power=11.000,
damage=30.000,
color=47081,
range=1100.000},

Be aware of the brackets.

Cannons have many attributes at affect how they behave.

power – energy used per bullet
damage – damage per bullet
range – how far the bullet travels
spread – how much the bullets spread out.
color – color of the bullets
explosive – if the bullets explode
muzzleVelocity – how fast the bullets travel.

roundsPerSec – how often the laser fires each second
roundsPerBurst – the bullets fire in a group
burstyness – if the bullets fire in a group, how close together they come out

Also see TURRET and CHARGING