RimWorld

RimWorld

31 ratings
Bandolier Over Anything
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
21.629 KB
7 Jul, 2024 @ 3:16pm
11 Jul @ 3:56pm
8 Change Notes ( view )

Subscribe to download
Bandolier Over Anything

Description
Since there was no mod that would work that way, I added new layer so the Heavy Bandolier item can be worn over, well, anything else, without adding new items/recipes.

Update:
On request I also added three more layers for other apparel items.
I also added compatilibity with Eltex Cape from Vanilla Expanded Psycasts so it will fit on Cape layer from my mod.

Together this mod adds/changes:
Sash layer - for Sash, Slave strap and Heavy Bandolier items
Cape layer - for Cape item
Vest layer - for royal clothing that required middle layer (vest, eltex vest, corset)
It also tweaks Gunlink item layer to EyeCover as of new update so it can be worn like Blindfold.
Popular Discussions View All (3)
0
7 Dec, 2024 @ 1:54pm
Extra Layers
Shadowling09
44 Comments
Shadowling09  [author] 14 Jun @ 4:34am 
Aight I did a quick test and it does works indeed. Thank you for helping with this @Nishe and I appreciate offer, if I'll get back to modding I will keep that in mind!
Nishe 14 Jun @ 12:13am 
If you do what I suggested that fixes it. The "EyeCover" layer is actually not used by any helmets in the game (they do cover the "Eyes" body part, but that's a separate thing to using the "EyeCover" layer). That layer is only used for the blindfold from Ideology.

It does seem to conflict with the blindfold, which is weird because they cover different BodyPartGroups, but that's the only thing it conflicts with, and textures work perfectly. You can wear it with all helmets, I've already tested it in game.

Btw if you want any help/advice on writing the patches/xpath and stuff I'm happy to help, I have a decent amount of experience with it.
Shadowling09  [author] 13 Jun @ 4:40pm 
On another note, I didn't even expected this mod to go this far lol, it caught attention enough to even get a rating, which is surprising since there's someone who made new one that works similar.
Shadowling09  [author] 13 Jun @ 4:38pm 
Hey, thank you for some insight on that, it does makes sense at least from what I remember in error code but yes, I still have no idea either on how to fix it and using existing layer will collide with helmets that cover whole face too (maybe even all of them, didn't looked into it) so it won't change any behavior.
When it comes to my way of patching things, I spent A LOT of time figuring out how <xpath> thing works and I'm really struggling till now lol, it seems I figured out it worked that way easier for me, I'm not really experienced in these stuff much.
Nishe 5 Jun @ 6:56am 
Hey @Shadowling09, after a couple hours of stuffing around I figured out what's causing the gunlink texture problem. Rimworld seems to be hardcoded to set certain layers as head apparel and others as body apparel.

It only assumes the vanilla head layers to be head apparel, and any newly added layers are assumed to be body apparel, which means it then expects textures for all the different body types, which it doesn't have because headwear doesn't have different textures for different bodies.

There doesn't seem to be an obvious way to specify in XML that a new layer is a head layer.

One workaround is to use the vanilla "EyeCover" layer instead of creating a custom one. That will put it on a separate layer to helmets. Achieves the desired effect and textures will still work.

Also, you don't need to use `PatchOperationReplace` on the whole apparel node. You can just use `PatchOperationAdd` to add that one field as a child node of the apparel node.
Shadowling09  [author] 14 Mar @ 11:45am 
Glad there's still some use to mine then lol
SuwinTzi 13 Mar @ 3:34pm 
So the Apparels mod puts the Heavy Bandolier on the Cape layers, together with the Duster. Guess I'm using this mod instead XD
SuwinTzi 10 Mar @ 9:31am 
Okay, thank you for the response.
Shadowling09  [author] 9 Mar @ 3:01am 
As far as I can see it's the same thing, it wasn't there when I made mine so didn't checked it.
SuwinTzi 8 Mar @ 3:13pm 
Hello, does your mod do the same thing or different from "Layers: Capes over Armor"?