Template:Weapon: Difference between revisions

From MCM Combat Operations
Jump to: navigation, search
No edit summary
No edit summary
 
(193 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div style="float: right">
<div style="float: right">
{| class="infobox" style=" width: 20em; text-align: left; font-size: 90%;" cellspacing="2" align=right
{| class="infobox" style=" width: 257.8px; text-align: left; font-size: 90%;" cellspacing="2" align=right
|-
|+ style="font-size: 110%; background: inherit;" align="center" colspan="2" | '''Mech Weapon'''
| style="font-size: 110%;" align="center" colspan="2" | '''Mech Weapon'''
! class="header" align="center" colspan="2" | '''{{{name}}}'''
|-
| style="background: #DEDDE2; font-size: 110%;" align="center" colspan="2" | '''{{{name}}}'''
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} style= "font-size: 100%;" colspan="2" {{!}} {{{image}}}}}
{{!}} style= "font-size: 100%;" colspan="2" {{!}} {{{image}}}}}
|-  
|-  
!Type || {{{type}}}
|-
|-
! style="line-height:1.2em" |Type
!Damage Type || {{{damagetype}}}
| style="line-height:1.2em" | {{{type}}}
|-
|-
! style="background: #eaeaea; line-height:1.2em" |Heat
| style="background: #eaeaea; line-height:1.2em" | {{{heat}}}
|-
|-
! style="line-height:1.2em" |Ammo
| style="line-height:1.2em" | {{{ammo}}}
|-
|-
|-
! style="background: #eaeaea; line-height:1.2em" |Rate of Fire
!Heat || {{{heat}}}
| style="background: #eaeaea; line-height:1.2em" | {{{rate}}}s per shot
|-
|-
|-
! style="line-height:1.2em" |Projectiles Per Shot
!Ammo || {{{ammo}}}
| style="line-height:1.2em" | {{{projectiles}}}
|-
|-
|-
! style="background: #eaeaea; line-height:1.2em" |Damage
!Refire Delay|| {{{rate}}} Second(s)
| style="background: #eaeaea; line-height:1.2em" | {{{damage}}}
|-
|-
! Firing Delay || {{#expr: ({{#expr: {{{projectiles|0}}} }}) * 0.1 }} Second(s)
|-
|-
! style="line-height:1.2em" |Range
! Rate of Fire || {{#expr: {{{rate|0}}} + ({{{projectiles|0}}} * 0.1) }}s cycle
| style="line-height:1.2em" | {{{range}}}m
|-
|-
|-
! style="background: #eaeaea; line-height:1.2em" |Hard-mount
!Burst Length || {{{projectiles}}}
| style="background: #eaeaea; line-height:1.2em" | {{#if: {{{Hard}}} | {{{hard}}} | none}}
|-
|-
!Damage Instances || {{{damageprojectile|1}}}
|-
|-
! style="line-height:1.2em" |Included with
!Damage || {{{damage}}}
| style="line-height:1.2em" | {{{included}}}
|-
|-
|-
! style="background: #eaeaea; line-height:1.2em" |Mount Points
{{#ifexpr:{{{splashdamage|0}}}!=0|
| style="background: #eaeaea; line-height:1.2em" | {{{mount}}}
{{!}}-
! Splash Damage {{!}}{{!}} {{{splashdamage}}}
}}
|-
|-
{{#switch: {{{trigger}}}
  | semi = !Trigger Type {{!}}{{!}} Semi-Automatic
  |loco = !Trigger Type {{!}}{{!}} Locomotion
  | auto = !Trigger Type {{!}}{{!}} Automatic
  | lockon = !Trigger Type {{!}}{{!}} Lock-On
  | seeking = !Trigger Type {{!}}{{!}} Auto Acquisition Seeking
  | wire = !Trigger Type {{!}}{{!}} Wire Guided
  | detonate = !Trigger Type {{!}}{{!}} Manual Detonation
  |arty = !Trigger Type {{!}}{{!}} Artillery
  |fuse =!Trigger Type {{!}}{{!}} Timed Fuse
  | charge = !Trigger Type {{!}}{{!}} Charge
  {{!}}-
  !Charge Time {{!}}{{!}} {{{chargetime}}}s
  | vcharge =  !Max Charge Damage {{!}}{{!}} {{{chargedamage}}}
{{!}}-
  !Trigger Type {{!}}{{!}} Variable Charge
  {{!}}-
  !Charge Levels {{!}}{{!}} {{{chargelevels}}}
  {{!}}-
  !Max Charge Time {{!}}{{!}} {{{chargetime}}}s
|-
|-
! style="line-height:1.2em" |Cost
}}
| style="line-height:1.2em" | {{{cost}}}
|-
|-
|-
! style="background: #eaeaea; line-height:1.2em" |Damage per Second
{{#switch: {{{table_type}}}
| style="background: #eaeaea; line-height:1.2em" | {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{rate}}}|R}} round2 }}  
    | projectile = !Range {{!}}{{!}} {{{range}}}m
                    {{!}}-
                    !Projectile Velocity {{!}}{{!}} {{{velocity}}}m/s
    | laser = !Range {{!}}{{!}} {{{range}}}
              {{!}}-
              !Beam Duration {{!}}{{!}} {{{timetolive}}}
    | melee = !Range {{!}}{{!}} {{{range}}}m
}}
|-
|-
{{#switch: {{{AOE}}}
  | splash = !Splash {{!}}{{!}} {{{aoe}}}m
  | arty = !100% Splash {{!}}{{!}} {{{range1}}}m
          {{!}}-
          !75% Splash {{!}}{{!}} {{{range2}}}m
          {{!}}-
          !50% Splash {{!}}{{!}} {{{range3}}}m
          {{!}}-
          !25% Splash {{!}}{{!}} {{{range4}}}m
}}
|-
|-
! style="line-height:1.2em" |Heat per Second
!Hard-mount || {{#if: {{{hard}}} | {{{hard}}} | none}}
| style="line-height:1.2em" | {{#expr:{{formatnum:{{{heat}}}|R}}/{{formatnum:{{{rate}}}|R}} round2 }}
|-
|-
!Included with || {{{included}}}
|-
|-
! style="background: #eaeaea; line-height:1.2em" |Damage per Heat
!Mount Points || {{{mount}}}
| style="background: #eaeaea; line-height:1.2em" | {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{heat}}}|R}} round2 }}
|-
|-
!Cost || {{{cost}}}
|-
|-
! style="line-height:1.2em" |Damage per Cost
!Approximate Damage per Second ||
| style="line-height:1.2em" |{{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
{{#expr:
({{{projectiles|0}}} * {{{damageprojectile|1}}} * {{{damage|0}}})
/
({{{rate|1}}} + ({{{projectiles|0}}} * 0.1))
round 2
}}
|-
|-
!Heat per Second ||
{{#expr:
{{{heat|0}}}
/
({{{rate|1}}} + ({{{projectiles|0}}} * 0.1))
round 2
}}
|-
|-
! style="background: #eaeaea; line-height:1.2em" |DPS per Cost
!Damage per Heat ||
| style="background: #eaeaea; line-height:1.2em" | {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{rate}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
{{#ifeq: {{{heat|0}}} | 0
| ---
| {{#expr:
    ({{{projectiles|0}}} * {{{damageprojectile|1}}} * {{{damage|0}}})
    /
    {{{heat}}}
    round 2
  }}
}}
|-
|-
!Damage per Cost ||
{{#expr:
({{{projectiles|0}}} * {{{damageprojectile|1}}} * {{{damage|0}}})
/
{{{cost|1}}}
round 2
}}
|-
|-
! style="line-height:1.2em"  |Creator
!DPS per Cost ||
| style="line-height:1.2em" | {{{creator}}}  
{{#expr:
(
  ({{{projectiles|0}}} * {{{damageprojectile|1}}} * {{{damage|0}}})
  /
  ({{{rate|1}}} + ({{{projectiles|0}}} * 0.1))
)
/
{{{cost|1}}}
round 2
}}
 
|}
|}
</div>
</div>
[[Category:Weaponry]]
<includeonly>[[Category:Weaponry]]</includeonly>
[[Category:{Tech}]]
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 02:18, 2 March 2026

-
Mech Weapon
{{{name}}}
Type {{{type}}}
Damage Type {{{damagetype}}}
Heat {{{heat}}}
Ammo {{{ammo}}}
Refire Delay {{{rate}}} Second(s)
Firing Delay 0 Second(s)
Rate of Fire 0s cycle
Burst Length {{{projectiles}}}
Damage Instances 1
Damage {{{damage}}}
Hard-mount {{{hard}}}
Included with {{{included}}}
Mount Points {{{mount}}}
Cost {{{cost}}}
Approximate Damage per Second

0

Heat per Second

0

Damage per Heat

---

Damage per Cost

0

DPS per Cost

0