Launchers
Below is an example launcher that fires a missile that does nothing and dies after 2 seconds.
{ 17000
features=PALETTE|LAUNCHER
shape=RECT_LAUNCHER
replicateBlock={
shape=MISSILE
lifetime=2
}
replicateTime=1
launcherPower=100
launcherOutSpeed=100
launcherAngVel=0
}
Launchables (what launchers fire) should not have IDs or a group
value.
Because launchers generate a fully customisable block, they can be very diverse.
The rest of this chapter will contain the most common launcher variants.
Mine Layer
Mines have the EXPLODE
feature.
replicateBlock={
features=EXPLODE
shape=HEPTAGON
lifetime=20
explodeDamage=100
explodeRadius=100
}
Torpedo Launcher
Torpedoes have the EXPLODE
and THRUSTER
features.
replicateBlock={
features=EXPLODE|THRUSTER
shape=MISSILE
lifetime=8
explodeDamage=100
explodeRadius=100
thrusterForce=3000
thrusterColor=0xFFFFFFFF
thrusterColor1=0xFFFFFFFF
}
Missile Launcher
Missiles have the COMMAND
, EXPLODE
, THRUSTER
, and TORQUER
features.
replicateBlock={
features=COMMAND|EXPLODE|THRUSTER|TORQUER
shape=MISSILE
lifetime=8
explodeDamage=100
explodeRadius=100
thrusterForce=3000
thrusterColor=0xFFFFFFFF
thrusterColor1=0xFFFFFFFF
torquerTorque=10000
}
Drone Launcher
Drones have the COMMAND
, NOCLIP_ALLY
, FREERES
, THRUSTER
, TORQUER
, GENERATOR
, either CANNON
or LASER
, and usually TURRET
features.
Cannon Drone
replicateBlock={
features=COMMAND|NOCLIP_ALLY|FREERES|THRUSTER|TORQUER|GENERATOR|CANNON|TURRET
shape=DISH_MISSILE
scale=3
lifetime=30
thrusterForce=3000
thrusterColor=0xFFFFFFFF
thrusterColor1=0xFFFFFFFF
torquerTorque=10000
turretSpeed=4
cannon={
damage=20
roundsPerSec=5
muzzleVel=500
range=500
power=1
spread=0.1
color=0xFFFFFFFF
}
powerCapacity=100
generatorCapacityPerSec=100
}
Laser Drone
replicateBlock={
features=COMMAND|NOCLIP_ALLY|FREERES|THRUSTER|TORQUER|GENERATOR|LASER|TURRET
shape=DISH_MISSILE
scale=3
lifetime=30
thrusterForce=3000
thrusterColor=0xFFFFFFFF
thrusterColor1=0xFFFFFFFF
torquerTorque=10000
turretSpeed=4
laser={
damage=20
range=500
power=2
width=2
color=0xFFFFFFFF
decay=0.05
}
powerCapacity=100
generatorCapacityPerSec=100
}
Launcher Drone Launcher
It is very possible to create drones that fire launchables. Below is an example for a drone that fires drones; a mothership drone?
{ 17000
group=98
features=PALETTE|LAUNCHER
shape=RECT_LAUNCHER1
replicateBlock={
features=COMMAND|NOCLIP_ALLY|FREERES|THRUSTER|TORQUER|GENERATOR|LAUNCHER
shape=MISSILE_LAUNCHER
scale=3
lifetime=20
density=1
thrusterForce=3000
thrusterColor=0xFFFF0000
thrusterColor1=0x00000001
torquerTorque=10000
replicateBlock={
features=COMMAND|NOCLIP_ALLY|FREERES|THRUSTER|TORQUER|GENERATOR|LASER|TURRET
shape=MISSILE_SHORT
scale=1
lifetime=20
density=1
thrusterForce=3000
thrusterColor=0xFF0000FF
thrusterColor1=0x00000001
torquerTorque=10000
turretSpeed=4
laser={
damage=20
range=500
width=0.5
power=1
decay=0.1
color=0xFFFFFFFF
}
powerCapacity=100
generatorCapacityPerSec=100
}
replicateTime=1
launcherPower=1
launcherOutSpeed=100
launcherAngVel=0
powerCapacity=100
generatorCapacityPerSec=100
}
replicateTime=1
launcherPower=100
launcherOutSpeed=100
launcherAngVel=0
}