Difference between revisions of "Template:Beam weapon"

From FreeSpace Wiki
Jump to: navigation, search
m (floormatting this one a bit)
(Usage: Added my calculations, just in case anyone needs them when they're using this template for new beam articles in the future.)
 
(One intermediate revision by one other user not shown)
Line 52: Line 52:
 
|-
 
|-
 
{{#if: {{{damage_per_pulse|}}}|
 
{{#if: {{{damage_per_pulse|}}}|
{{!}} style="padding-left: 20px" {{!}} '''Damage''' per pulse
+
{{!}} style="padding-left: 20px" {{!}} Damage per pulse
 
{{!}} style="padding-left: 20px" {{!}} {{{damage_per_pulse}}}
 
{{!}} style="padding-left: 20px" {{!}} {{{damage_per_pulse}}}
 
{{!}}
 
{{!}}
Line 80: Line 80:
 
</pre>
 
</pre>
 
Entries in actual page do not have to follow the same order.
 
Entries in actual page do not have to follow the same order.
 +
 +
===Note===
 +
Beam stats are based on multiple values found in the weapons table file and are calculated as follows:
 +
 +
:'''Range''': [+Range value]
 +
:'''Recharge Time''': [$Fire Wait value]
 +
:'''Beam Lifetime''': [+Life value]
 +
:'''Type''': [+Type value], where
 +
::0 = Direct; 1 = Slashing; 2 = Targeting; 3 = Anti fighter; 4 = Fixed
 +
:'''Shots''': [+Shots value]
 +
:'''Damage per second''': [$Damage value] x 5.5
 +
:'''Damage per second (sustained)''': Damage per pulse / Recharge Time
 +
:'''Damage per pulse''': Damage per second x Beam lifetime
  
 
[[Category:Templates|Beam weapon]]
 
[[Category:Templates|Beam weapon]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:08, 9 June 2010

Name {{{name}}}

Additional properties

  • Weapon is a beam cannon (beam)

Usage

{{Beam_weapon
|table_style =
|name = 
|recharge =
|lifetime =
|type =
|shots =
|damage =
|damage_per_s =
|damage_sustained =
|damage_per_pulse =
|huge =
|big_ship =
|same_turret_cooldown =
}}

Entries in actual page do not have to follow the same order.

Note

Beam stats are based on multiple values found in the weapons table file and are calculated as follows:

Range: [+Range value]
Recharge Time: [$Fire Wait value]
Beam Lifetime: [+Life value]
Type: [+Type value], where
0 = Direct; 1 = Slashing; 2 = Targeting; 3 = Anti fighter; 4 = Fixed
Shots: [+Shots value]
Damage per second: [$Damage value] x 5.5
Damage per second (sustained): Damage per pulse / Recharge Time
Damage per pulse: Damage per second x Beam lifetime