Prototype/SpiderVehicle
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/EntityWithHealth » Prototype/EntityWithOwner » Prototype/Vehicle » Prototype/SpiderVehicle
The spidertron.
Mandatory properties
This prototype inherits all the properties from Prototype/Vehicle.
burner or energy_source
Type: EnergySource
Must be a burner energy source when using "burner", otherwise it can also be a void energy source.
inventory_size
Type: ItemStackIndex
graphics_set
Type: SpiderVehicleGraphicsSet
spider_engine
Type: SpiderEnginePrototype
height
Type: float
The height of the spider affects the shooting height and the drawing of the graphics and lights.
chunk_exploration_radius
Type: uint32
movement_energy_consumption
Type: Energy
automatic_weapon_cycling
Type: bool
chain_shooting_cooldown_modifier
Type: float
This is applied whenever the spider shoots (manual and automatic targeting), automatic_weapon_cycling
is true and the next gun in line (which is then selected) has ammo.
When all of the above is the case, the chain_shooting_cooldown_modifier is a multiplier on the remaining shooting cooldown: cooldown = (remaining_cooldown × chain_shooting_cooldown_modifier)
. chain_shooting_cooldown_modifier is intended to be in the range of 0 to 1. This means that setting chain_shooting_cooldown_modifier to 0 reduces the remaining shooting cooldown to 0 while a chain_shooting_cooldown_modifier of 1 does not affect the remaining shooting cooldown at all.
Optional properties
torso_rotation_speed
Type: float
Default: 1
The orientation of the torso of the spider affects the shooting direction and the drawing of the graphics and lights.
torso_bob_speed
Type: float
Default: 1
Cannot be negative.
trash_inventory_size
Type: ItemStackIndex
Default: 0
If set to 0 then the spider will not have a Logistics tab.
guns
Type: table of strings of prototype names
The guns this spider vehicle uses.