Difference between revisions of "Template:Beam weapon"
From FreeSpace Wiki
m (newline removals) |
(→Usage: Added my calculations, just in case anyone needs them when they're using this template for new beam articles in the future.) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 30: | Line 30: | ||
{{!}} '''Number of shots''' | {{!}} '''Number of shots''' | ||
{{!}} {{{shots}}} | {{!}} {{{shots}}} | ||
+ | {{!}} | ||
+ | }} | ||
+ | |- | ||
+ | {{#if: {{{damage|}}}| | ||
+ | {{!}} '''Damage''' | ||
+ | {{!}} {{{damage}}} | ||
{{!}} | {{!}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{damage_per_s|}}}| | {{#if: {{{damage_per_s|}}}| | ||
− | {{!}} | + | {{!}} style="padding-left: 20px" {{!}} Damage |
− | {{!}} {{{damage_per_s}}} | + | {{!}} style="padding-left: 20px" {{!}} {{{damage_per_s}}} s<sup>-1</sup> |
{{!}} | {{!}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{damage_sustained|}}}| | {{#if: {{{damage_sustained|}}}| | ||
− | {{!}} | + | {{!}} style="padding-left: 20px" {{!}} Damage (sustained) |
− | {{!}} {{{damage_sustained}}} | + | {{!}} style="padding-left: 20px" {{!}} {{{damage_sustained}}} s<sup>-1</sup> |
{{!}} | {{!}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{damage_per_pulse|}}}| | {{#if: {{{damage_per_pulse|}}}| | ||
− | {{!}} | + | {{!}} style="padding-left: 20px" {{!}} Damage per pulse |
− | {{!}} {{{damage_per_pulse}}} | + | {{!}} style="padding-left: 20px" {{!}} {{{damage_per_pulse}}} |
{{!}} | {{!}} | ||
}} | }} | ||
Line 64: | Line 70: | ||
|type = | |type = | ||
|shots = | |shots = | ||
+ | |damage = | ||
|damage_per_s = | |damage_per_s = | ||
|damage_sustained = | |damage_sustained = | ||
Line 73: | 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