RimWorld

RimWorld

1,111 ratings
Weapon Racks
13
2
5
2
6
6
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
1.038 MB
2 Apr, 2022 @ 7:27pm
17 Jul @ 7:30am
12 Change Notes ( view )

Subscribe to download
Weapon Racks

In 1 collection by Aelanna
The Eccentric's Angels [1.4]
148 items
Description
Show off your colony's weapons arsenal with these presentation-oriented storage racks!

Mod Contents

Weapon Racks adds three new stuffable 1x1 tile storage shelves with 2, 3, or 4 slots for storing weapons. They increase the beauty in a room and let you present the stored contents in a variety of aesthetically pleasing configurations:



Mod settings allow you to adjust the size, position, and alignment of individual weapons in different orientations for the perfect presentation!

Mod Compatibility

Weapon Racks for RimWorld v1.6 only requires Harmony as a dependency.

Weapon Racks for RimWorld v1.5 and earlier requires LWM's Deep Storage to function.

Weapon Racks are compatible with Combat Extended, and CE ammo can both be stored in Weapon Racks and visually adjusted in mod settings.

Technical Details

Weapon Racks cancel the rendering of compatible items stored within them and print them to the Items mesh layer themselves using saved layout data.

Preset adjustments for many vanilla weapons are included with this mod. All ammunition from Combat Extended is also preset to 50% draw size. In addition, weapon mod authors can include preset adjustments for their weapons by using the following Def:

<?xml version="1.0" encoding="utf-8" ?> <Defs> <!-- Compatibility Defs for Weapon Racks --> <WeaponRacks.WeaponAdjustmentDef MayRequire="Aelanna.WeaponRacks"> <defName>ExampleDefName</defName> <thingDef>ExampleDefName</thingDef> <sizeFactor>1.0</sizeFactor> <horizontalOffset>0.0</horizontalOffset> <verticalOffset>0.0</verticalOffset> <rotationHorizontal>0</rotationHorizontal> <rotationVertical>0</rotationVertical> </WeaponRacks.WeaponAdjustmentDef> </Defs>

Using a WeaponAdjustmentDef does not require setting Weapon Racks as a dependency; it will be safely ignored if Weapon Racks is not loaded.

Credits & Links

As usual, many thanks to the members of the #mod-development channel on the Rimworld Discord server!

If you enjoy this mod, please check out my other Rimworld mods on Steam Workshop!
286 Comments
Aelanna  [author] 17 Jul @ 10:27pm 
@irrelevantredundancy - I don't know what to tell you other than that Rimpy has been abandoned for well over a year now and it'll continue to get worse as it isn't getting updates. Most people who need an external mod manager have been moving over to RimSort. :\
irrelevantredundancy 17 Jul @ 10:16pm 
I also edited RimPy's database json ( db.json ) locally to remove the dependency, and it's still showing up.
irrelevantredundancy 17 Jul @ 10:00pm 
I am still getting the LWM's Deep Storage requirement when using RimPy in 1.6. Is there a way to change that? I noticed in the about.xml there is no mention of 1.6 section the modDependenciesbyVersion . Which makes sense for obvious reasons, but maybe there is something that can be done there?
Aelanna  [author] 17 Jul @ 7:31am 
@PowerStranger - Definitely unintended, should be fixed in v1.4.4 that just got pushed. Thanks for letting me know!
PowerStranger 17 Jul @ 7:23am 
Don't know if it's a bug or intended but the def for 'WeaponRacks_1Rack' is missing the 'maxItemsInCell' which results in a 3 slot storage even though only 1 is displayed
mylapqn312 17 Jul @ 5:06am 
@Aelanna Ohh alright then, good to know! Thank you for your consistently great support and have fun with Odyssey! ^^
Aelanna  [author] 16 Jul @ 8:22pm 
@mylapqn312 - Yes, it's a known issue! I am looking at it along with some other authors and it may actually be a Unity bug that we just need to work around. Will definitely update as soon as we figure out a solution!
mylapqn312 16 Jul @ 7:09pm 
@Aelanna Works perfectly then, thanks a lot!
While I'm here, I also noticed a minor rendering issue with the mod's options menu (for the weapon adjustment) - the previews render all over the place or even outside the window when the in-game interface scale is not 1x. It seems not to take the scale into account at all. It's not ruining the mod's experience in any way, but if it's an easy fix, I'd appreciate it! :)
Aelanna  [author] 16 Jul @ 3:39pm 
@mylapqn312 - When empty they should have no Beauty, correct! The racks should gain a Beauty value based on the average quality of the weapons stored on it, ranging from -2 for Awful to +5 for Legendary.
mylapqn312 16 Jul @ 3:20pm 
@Aelanna wow, thank you for the quick fix! They don't have a beauty stat at all now, which is probably as intended ^^