Difference between revisions of "Template:Ranged Weapon Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
m
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#vardefine: name         | {{{?weaponName|Heavy SMG}}}
+
<includeonly>{{#vardefine: name | {{{?Name}}}
}}{{#vardefine: DPS         | {{Q| {{#var:name}} | Maximum DPS}}
+
}}{{#vardefine: DPS | {{Q| {{#var:name}} | Maximum DPS}}
}}<noinclude>
+
}}{{#vardefine: range  | {{Q|{{#var:name}}|Range}}
 +
}}
 +
<noinclude>{{#vardefine: name  | heavy SMG}}{{#vardefine: DPS | {{Q| {{#var:name}} | Maximum DPS}}}}{{#vardefine: range  | {{Q|{{#var:name}}|Range}}}}
 
{| {{STDT|sortable c_06 text-center}}
 
{| {{STDT|sortable c_06 text-center}}
! colspan='2'|Name !! Damage !! Warm-Up<br/>(ticks*) !! Cooldown<br/>(ticks*) !! Range<br/>(tiles) !! Burst Count !! Burst (ticks*) !! Bullet Speed !! Accuracy<br/>(Touch) !! Accuracy<br/>(Short) !! Accuracy<br/>(Medium) !! Accuracy<br/>(Long)  !! Miss Radius !! Blast Radius !! DPS<br/>(Optimal) !! DPS<br/>(Touch) !! DPS<br/>(Short) !! DPS<br/>(Medium) !! DPS<br/>(Long) !! Value {{icon|silver|}}
+
! colspan='2'|Name !! Damage !! AP !! Stopping Power !! Warm-Up<br/>(ticks*) !! Cooldown<br/>(ticks*) !! Range<br/>(tiles) !! Burst Count !! Burst (ticks*) !! Bullet Speed !! Accuracy<br/>(Touch) !! Accuracy<br/>(Short) !! Accuracy<br/>(Medium) !! Accuracy<br/>(Long)  !! Miss Radius !! Blast Radius !! DPS<br/>(Optimal) !! DPS<br/>(Touch) !! DPS<br/>(Short) !! DPS<br/>(Medium) !! DPS<br/>(Long) !! Value {{Icon Small|silver|}}
 
</noinclude>
 
</noinclude>
 
|-
 
|-
 
! {{Icon Small|{{#var:name}}}}
 
! {{Icon Small|{{#var:name}}}}
! style='text-align: left !important; width: 10em' | [[{{#var:name}}]]
+
! style='text-align: left !important; width: 10em' | {{DLC Icons|{{#var:name}}}}
 
| {{Q| {{#var:name}} | Damage Base| ? }}
 
| {{Q| {{#var:name}} | Damage Base| ? }}
 +
| {{Q| {{#var:name}} | Armor Penetration| - }}
 +
| {{Q| {{#var:name}} | Stopping Power| - }}
 
| {{Q| {{#var:name}} | Aiming Time Base| ? }}
 
| {{Q| {{#var:name}} | Aiming Time Base| ? }}
 
| {{Q| {{#var:name}} | Ranged Cooldown Base| - }}
 
| {{Q| {{#var:name}} | Ranged Cooldown Base| - }}
Line 23: Line 27:
 
| {{#var:DPS}}
 
| {{#var:DPS}}
 
{{#if:{{Q| {{#var:name}} | Accuracy (Touch) Base}}|
 
{{#if:{{Q| {{#var:name}} | Accuracy (Touch) Base}}|
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
+
{{#switch: 1
 +
| {{#expr:{{#var:range}}<3}}  = {{!}} <p style=color:red>{{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}</p>
 +
{{!}} -
 +
{{!}} -
 +
{{!}} -
 +
| {{#expr:{{#var:range}}<12}} = {{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
 +
{{!}} <p style=color:red>{{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}</p>
 +
{{!}} -
 +
{{!}} -
 +
| {{#expr:{{#var:range}}<25}} = {{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}
 +
{{!}} <p style=color:red>{{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}/100*{{#var:DPS}} }}</p>
 +
{{!}} -
 +
| {{#expr:{{#var:range}}<40}} = {{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
 
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}
 
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}
 
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}/100*{{#var:DPS}} }}
 
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}/100*{{#var:DPS}} }}
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Long) Base}}/100*{{#var:DPS}} }} |
+
{{!}} <p style=color:red>{{#expr:{{Q| {{#var:name}} | Accuracy (Long) Base}}/100*{{#var:DPS}} }}</p>
{{!}}{{!}} - {{!}}{{!}} - {{!}}{{!}} - {{!}}{{!}} -  
+
| #default = {{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}/100*{{#var:DPS}} }}
 +
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Long) Base}}/100*{{#var:DPS}} }}
 +
}}
 +
|{{!}}{{!}} - {{!}}{{!}} - {{!}}{{!}} - {{!}}{{!}} -  
 
}}
 
}}
| {{Q| {{#var:name}} | Market Value|?}}<noinclude>|}</noinclude>
+
| {{Q| {{#var:name}} | Market Value Base|?}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 06:02, 24 November 2024

Documentation icon Template documentation[view] [edit] [history] [purge]

Generates the row for the table on the Weapons page to allow for the comparison of normal quality ranged weapons.

Name Damage AP Stopping Power Warm-Up
(ticks)[A]
Cooldown
(ticks)[A]
Range
(tiles)
Burst Count Burst (ticks)[A] Bullet Speed Accuracy
(Touch)
Accuracy
(Short)
Accuracy
(Medium)
Accuracy
(Long)
Miss Radius Blast Radius DPS
(Optimal)[B]
DPS
(Touch)[B]
DPS
(Short)[B]
DPS
(Medium)[B]
DPS
(Long)[B]
Value Silver
Assault rifle Assault rifle 11 16 0.5 60 102 30.9 3 10 70 60% 70% 65% 55% - - 10.88 6.528 7.616 7.072

5.984

480
Autopistol Autopistol 10 15 0.5 18 60 25.9 1 - 55 80% 70% 40% 30% - - 7.69 6.152 5.383 3.076

2.307

139
Bolt-action rifle Bolt-action rifle 18 27 1.5 102 90 36.9 1 - 70 65% 80% 90% 80% - - 5.63 3.6595 4.504 5.067

4.504

255
Chain shotgun Chain shotgun 18 14 3 72 81 12.9 3 10 55 57% 64% 55% 45% - - 18.73 10.6761 11.9872

10.3015

- 405
Charge lance Charge lance 30 45 1.5 102 162 29.9 1 - 120 65% 85% 85% 75% - - 6.82 4.433 5.797 5.797

5.115

1,355
Charge rifle Charge rifle 15 35 0.5 60 120 25.9 3 12 70 55% 64% 55% 45% - - 13.24 7.282 8.4736 7.282

5.958

1,010
Doomsday rocket launcher Doomsday rocket launcher 50 10 0.5 270 270 36 1 - 50 -% -% -% -% 1.9 7.8 5.56 - - - - 1,000
EMP grenades EMP grenades 50 - - 90 160 12.9 1 - 12 -% -% -% -% 1.9 3.5 12 - - - - 315
EMP launcher EMP launcher 50 0 - 210 210 23.9 1 - 40 -% -% -% -% 1.9 1.1 7.14 - - - - 505
Frag grenades Frag grenades 50 10 0.5 90 160 12.9 1 - 12 -% -% -% -% 1.9 1.9 12 - - - - 265
Greatbow Greatbow 17 15 1.5 120 90 29.9 1 - 49 65% 85% 75% 50% - - 4.86 3.159 4.131 3.645

2.43

104
Heavy SMG Heavy SMG 12 18 0.5 54 99 22.9 3 11 48 85% 65% 35% 20% - - 12.34 10.489 8.021

4.319

- 355
Incendiary launcher Incendiary launcher 10 0 - 210 210 23.9 1 - 40 -% -% -% -% 1.9 1.1 1.43 - - - - 340
LMG LMG 11 16 1 108 108 25.9 6 7 46 40% 48% 35% 26% - - 15.78 6.312 7.5744 5.523

4.1028

425
Machine pistol Machine pistol 6 9 0.5 30 54 19.9 3 7 55 90% 65% 35% 15% - - 11.02 9.918 7.163

3.857

- 220
Minigun Minigun 10 15 0.5 150 138 30.9 25 5 70 15% 25% 25% 18% - - 36.76 5.514 9.19 9.19

6.6168

1,160
Molotov cocktails Molotov cocktails 10 - - 90 160 12.9 1 - 12 -% -% -% -% 1.9 1.1 2.4 - - - - 245
Pila Pila 25 10 2.5 240 240 18.9 1 - 26 50% 71% 50% 32% - - 3.13 1.565 2.2223

1.565

- 109
Pump shotgun Pump shotgun 18 14 3 54 75 15.9 1 - 55 80% 87% 77% 64% - - 8.37 6.696 7.2819

6.4449

- 255
Recurve bow Recurve bow 14 21 1 87 99 25.9 1 - 56 70% 78% 65% 35% - - 4.52 3.164 3.5256 2.938

1.582

66
Revolver Revolver 12 18 1 18 96 25.9 1 - 55 80% 75% 45% 35% - - 6.32 5.056 4.74 2.844

2.212

135
Short bow Short bow 11 16 0.5 81 99 22.9 1 - 44 75% 65% 45% 25% - - 3.67 2.7525 2.3855

1.6515

- 45
Smoke launcher Smoke launcher 0 - - 210 210 23.9 1 - 40 -% -% -% -% 1.9 2.4 - - - - 380
Sniper rifle Sniper rifle 25 38 1.5 210 138 44.9 1 - 100 50% 70% 86% 88% - - 4.31 2.155 3.017 3.7066 3.7928 530
Triple rocket launcher Triple rocket launcher 50 10 0.5 270 270 36 3 20 50 -% -% -% -% 2.9 3.9 15.52 - - - - 1,000
Hellcat rifle Hellcat rifle Content added by the Anomaly DLC 10 15 0.5 66 102 26.9 3 10 70 60% 70% 65% 55% - - 9.57 5.742 6.699 6.2205

5.2635

480
Nerve spiker Nerve spiker Content added by the Anomaly DLC 11 16 0.5 87 99 29.9 1 - 44 70% 78% 65% 35% - - 3.55 2.485 2.769 2.3075

1.2425

62
Tactical turret gun Tactical turret gun Content added by the Anomaly DLC 12 18 0.5 0 288 19.9 2 8 70 77% 70% 45% 24% - - 4.86 3.7422 3.402

2.187

- ?
Flamebow Flamebow Content added by the Biotech DLC 6 9 0.5 81 99 22.9 1 - 44 75% 65% 45% 25% - - 2 1.5 1.3

0.9

- 45
Grenadier armor Grenadier armor Content added by the Royalty DLC 50 10 0.5 90 60 12.9 1 - 16 -% -% -% -% 1.9 1.9 20 - - - - 2,305

Values shown in Red indicate the weapon is out of range at the reference point for this range band. The value is provided due to the interpolated nature of accuracy between range points.

^A At normal game speed, there are 60 ticks to one real world second. See: Time.
^B This DPS assumes a single target - weapons with a blast radius may have higher effective DPS by virtue of hitting multiple targets.