Editing Weapons
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 37: | Line 37: | ||
* Long = 40 tiles. | * Long = 40 tiles. | ||
− | Every ranged weapon has an [[#Accuracy|accuracy]] for each range point. Between those ranges, the accuracy of the weapon is linearly interpolated. A weapon will never fire past its range stat, even if it has an accuracy value listed for longer ranges. For example, a pump shotgun, with a maximum range of {{Q|Pump shotgun|Range}} tiles, a Short range accuracy of {{Q|Pump shotgun|Accuracy (Short) Base}}% and a | + | Every ranged weapon has an [[#Accuracy|accuracy]] for each range point. Between those ranges, the accuracy of the weapon is linearly interpolated. A weapon will never fire past its range stat, even if it has an accuracy value listed for longer ranges. For example, a pump shotgun, with a maximum range of {{Q|Pump shotgun|Range}} tiles, a Short range accuracy of {{Q|Pump shotgun|Accuracy (Short) Base}}% and a medium range accuracy of {{Q|Pump shotgun|Accuracy (Medium) Base}}%. It will never fire at a target 25 tiles away, but at a range of 14 tiles, its accuracy will be 2/13 of the way between the short and medium range accuracy values, or {{#expr: {{Q|Pump shotgun|Accuracy (Short) Base}} + ((14-12)*({{Q|Pump shotgun|Accuracy (Medium) Base}}-{{Q|Pump shotgun|Accuracy (Short) Base}}))/(25-12) round 0}}%. |
Ranged weapons wielders cannot fire at targets that are in melee range of themselves, but can target more distant enemies while engaged in melee. Note that NPCs will never target another pawn while engaged in melee. | Ranged weapons wielders cannot fire at targets that are in melee range of themselves, but can target more distant enemies while engaged in melee. Note that NPCs will never target another pawn while engaged in melee. |