Weapons

From RimWorld Wiki
Jump to navigation Jump to search
Basics Menus Game Creation Gameplay Pawns Plants Resources Gear Mods
Gear Menu Weapons Apparel Clothing Armor Utility

Weapons preview.png

Weapons are used by colonists and raiders alike to fight each other (and sometimes to put down enraged animals). Weapons have several characteristics that make them useful in different combat situations. They currently do not consume any ammunition, but instead take time to aim and additional cooldown time for subsequent shots.

If left exposed with no roof, a weapon on the ground will deteriorate until it disintegrates without a trace. Weapons stored in a shelf will not deteriorate, even if left outside.

Weapons of quality Excellent or higher have an engraving that can be read by clicking the Art tab from the inspect pane.

Ranged weapons

Range weapons consist mostly of firearms, as well as other non-gunpowder weapons like bows and throwing spears, and also the advanced charge rifle and incendiary launcher. A ranged weapon's accuracy and damage are also affected by its quality level.

The ranges are measured in tiles and correspond to:

  • Touch = 3
  • Short = 12
  • Medium = 25
  • Long = 40

Between those ranges, accuracy stats are 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 15.9 and acc. stats 80-87-77-64, will never fire out at a range of 25 tiles, yet the medium range accuracy stat does still bear relevance to its accuracy at 13-15 cells; you can think of its accuracy stats as 80-87-(77)-(n/a) instead.

DPS (Optimal) refers to the theoretical DPS if every single shot were to hit the target. DPS for the various ranges takes into account the weapon's accuracy at the start of the defined range.

Some ranged weapons fire in bursts with each shot having individual hit chances. Cooldown starts once all shots in a burst are fired.

Ranged weapons also can't fire in melee range unless the target is downed or not immediately hostile to the player's faction.

Stats listed in the table below are for weapons that are of normal quality; better/worse quality will raise/lower the % to hit as appropriate.

Name Damage AP Stopping Power Warm-Up
(ticks)[A]
Cooldown
(ticks)[A]
Range
(tiles)
Burst Count Burst (ticks)[A] Bullet Speed Accuracy
(Touch)
Accuracy
(Short)
Accuracy
(Medium)
Accuracy
(Long)
Miss Radius Blast Radius DPS
(Optimal)[B]
DPS
(Touch)[B]
DPS
(Short)[B]
DPS
(Medium)[B]
DPS
(Long)[B]
Value Silver
Assault rifle Assault rifle 11 16 0.5 60 102 30.9 3 10 70 60% 70% 65% 55% - - 10.88 6.528 7.616 7.072

5.984

480
Autopistol Autopistol 10 15 0.5 18 60 25.9 1 - 55 80% 70% 40% 30% - - 7.69 6.152 5.383 3.076

2.307

139
Bolt-action rifle Bolt-action rifle 18 27 1.5 102 90 36.9 1 - 70 65% 80% 90% 80% - - 5.63 3.6595 4.504 5.067

4.504

255
Chain shotgun Chain shotgun 18 14 3 72 81 12.9 3 10 55 57% 64% 55% 45% - - 18.73 10.6761 11.9872

10.3015

- 405
Charge lance Charge lance 30 45 1.5 102 162 29.9 1 - 120 65% 85% 85% 75% - - 6.82 4.433 5.797 5.797

5.115

1,355
Charge rifle Charge rifle 15 35 0.5 60 120 25.9 3 12 70 55% 64% 55% 45% - - 13.24 7.282 8.4736 7.282

5.958

1,010
Doomsday rocket launcher Doomsday rocket launcher 50 - 0.5 270 270 36 1 - 50 - - - - 1.9 7.8 5.56 - - - - 1,000
EMP grenades EMP grenades 50 - - 90 160 12.9 1 - 12 - - - - 1.9 3.5 12 - - - - 315
EMP launcher EMP launcher 50 - - 210 210 23.9 1 - 40 - - - - 1.9 1.1 7.14 - - - - 505
Frag grenades Frag grenades 50 - - 90 160 12.9 1 - 12 - - - - 1.9 1.9 12 - - - - 265
Greatbow Greatbow 17 15 1.5 120 90 29.9 1 - 49 65% 85% 75% 50% - - 4.86 3.159 4.131 3.645

2.43

104
Heavy SMG Heavy SMG 12 18 0.5 54 99 22.9 3 11 48 85% 65% 35% 20% - - 12.34 10.489 8.021

4.319

- 355
Incendiary launcher Incendiary launcher 10 0 - 210 210 23.9 1 - 40 - - - - 1.9 1.1 1.43 - - - - 340
LMG LMG 11 16 1 108 108 25.9 6 7 46 40% 48% 35% 26% - - 15.78 6.312 7.5744 5.523

4.1028

425
Machine pistol Machine pistol 6 9 0.5 30 54 19.9 3 7 55 90% 65% 35% 15% - - 11.02 9.918 7.163

3.857

- 220
Minigun Minigun 10 15 0.5 150 138 30.9 25 5 70 15% 25% 25% 18% - - 36.76 5.514 9.19 9.19

6.6168

1,160
Molotov cocktails Molotov cocktails 10 - - 90 160 12.9 1 - 12 - - - - 1.9 1.1 2.4 - - - - 245
Pila Pila 25 10 2.5 240 240 18.9 1 - 26 50% 71% 50% 32% - - 3.13 1.565 2.2223

1.565

- 109
Pump shotgun Pump shotgun 18 14 3 54 75 15.9 1 - 55 80% 87% 77% 64% - - 8.37 6.696 7.2819

6.4449

- 255
Recurve bow Recurve bow 14 21 1 87 99 25.9 1 - 56 70% 78% 65% 35% - - 4.52 3.164 3.5256 2.938

1.582

66
Revolver Revolver 12 18 1 18 96 25.9 1 - 55 80% 75% 45% 35% - - 6.32 5.056 4.74 2.844

2.212

135
Short bow Short bow 11 16 0.5 81 99 22.9 1 - 44 75% 65% 45% 25% - - 3.67 2.7525 2.3855

1.6515

- 45
Smoke launcher Smoke launcher 0 - - 210 210 23.9 1 - 40 - - - - 1.9 2.4 - - - - 380
Sniper rifle Sniper rifle 25 38 1.5 210 138 44.9 1 - 100 50% 70% 86% 88% - - 4.31 2.155 3.017 3.7066 3.7928 530
Triple rocket launcher Triple rocket launcher 50 - - 270 270 36 3 20 50 - - - - 2.9 3.9 15.52 - - - - 1,000
^A At normal game speed, there are 60 ticks to one real world second. See: Time.
^B This DPS assumes a single target - weapons with a blast radius may have higher effective DPS by virtue of hitting multiple targets.

Quality modifiers

Quality Accuracy Modifier Base Damage Modifier Armor Penetration Modifier
Awful 0.80 0.90 0.90
Poor 0.90 1.00 1.00
Normal 1.00 1.00 1.00
Good 1.10 1.00 1.00
Excellent 1.20 1.00 1.00
Masterwork 1.35 1.25 1.25
Legendary 1.50 1.50 1.50

Accuracy

Ranged weapon accuracy follows the following equation:

Accuracy = (Shooting AccuracyRange × Weapon Accuracy × Weather × Smoke × Cover) + Combat in Darkness

Where:

  • Shooting Accuracy: Is the stat of the shooting pawn.
  • Range: Is the distance in tiles between the shooter and the target.
  • Weapon Accuracy: Is the weapon accuracy of the weapon at that range. If it is not one of the listed values at 3, 12, 25, or 40 tiles, it is linearly interpolated between the nearest point above and the nearest point below the current range.
  • Weather: Is the accuracy modifier for a given weather ranging from 50% for Fog, to 100% on a clear day.
  • Smoke: If smoke occupies any tile directly between the shooter and target, it applies a 30% modifier (otherwise 100%).
  • Cover: Cover modifier for the target, based on cover objects and shooting angle.
  • Combat in Darkness Preferred PreceptContent added by the Ideology DLC: Up to +25%/-20% ranged accuracy & +10%/-10% melee accuracy in darkness/brightly lit environments, respectively. Only if the Preferred Precept is held by the shooter, otherwise 0%.

Related to accuracy, there are also friendly fire mechanics that prevent misses from hitting nearby allies within a certain radius.

Stopping power

Stopping power is the ability of ranged weapons to cause stagger when hitting a target, slowing them down for a short[How short?] period. The size of the number relates directly to the body size of the pawn that can be staggered by the weapon - thus, to stagger humans a stopping power of 1 or higher is required while to stagger an elephant a stopping power of 4 would be needed.

A typical ranged weapon has a stopping power of 0.5, however the following weapons have higher stopping powers: Bolt-action rifle, Chain shotgun, Charge lance, Greatbow, LMG, Needle gun, Pila, Pump shotgun, Recurve bow, Revolver, Sniper rifle, Thump cannon.

Of these, only the following are sufficient to stagger a human: Bolt-action rifle, Chain shotgun, Charge lance, Greatbow, LMG, Needle gun, Pila, Pump shotgun, Recurve bow, Revolver, Sniper rifle, Thump cannon.

Unobtainable weapons

These weapons are equipped by either mechanoids or by turrets and cannot be obtained independent from their regular users without the use of dev mode. They include: the autocannon, the heavy charge blaster, the inferno cannon, the turret form of the inferno cannon, the light charge blaster, the mini-slugger, the mini-turret gun, the needle gun, and the uranium slug cannon. When a normal pawn equips a debug-spawned weapon and then drops it, the weapon will disappear.

Melee weapons

These are touch-range weapons. Besides dedicated melee weapons, all ranged weapons can also be used as makeshift melee weapons.

The exact damage of a melee weapon is based on its quality level, with a low quality weapon dealing less damage and a high quality weapon dealing more.

Note that melee accuracy is determined by a colonist's melee skill and further modified by health stats of manipulation and sight, as well as the opponent's dodge chance.

Weapons of quality Excellent or higher have an engraving that can be read by clicking the Art tab from the inspect pane.

Base melee stats

The following stats are for weapons that are of normal quality and made out of steel (the baseline material). Other materials may do more or less average damage per second (DPS), as will better/worse qualities.

Name Awful DPS Poor DPS Normal DPS Good DPS Excellent DPS Masterwork DPS Legendary DPS Average cooldown Damage type [A] Average AP Value Silver
Unarmed human - - 4.1 - - - - 2 s Blunt 12%
Archotech arm Archotech arm [B] - - 7 - - - - 2 s Blunt 21% 2,800
Axe Axe Content added by the Royalty DLC 5.4 6.08 6.75 7.43 8.1 9.79 11.14 2 s Sharp 32.59% 120
Beer Beer [B] - - 4.5 - - - - 2 s Blunt 13% 12
Bionic arm Bionic arm [B] - - 6 - - - - 2 s Blunt 18% 1,030
Breach axe Breach axe 5.04 5.67 6.3 6.93 7.56 9.14 10.4 1.55 s Blunt 18.98% 113
Club Club [C] - - 6.38 - - - - 2 s Blunt 19% 80
Drill arm Drill arm Content added by the Royalty DLC [B] - - 6.5 - - - - 2 s Sharp 20% 425
Elbow blade Elbow blade Content added by the Royalty DLC [B] - - 9 - - - - 2 s Sharp 27% 355
Elephant tusk Elephant tusk [B] - - 6.49 - - - - 2.47 s Sharp 23.5% 80
Eltex staff Eltex staff Content added by the Royalty DLC [E] 3.69 4.15 4.62 5.08 5.54 6.69 7.62 2.6 s Blunt 29.7% 2,000
Field hand Field hand Content added by the Royalty DLC [B] - - 4.5 - - - - 2 s Blunt 13% 425
Gladius Gladius 5.7 6.41 7.13 7.84 8.55 10.33 11.76 2 s Sharp 35.06% 138
Hand talon Hand talon Content added by the Royalty DLC [B] - - 10 - - - - 1.5 s Blunt 15% 355
Ikwa Ikwa 5.4 6.08 6.75 7.43 8.1 9.79 11.14 2 s Sharp 32.59% 113
Jade knife Jade knife [D] 4.66 5.25 5.83 6.41 6.99 8.45 9.62 2.36 s Sharp 30.47% 159
Knee spike Knee spike Content added by the Royalty DLC [B] - - 8.46 - - - - 2.6 s Sharp 38% 355
Knife Knife 5.78 6.51 7.23 7.95 8.68 10.48 11.93 1.79 s Sharp 29.08% 64
Longsword Longsword 6.37 7.16 7.96 8.76 9.55 11.54 13.13 2.5 s Sharp 47.44% 255
Mace Mace 5.61 6.31 7.01 7.71 8.42 10.17 11.57 2 s Blunt 35.06% 117
Monosword Monosword Content added by the Royalty DLC [E] 9.16 10.3 11.45 12.59 13.74 16.6 18.89 1.95 s Sharp 118.8% 2,000
Persona monosword Persona monosword Content added by the Royalty DLC [E] 11.63 13.08 14.53 15.98 17.44 24.47 27.84 1.6 s Sharp 148.5% 3,000
Persona plasmasword Persona plasmasword Content added by the Royalty DLC [E] 8.53 9.59 10.66 11.72 12.79 15.45 17.59 1.92 s Sharp + Burn 50.74% 3,000
Persona zeushammer Persona zeushammer Content added by the Royalty DLC [E] 10.54 11.85 13.17 14.49 15.8 19.1 21.73 2 s Blunt + EMP 66% 3,000
Plasmasword Plasmasword Content added by the Royalty DLC [E] [F] 6.12 6.89 7.65 8.42 9.18 11.1 12.63 2.46 s Sharp + Burn 47.03% 2,000
Power claw Power claw [B] - - 11 - - - - 2 s Blunt 33% 385
Prosthetic arm Prosthetic arm [B] - - 4.1 - - - - 2 s Blunt 12% 260
Spear Spear 6.31 7.1 7.88 8.67 9.46 11.43 13.01 2.6 s Sharp 70.13% 186
Thrumbo horn Thrumbo horn [B] - - 9.49 - - - - 2.51 s Sharp 34.88% 800
Venom fangs Venom fangs Content added by the Royalty DLC [B] - - 7.5 - - - - 2 s Blunt 22% 355
Venom talon Venom talon Content added by the Royalty DLC [B] - - 7.33 - - - - 1.5 s Blunt 15% 355
Warhammer Warhammer Content added by the Royalty DLC 5.46 6.14 6.83 7.51 8.19 9.9 11.26 2.6 s Blunt 43.73% 350
Wood Wood [B] - - 5 - - - - 2 s Blunt 15% 1.2
Zeushammer Zeushammer Content added by the Royalty DLC [E] 7.85 8.84 9.82 10.8 11.78 14.24 16.2 2.64 s Blunt + EMP 66% 2,000
A All sharp melee weapons come also with (weak) blunt attacks.
B Material cannot be changed for these. They also do not come in varying quality levels. The average DPS is always the final value and no formulas are needed for them.
C These do not come in varying quality levels.
D A jade knife can only be obtained via the Lost tribe scenario; they cannot be crafted nor purchased.
E These weapons cannot be created by the player, they are able to be obtained through quests and purchasing them from Merchants. All but the Eltex staff come in "persona" variants that cannot be wielded by anyone other than the bonded pawn unless it has the "freewielder" trait, so make sure you choose a good pawn to use them.
F These weapons also have a 75% chance to set a pawn on fire. This damage is included in the DPS.

Material / Quality modifiers

Material Cooldown speed factor Damage factor (Blunt) DPS factor (Blunt) Damage factor (Sharp) DPS factor (Sharp) Max HP factor
Sandstone 1.30 1.00 0.77 0.50 0.38 1.4
Granite 1.30 1.00 0.77 0.65 0.50 1.7
Limestone 1.30 1.00 0.77 0.60 0.46 1.55
Slate 1.30 1.00 0.77 0.60 0.46 1.3
Marble 1.30 1.00 0.77 0.60 0.46 1.2
Silver 1.00 1.00 1.00 0.85 0.85 0.7
Gold 1.00 1.00 1.00 0.75 0.75 0.6
Steel 1.00 1.00 1.00 1.00 1.00 1.0
Plasteel 0.80 0.90 1.13 1.10 1.38 2.8
Wood 1.00 0.90 0.90 0.45 0.45 0.65
Uranium 1.10 1.50 1.36 1.10 1.00 2.5
Jade 1.30 1.50 1.15 1.00 0.77 0.5
Quality Base Damage Modifier
Awful 0.80
Poor 0.90
Normal 1.00
Good 1.10
Excellent 1.20
Masterwork 1.45
Legendary 1.65

Do note that stone blocks can only be used with clubs.

Melee formulas

General formulas

Damage for any melee weapon is Base Damage x Material Modifier x Quality Modifier

Cooldown is calculated as Weapon melee cooldown / Material melee cooldown

DPS (damage per second) is calculated as Damage / Cooldown. Note that you must use Cooldown (seconds) to get DPS, otherwise if you use Cooldown (Ticks) you'll calculate DPT (Damage Per Tick) which you probably don't want.

AP (armor piercing) defaults to 0.015 x Damage if no value is specified

Chance Factor defaults to 1 if no value is specified

Listed DPS on weapons

The DPS listed on the info tab for weapons is deceiving as it is no longer used when a pawn equips the item (see below). Regardless this is how it is computed based on the melee attack options the weapon has:

  1. For each attack option compute the Selection Weight = Damage x Damage
  2. For each attack option compute the Selection Chance = Selection Weight / SumOfAll(Selection Weights)
  3. Compute the Average Damage = SumOfAll(Damage x Selection Chance)
  4. Compute the Average Cooldown = SumOfAll(Cooldown x Selection Chance)
  5. Compute the Average DPS = Average Damage / Average Cooldown

Note that this is mathematically incorrect (see below for more details). Below is an example with a Normal Persona Zeus Hammer:

Attack Damage Cooldown Selection Weight Selection Chance
head 31 2.2 961 81%
handle 15 1.6 225 19%

Average Damage = 31 x 81% + 15 x 19% = 27.965

Average Cooldown = 2.2 x 81% + 1.6 x 19% = 2.086

Average DPS = 27.965 / 2.086 = 13.40

You can find more of these values in Dev mode >> Logging Menu >> Tools. There are also values listed for pawns and these are computed the same as above except that in step 1 you also multiply by 0.3 and the Chance Factor if one is specified. Note that just like the item values these are not actually used in the game anymore (see below).

Listed DPS on pawns

This is a system used since version 1.1.2610 and it is based on a category system. It is based on the attack options available however now we take both the options from the weapon as well as the options from the pawn (eg. fists) into account:

  1. For each attack option compute the Initial Selection Weight = Damage x (1 + AP) x Chance Factor / Cooldown
  2. For each attack option determine the Category based on the highest weight value we just computed:
    • Best if Initial Selection Weight >= 0.95 x MAX(Initial Selection Weight)
    • Worst if Initial Selection Weight < 0.25 x MAX(Initial Selection Weight)
    • Mid Otherwise
  3. For each attack option compute the Final Selection Weight based on the categories:
    • 0.75 / NumberOfOptionsIn(Best) if the option is in the Best category
    • 0.25 / NumberOfOptionsIn(Mid) if the option is in the Mid category
    • 0.0 if the option is in the Worst category
  4. For each attack option compute the Selection Chance = Final Selection Weight / SumOfAll(Final Selection Weights)
  5. Compute the Average Damage = SumOfAll(Damage x Selection Chance)
  6. Compute the Average Cooldown = SumOfAll(Cooldown x Selection Chance)
  7. Compute the Average DPS = Average Damage / Average Cooldown

Below is an example with a pawn carrying a Normal Persona Zeus Hammer (note that AP is not specified and therefore is defined as Damage x 0.015):

Attack Damage Cooldown Armor Piercing Chance Factor Initial Selection Weight Category Final Selection Weight Selection Chance
head 31 2.2 20.64 Best 0.75 75.0%
handle 15 1.6 11.48 Mid 0.125 12.5%
left fist (archotech arm) 14 2 8.47 Mid 0.125 12.5%
right fist 8.2 2 4.60 Worst 0.00 0.0%
teeth 8.2 2 0.07 0.32 Worst 0.00 0.0%
head 5 2 0.2 0.54 Worst 0.00 0.0%

Average Damage = 31 x 75% + 15 x 12.5% + 14 x 12.5% = 26.875

Average Cooldown = 2.2 x 75% + 1.6 x 12.5% + 2 x 12.5% = 2.100

Average DPS = 26.875 / 2.100 = 12.80

Note that in this case upgrading the left arm actually decreased the average DPS (from 13.17 to 12.80) by moving an inferior attack option from Worst to Mid.

There is a peculiarity in the description above as it seems that the AccuracyTouch properties of ranged weapons is not used. This may be a bug as it seems intended that it should have been used.

Biocoding

Any weapons carried by non-colonists can arrive on the map "biocoded", meaning that weapon is only usable by the specific pawn that the weapon is biocoded to. Biocoding on weapons cannot be changed or erased, but pawns recruited as colonists will still be able to use weapons biocoded to them. These weapons are occasionally found on raiders, guests and other pawns, and cannot be sold. They can be smelted and have a specific option in both the bill menu and in stockpiles to allow their sorting.

Version history

  • 0.0.245 - Shooting accuracy split into into misses due to equipment and misses due to skill.
  • 0.0.250 - Melee attacks incap more than guns and explosives. N.b. That this change may or may not be represented in the current version. It was only added in this previous version.
  • 0.8.657 - Melee weapons have a quality. Can now craft any kind of melee weapon from appropriate materials.
  • 0.9.722 - High-quality weapons have art engraved into them. All weapons now have quality levels, including guns and bows. Quality affects accuracy.
  • 1.1.0 - Biocoding added