Defense platforms have are saved as *.def (defense platform) files.
These closely resemble *.shp (ship files) with only some parts missing since they arenít used.

SHIP MODEL

Name

Path to the platform's assembly (*.asb) file

SHIPBASE

Name

Platform name

Hull

platform's hitpoints

Crew

DEPRECATED

Hangar

set either to 0(false) or 1(true). Hangar parameters are located further down the file

Soak

default soak percentage (1.00 = 100%)

Evasion

DEPRECATED

SHIP EFFECT POINTS

This block is quite simple. It is a list of points set on the platform mesh. The points are used to spawn various particle effects.
The first portion No: is the number of points, and then below it are listed all the points with 3 coordinates X | Y | Z.

SHIP WEAPONS

WeaponsPower

Battery energy. This parameter is the same for all batteries.

WeaponsPowerRefill

Battery energy recharge

WeaponsPowerDownTime

Cooldown before weapon battery starts recharging after spending it completely

WeaponBattery

Each platform can have up to 4 light weapon batteries and those are: Left | Right | Front |Rear.
Their sequence in the *.shp file is THE SAME. Add turrets to each battery, by adding TurretSlot and its set of parameters.
If a platform doesn't have a battery, leave it empty! (WeaponBattery: {})

ShipHeavyWeapons

Each platform can have up to 4 heavy weapon batteries and those are: Left |Right | Front |Rear.
Their sequence in the *.shp file is THE SAME. Each heavy weapon batter can have only ONE launcher with its set of parameters.
If a platform doesn't have a heavy battery, leave it empty! (HeavyWeaponBatter: {})

POWER CORE

Hp

System's hitpoints. When it drops to 0, the system goes offline until repaired.

Firewall

System's resistance to hacking.

Power

Power used by skills.

EnergyRecharge

Rate at which power is gained.

Feedback

If hacking is attempted, power core can have the ability to send a powerful feedback to the hacker ship and damage it.

SENSORS

Hp

System's hitpoints. When it drops to 0, the system goes offline until repaired.

Firewall

System's resistance to hacking.

SensorRadius

Mid-value is 2500. Should NOT exceed 4000!

Detection

Chance to detect cloaked objects. (1.00 = 100%)

GRAPPLER

Hp

System's hitpoints. When it drops to 0, the system goes offline until repaired.

Firewall

System's resistance to hacking.

GrapplerRange

Mid value is 500. Should not exceed 1000!

Overload

Grappler can have a chance to inflict shield damage to grappled object. (1.00 = 100%)

HANGAR

Only works if Hangar is set to 1 in the ShipBase section!

Hp

System's hitpoints. When it drops to 0, the system goes offline until repaired.

Firewall

System's resistance to hacking.

PreLaunch

Time needed for squadron to rearm and repair before going back out.

Fuel

Time available for squadrons to fly before returning to hangar.

EVENTS

OnDestroy

Standard *.sal script used as default OnDestroy script if no override script exists in the sector/world file.

OnTransport

Standard *.sal script used as default OnTransport script if no override script exists in the sector/world file. Script is activated when player initiates transporting onto the platform