Difference between revisions of "Template:Ranged Weapon Comparison/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "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 i...")
 
 
Line 12: Line 12:
 
<!--The following line is generated by substitution: {{subst:Template:Documentation/Example Lines|{{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}}}}-->
 
<!--The following line is generated by substitution: {{subst:Template:Documentation/Example Lines|{{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}}}}-->
 
<h2>Examples</h2><pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle}}</pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle}}<br/><pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|bandolier=1}}</pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|bandolier=1}}<br/><pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|damageFactor=1.5|accuracyFactor=1.5|bandolier=1}}</pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|damageFactor=1.5|accuracyFactor=1.5|bandolier=1}}<br/><pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Heavy SMG|Chain shotgun|bandolier3=1|bandolier4=1}}</pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Heavy SMG|Chain shotgun|bandolier3=1|bandolier4=1}}
 
<h2>Examples</h2><pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle}}</pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle}}<br/><pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|bandolier=1}}</pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|bandolier=1}}<br/><pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|damageFactor=1.5|accuracyFactor=1.5|bandolier=1}}</pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Charge rifle|damageFactor=1.5|accuracyFactor=1.5|bandolier=1}}<br/><pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Heavy SMG|Chain shotgun|bandolier3=1|bandolier4=1}}</pre>{{Ranged Weapon Comparison|Heavy SMG|Chain shotgun|Heavy SMG|Chain shotgun|bandolier3=1|bandolier4=1}}
 +
 +
<includeonly>[[Category:Graph templates]]</includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 11:30, 1 March 2025

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