RimWorld

RimWorld

401 ratings
Weapon Mastery
2
3
5
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.6
File Size
Posted
Updated
393.764 KB
26 Feb, 2022 @ 5:15pm
26 Oct @ 4:53am
70 Change Notes ( view )

Subscribe to download
Weapon Mastery

Description
Adds a new simple weapon mastery mechanic into the game. Pawns use the same weapon for a decent amount of time, naturally they should start getting better at handling/using said weapon. This mod adds a new hidden skill that levels up as pawns use their weapons (similar to shooting/melee). Pawns will gradually receive some minor randomized bonuses from mastering weapons and will also rename their weapon for sentimental value.

Features
  • Weapon Mastery (Minor stat boosts as weapon is being used)
    • Class weapon mastery system (Turned off by default)
    • Weapon Bond system
      • Pawns will name their weapons (Has a chance to occur when gaining the first mastery level)
      • Mood buff for equipping a mastered weapon and a debuff for losing one (Turned off by default)
    • Pawns generated from events (raids, traders or visitors) will spawn with weapon masteries
    • Bonded weapons level faster (Ideology)
    • Relic weapons give flat additional bonus to ideology believers
  • Highly Configurable

A note about class mastery
The class system is disabled by default because it requires you to assign a class to each modded weapon either through the config menu or writing a patch. The game doesn't know that a modded assault rifle and a vanilla assault rifle are both of the class assault rifle, you have to tell it that. You won't gain any class experience if you're using a weapon with an unknown class. I've already patched vanilla weapons and some of my favorite mods. If you'd like to write a patch so you could share it with everyone, take a look at the mod's patches folder. It should be extremely easy to write for your favorite mods.

Where to find masteries?
There's currently no way to view mastery stats attained except by looking at the weapon's main description window for the weapon bond system and the pawn's info tab for class mastery system.

Suggestions/Bugs?
Let me know in the comments if there's any bugs. I also am open to any suggestions or improvements. I have also setup a Discord server[discord.gg] for direct communications. It should help in issues getting sorted out faster.

Compatibility
  • Works with all modded weapons
  • Doesn't work on stackable weapons (logs, thrumbo horns, etc ...)
  • Works with the following mods: Simple Sidearms, Infinite Reinforce, Dual Wield
  • Doesn't work with the following mods: Upgradable weapons
  • Partially works with the following mods: Rimworld Of Magic (Conflict in weapon names when using super soldier class), Infused 1 and 2 (Conflict in weapon naming)

FAQ

WHAT ABOUT CE?
- I don't play with CE nor do I intend to patch the mod for it.

I NEED INSTALL MID GAME!!
- It should be fine

CAN I ADD A NAME TO THE LIST OF NAMES?
- Sure, but no usernames or anything specific. Send me your name(s) in the comments.

Thanks
- Tynan and the Rimworld team for making a spectacular game that is extremely addicting as well.
- Brrainz (Mod Author of Harmony): Without his library, lots of mods wouldn't be here.
- Charlotte (Mod Author of Infused): I learned a lot by looking at their code. I am extremely thankful for modders sharing their code, I wouldn't be here without them.
- Uuuggg & Aelanna (Mod Authors of many many mods): I got tons of help on discord from both of them. Thank you both!
- Soul: Redesigned the class system and lots of patches for various mods.
- Mlie: For keeping my mod alive while I was dead.
- Sizzlelgs: Provided a whopping 1.7k names file.
- Translations: MZM_GOW (Chinese)

Links
Github[github.com]
Donation[ko-fi.com]
Popular Discussions View All (2)
9
20 Jul @ 8:08am
Error when tucking pawns into bed (Rescue/Arrest)
gravy
3
13 Jun, 2022 @ 9:09am
higher level cap
bobcool0
337 Comments
Sk  [author] 26 Oct @ 4:54am 
@Alexander Zagirov You're right, nice catch! I've updated the mod and fixed the bug.
Alexander Zagirov 23 Oct @ 3:50pm 
@Sk It doesn’t. It works when both bond and class systems are active, but you get double bonuses (obviously). When only class system is active you see bonuses added by levels inside character’s infocard but they do nothing.
Sk  [author] 23 Oct @ 1:18pm 
@Alexander Zagirov I've just tested it and it's working for me. It doesn't work for modded weapons without a patch.
Alexander Zagirov 14 Oct @ 1:14pm 
Class mastery system doesn’t seem to work.
Nameless Keeper 22 Sep @ 4:40am 
Played for two days, along `Rename Your Weapon` (both with turned off automatic renaming) with no issues so far.
Nameless Keeper 15 Sep @ 3:21am 
@Sk Ok; I'm getting home tomorrow and I'm going to check it out.
Sk  [author] 14 Sep @ 10:45pm 
@Nameless Keeper I've updated the mod with a fix that should hope resolve your issue. Try it out and let me know if it works out for you. I can't reliably confirm that it is going to fix your issue since I don't have it in the first place but it's worth a shot.
Nameless Keeper 14 Sep @ 11:51am 
@Sk thanks for the insight! As soon as I can I will check it out.
Sk  [author] 14 Sep @ 11:04am 
@Nameless Keeper Unfortunately, I cannot find this issue from my own testing. It could be a mod conflict or a bug that's really hard to find.

Could you go to the following folder?
C:\Users\YourUser\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Config

There should be a file named Mod_2766683678_WeaponMasteryMod.xml. Open that with notepad or any text editor. There should be a line that has the tag "chancetonameweapon" with a number. If it's not 0 then you haven't updated the settings properly or there's a bug with the settings menu.
Sk  [author] 13 Sep @ 10:03am 
@Nameless Keeper That's probably a bug. I'll fix it and let you know so you can update the mod