Difference between revisions of "Template:Ranged Weapon Comparison"

From RimWorld Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
|height=150
 
|height=150
 
|type=line
 
|type=line
|colors = {{{color|blue, green, black, gray, red, purple}}}
 
 
|xAxisTitle=Range
 
|xAxisTitle=Range
 
|yAxisTitle=DPS
 
|yAxisTitle=DPS
Line 25: Line 24:
 
|y7={{#if:{{{7|}}}|{{Ranged Weapon Comparison/datapoints|name={{{7}}}|bandolier={{{bandolier|}}} }} }}
 
|y7={{#if:{{{7|}}}|{{Ranged Weapon Comparison/datapoints|name={{{7}}}|bandolier={{{bandolier|}}} }} }}
 
|y7Title={{{7|}}}
 
|y7Title={{{7|}}}
 +
|y8={{#if:{{{8|}}}|{{Ranged Weapon Comparison/datapoints|name={{{8}}}|bandolier={{{bandolier|}}} }} }}
 +
|y8Title={{{8|}}}
 
}}</includeonly><noinclude>{{Documentation wanted}}
 
}}</includeonly><noinclude>{{Documentation wanted}}
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 03:59, 24 December 2024

</includeonly>

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

Creates a line graph that compares the average damage output of multiple ranged weapons at various ranges

Parameters

  • The first to eighth parameters are the weapons to include in the graph.
  • shooterAccuracy (optional) is the accuracy of the shooter. Default is 98%.
  • accuracyFactor (optional) is the accuracy factor of the ranged weapon determined by quality.
  • damageFactor (optional) is the damage and AP factor of the ranged weapon determined by quality.
  • bandolier (optional) can be specified to simulate heavy bandolier usage. Can be empty or 1.
  • bandolier1 to bandolier8 (optional) can be used to override the overall bandolier flag.
  • triggerhappy (optional) can be specified to simulate trigger happy trait. Can be empty or 1.

Examples

{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle}}

{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|bandolier=1}}

{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|damageFactor=1.5|accuracyFactor=1.5|bandolier=1}}

{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Heavy SMG|Chain shotgun|bandolier3=1|bandolier4=1}}