Prototype/SpiderVehicle: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(1.0.0)
 
(chain_shooting_cooldown_modifier, torso_rotation_speed, height description)
Line 17: Line 17:


{{Prototype property|height|[[Types/float|float]]}}
{{Prototype property|height|[[Types/float|float]]}}
The height of the spider affects the shooting height and the drawing of the graphics and lights.


{{Prototype property|chunk_exploration_radius|[[Types/uint32|uint32]]}}
{{Prototype property|chunk_exploration_radius|[[Types/uint32|uint32]]}}
Line 25: Line 26:


{{Prototype property|chain_shooting_cooldown_modifier|[[Types/float|float]]}}
{{Prototype property|chain_shooting_cooldown_modifier|[[Types/float|float]]}}
This is applied whenever the spider shoots (manual and automatic), <code>automatic_weapon_cycling</code> is true and the next gun in line (which is then selected) has ammo.<br>
When all of the above is the case, the chain_shooting_cooldown_modifier is a multiplier on the remaining shooting cooldown: <code><nowiki>cooldown = (remaining_cooldown × chain_shooting_cooldown_modifier)</nowiki></code>. 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 ==
== Optional properties ==


{{Prototype property|torso_rotation_speed|[[Types/float|float]]|1|optional=true}}
{{Prototype property|torso_rotation_speed|[[Types/float|float]]|1|optional=true}}
The orientation of the torso of the spider affects the shooting direction and the drawing of the graphics and lights.


{{Prototype property|guns|[[Types/table|table]] of [[Types/string|string]]s of prototype names|optional=true}}
{{Prototype property|guns|[[Types/table|table]] of [[Types/string|string]]s of prototype names|optional=true}}
The guns this spider vehicle uses.
The guns this spider vehicle uses.

Revision as of 08:48, 24 August 2020

Template:Prototype parent The spidertron.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/Vehicle.

Template:Prototype property Must be a burner energy source when using "burner", otherwise it can also be a void energy source.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property The height of the spider affects the shooting height and the drawing of the graphics and lights.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property This is applied whenever the spider shoots (manual and automatic), 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

Template:Prototype property The orientation of the torso of the spider affects the shooting direction and the drawing of the graphics and lights.

Template:Prototype property The guns this spider vehicle uses.