Avorion Script API Documentation

TorpedoTemplate

function TorpedoTemplate()

This is the default constructor of TorpedoTemplate. No further arguments are required.

Returns

A new instance of TorpedoTemplate

property float acceleration
property string bodyClass
property DamageType damageType
property float damageVelocityFactor
property float durability
property bool energyDrain
property float explosionRadius
property float explosionSize
property float flashDuration
property float flashSize
property Color headColor
property float hullDamage
property string icon
property float maxVelocity
property string name
property int numShockwaves
property string prefix
property Rarity rarity
property float reach
property bool shieldAndHullDamage
property float shieldDamage
property bool shieldDeactivation
property bool shieldPenetration
property Color shockwaveColor
property float shockwaveDuration
property float shockwaveSize
property float size
property double storageEnergyDrain
property Color stripeColor
property int stripes
property int tech
property float turningSpeed
property int type
property int visualSeed
property string warheadClass
Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7