Difference between revisions of "Template:Ranged Weapon Comparison"

From RimWorld Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|type=line
 
|type=line
 
|xAxisTitle=Range
 
|xAxisTitle=Range
|yAxisTitle=Single-target DPS at {{%|{{{shooterAccuracy|0.98}}}}} shooter's accuracy
+
|yAxisTitle=DPS at {{%|{{{shooterAccuracy|0.98}}}}} shooter's accuracy
 
|xAxisMin=0
 
|xAxisMin=0
 
|yAxisMin=0
 
|yAxisMin=0
Line 11: Line 11:
 
|x=2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44
 
|x=2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44
  
|y1={{Ranged Weapon Comparison/datapoints|name={{{1}}}|bandolier={{{bandolier1|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}} }}
+
|y1={{Ranged Weapon Comparison/datapoints|name={{{1}}}|bandolier={{{bandolier1|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}}|armor={{{armor|0}}} }}
 
|y1Title={{{1}}}
 
|y1Title={{{1}}}
  
|y2={{#if:{{{2|}}}|{{Ranged Weapon Comparison/datapoints|name={{{2}}}|bandolier={{{bandolier2|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}} }} }}
+
|y2={{#if:{{{2|}}}|{{Ranged Weapon Comparison/datapoints|name={{{2}}}|bandolier={{{bandolier2|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}}|armor={{{armor|0}}} }} }}
 
|y2Title={{{2|}}} {{#if:{{{bandolier2|}}}|with bandolier}}
 
|y2Title={{{2|}}} {{#if:{{{bandolier2|}}}|with bandolier}}
|y3={{#if:{{{3|}}}|{{Ranged Weapon Comparison/datapoints|name={{{3}}}|bandolier={{{bandolier3|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}} }} }}
+
|y3={{#if:{{{3|}}}|{{Ranged Weapon Comparison/datapoints|name={{{3}}}|bandolier={{{bandolier3|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}}|armor={{{armor|0}}} }} }}
 
|y3Title={{{3|}}} {{#if:{{{bandolier3|}}}|with bandolier}}
 
|y3Title={{{3|}}} {{#if:{{{bandolier3|}}}|with bandolier}}
|y4={{#if:{{{4|}}}|{{Ranged Weapon Comparison/datapoints|name={{{4}}}|bandolier={{{bandolier4|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}} }} }}
+
|y4={{#if:{{{4|}}}|{{Ranged Weapon Comparison/datapoints|name={{{4}}}|bandolier={{{bandolier4|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}}|armor={{{armor|0}}} }} }}
 
|y4Title={{{4|}}} {{#if:{{{bandolier4|}}}|with bandolier}}
 
|y4Title={{{4|}}} {{#if:{{{bandolier4|}}}|with bandolier}}
|y5={{#if:{{{5|}}}|{{Ranged Weapon Comparison/datapoints|name={{{5}}}|bandolier={{{bandolier5|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}} }} }}
+
|y5={{#if:{{{5|}}}|{{Ranged Weapon Comparison/datapoints|name={{{5}}}|bandolier={{{bandolier5|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}}|armor={{{armor|0}}} }} }}
 
|y5Title={{{5|}}} {{#if:{{{bandolier5|}}}|with bandolier}}
 
|y5Title={{{5|}}} {{#if:{{{bandolier5|}}}|with bandolier}}
|y6={{#if:{{{6|}}}|{{Ranged Weapon Comparison/datapoints|name={{{6}}}|bandolier={{{bandolier6|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}} }} }}
+
|y6={{#if:{{{6|}}}|{{Ranged Weapon Comparison/datapoints|name={{{6}}}|bandolier={{{bandolier6|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}}|armor={{{armor|0}}} }} }}
 
|y6Title={{{6|}}} {{#if:{{{bandolier6|}}}|with bandolier}}
 
|y6Title={{{6|}}} {{#if:{{{bandolier6|}}}|with bandolier}}
|y7={{#if:{{{7|}}}|{{Ranged Weapon Comparison/datapoints|name={{{7}}}|bandolier={{{bandolier7|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}} }} }}
+
|y7={{#if:{{{7|}}}|{{Ranged Weapon Comparison/datapoints|name={{{7}}}|bandolier={{{bandolier7|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}}|armor={{{armor|0}}} }} }}
 
|y7Title={{{7|}}} {{#if:{{{bandolier7|}}}|with bandolier}}
 
|y7Title={{{7|}}} {{#if:{{{bandolier7|}}}|with bandolier}}
|y8={{#if:{{{8|}}}|{{Ranged Weapon Comparison/datapoints|name={{{8}}}|bandolier={{{bandolier8|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}} }} }}
+
|y8={{#if:{{{8|}}}|{{Ranged Weapon Comparison/datapoints|name={{{8}}}|bandolier={{{bandolier8|{{{bandolier|}}}}}}|triggerhappy={{{triggerhappy|}}}|accuracyFactor={{{accuracyFactor|1}}}|damageFactor={{{damageFactor|1}}}|shooterAccuracy={{{shooterAccuracy|0.98}}}|armor={{{armor|0}}} }} }}
 
|y8Title={{{8|}}} {{#if:{{{bandolier8|}}}|with bandolier}}
 
|y8Title={{{8|}}} {{#if:{{{bandolier8|}}}|with bandolier}}
 
}}</includeonly><noinclude>{{Documentation wanted}}
 
}}</includeonly><noinclude>{{Documentation wanted}}
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 10:12, 25 December 2024

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[edit]

  • 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}}