Difference between revisions of "Template:Weapon Iterated DPS Chart/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "Creates a graph showing the optimum DPS that a ranged weapon is capable of at each range, assuming perfect Pawn accuracy. The dimensions and display are standardized...")
 
Line 17: Line 17:
 
it would produce:
 
it would produce:
 
{{Weapon Iterated DPS Chart|minigun|Legendary}}
 
{{Weapon Iterated DPS Chart|minigun|Legendary}}
 +
 +
The third parameter, if present, allows the [[Shooting Accuracy]] of the shooter to be chosen, expressed as a value from 0 to 1. It can be used with or without first and second parameter. The template will display the chart for the chosen weapon, quality and shooting accuracy. For example, if the following was used on the [[Charge rifle]] page
 +
<nowiki>{{Weapon Iterated DPS Chart|||0.95}}</nowiki>
 +
it would produce:
 +
{{Weapon Iterated DPS Chart|Charge rifle||0.95}}

Revision as of 13:23, 6 February 2021

Creates a graph showing the optimum DPS that a ranged weapon is capable of at each range, assuming perfect Pawn accuracy. The dimensions and display are standardized to offer ease of comparison.

Usage

Without parameters, the template will display the chart for the current PAGENAME, assuming normal quality. For example, if the following was used on the assault rifle page:

{{Weapon Iterated DPS Chart}}

it would produce:

The first parameter, if present, allows the weapon to be chosen if it is not used on the page of the weapon in question. The template will display the chart for the chosen weapon, assuming normal quality. For example, if the following was used on any page:

{{Weapon Iterated DPS Chart|Sniper rifle}}

it would produce:

The second parameter, if present, allows the quality of the weapon to be chosen. It can be used with or without first parameter. The template will display the chart for the chosen weapon and quality. For example, if the following was used on the minigun page

{{Weapon Iterated DPS Chart||Legendary}}

it would produce:

The third parameter, if present, allows the Shooting Accuracy of the shooter to be chosen, expressed as a value from 0 to 1. It can be used with or without first and second parameter. The template will display the chart for the chosen weapon, quality and shooting accuracy. For example, if the following was used on the Charge rifle page

{{Weapon Iterated DPS Chart|||0.95}}

it would produce: