RimWorld

RimWorld

Animal Armor [DEPRECATED - see mod page for links to new version]
700 Comments
lobosan 10 Aug, 2021 @ 7:00pm 
thanks @Oh God Spiders No and @Owlchemist !
Oh God Spiders No  [author] 8 Aug, 2021 @ 7:13am 
If I had to pick someone to take over, Owlchemist would have been my first choice! I love your work and am so grateful you decided to take this on. Thank you!
Owlchemist 7 Aug, 2021 @ 3:31pm 
I saw your announcement and, as encouraged, "went nuts". Here's the reboot: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2568865984
Oh God Spiders No  [author] 3 Aug, 2021 @ 6:35am 
I can't really argue with that. It's a bit of a mess. I would love it if someone with more time and motivation took the reins.
NRFBToyStore 2 Aug, 2021 @ 10:03am 
@ec#2718 on Discord Because this originally began with JUST Vanilla animals... then someone created graphics for dinosaurs and sent them to author, so they were added. Instead of making a WHOLE new mod for graphics on a handful of possible creatures, just added to base. As it's all patch and call functions, there is 0 reasons to do an additional mod, as these new additions only work if you have associated mods. ... At least, that's what I gather from reading the description :).
ELLIOTTCABLE on Discord 30 Jul, 2021 @ 10:45pm 
Is there a reason the title for this mod says "Vanilla", but the card says "Dinosaurs?" All the preview-images are also dinosaur-focused; did you perhaps upload everything to the wrong mod by accident? :x
Dylan 25 Jul, 2021 @ 4:56am 
@lianhero & apadilla124us - I will check it out (over on the 'Animal Gear' mod-page)
apadilla124us 24 Jul, 2021 @ 10:38pm 
im having the same issue as @lianhero, elephant wearing plate gets huge
lianhero 24 Jul, 2021 @ 1:32pm 
Err not entirely sure what is happening, but the moment one of my animals starts to wear a piece of armor. In this case a steel animal simple helmet, its size becomes inflated like 4x. When I forbid the armor and they take it off, they return to normal size again. Im not sure whether its this mod or the animal gear framework thats causing this bug. Here's a screenshot:

https://imgur.com/a/qOXIRXq

My Grizzly bear is kinda oversized too, though it looks kinda sick lol:

https://imgur.com/a/horW9bF
Snowcraft 22 Jul, 2021 @ 2:14pm 
Can we get some pictures of actual vanilla animals in animal gear for the preview pictures?
Oh God Spiders No  [author] 16 Jul, 2021 @ 2:52pm 
Same
NoctisTheBogWitch 16 Jul, 2021 @ 7:49am 
You explained how dogs wear pants... but how about centaurs?
Dylan 15 Jul, 2021 @ 1:44pm 
I had a look at the RaceToTheRim dragons and they were missing the usual body-part-groups (like Dinosauria in the past etc.) this can also result in wearing multiple helmets etc. (I just updated the base-mod with a patch that should work in 1.2 and 1.3 at least, for me it made armor values show up for them)
Oh God Spiders No  [author] 15 Jul, 2021 @ 10:51am 
I'd bet it's a Yayo's Combat conflict. I don't know many details about the mod but I do know it does change how armor values are calculated and applied.
Mrwaxy 15 Jul, 2021 @ 9:30am 
Hi my animals are receiving super low armor from the equipment, or none at all in the case of race to the rim dragons.

https://imgur.com/a/7CFhU1r

dragons from race to the rim and a manticore from magical menagerie.

Is this a mod conflict? Not getting any errors about it. My only thoughts could be awesome inventory or yayo's combat
ᛖᛒᛟᚾᚷᛚᛟᛟᛗ 10 Jul, 2021 @ 12:16pm 
I personally would love that actually. After a little testing I found a few various creatures that had little to no weight allowance and so could not wear any armor.
Oh God Spiders No  [author] 10 Jul, 2021 @ 5:12am 
Good catch! I guess I can make it patch all animals with no- or low-carry weight so that they instead have enough to at least equip armor.
ᛖᛒᛟᚾᚷᛚᛟᛟᛗ 9 Jul, 2021 @ 8:48pm 
Finally realized the issue and of course it was a simple thing. Because the blizzarisk and other various creatures don't have a carry weight in the gear tab they can't equip armor.
Dylan 9 Jul, 2021 @ 1:32pm 
There is now a first version of AnimalGear with support for 1.3 (all the basic stuff should work) I had to rework the whole part for rendering with the changes in 1.3, but it seems to be ok for now and it may also have better performance.

@Oh God Spiders No - There is really only the <supportedVersions><li>1.3</li> tag needed in the About.xml for Animal Armor: Vanilla (like with 1.2 thankfully)
ᛖᛒᛟᚾᚷᛚᛟᛟᛗ 8 Jul, 2021 @ 11:03am 
Alrighty I'll take another look. Thanks
Oh God Spiders No  [author] 8 Jul, 2021 @ 6:51am 
It's probably a lowercase/uppercase issue. Filenames are case sensitive.
ᛖᛒᛟᚾᚷᛚᛟᛟᛗ 7 Jul, 2021 @ 1:08pm 
Hey there again. I'm having an issue with some animals not putting armor on. I've followed the above steps to ensure they are set to wear it and have access to it and I checked the files to make sure they were listed as an animal that could wear it. Tried both blizzarisk and animalisk from Alpha Animals mod. Vanilla animals were able to equip armor and I haven't tested any other modded creatures atm.
ᛖᛒᛟᚾᚷᛚᛟᛟᛗ 5 Jul, 2021 @ 5:15pm 
Also of course be that there isn't any for bear and thus why we couldn't find any lol thanks for the help.
ᛖᛒᛟᚾᚷᛚᛟᛟᛗ 5 Jul, 2021 @ 5:13pm 
OK ya I see some that are there. We were looking for the armors for the bear and couldn't find any that weren't blank but it may be we were looking at the wrong bear sets. I'll give it another look through
Oh God Spiders No  [author] 5 Jul, 2021 @ 3:17pm 
Those are blank placeholder images. They are 1x1 black pixels, mostly transparent, designed to be essentially invisible and to not take up too much harddrive space. If you replace them with an actual art asset it should show up in-game with no additional changes to the code.

Your confusion is probably stemming from the fact that "all" of the animals have 1x1 black png files. However, it isn't "all", it's just "the overwhelming majority". For example, here is Thrumbo's clothing [github.com]. Here is rhino power armor [github.com]
ᛖᛒᛟᚾᚷᛚᛟᛟᛗ 5 Jul, 2021 @ 2:33pm 
Sorry about the confusion. The assets downloaded from github were all black and red squares.
Oh God Spiders No  [author] 5 Jul, 2021 @ 1:42pm 
I'm not totally sure what you're asking. Are you saying that the art assets you downloaded from github were black and red squares? Or that when you added your art assets they rendered in-game as black and red squares? Or something else?
ᛖᛒᛟᚾᚷᛚᛟᛟᛗ 5 Jul, 2021 @ 9:21am 
Hey there. I commissioned some art for a couple animals to have armor but my artist and I are running into an issue. We've both downloaded the source and every animal, vanilla or not, just have black and red squares for the armor ones.
chiken 27 Jun, 2021 @ 1:36pm 
Are you currently planning on adding armor for vanilla horses? I can make the horses wear animal gears no problem but there's no graphics at all..
Oh God Spiders No  [author] 27 Jun, 2021 @ 6:57am 
The Dragon's Descent people are working on it. I think it's going to synergize with this mod, but it will have its own separate mod workshop page

It's probably this mod, yea, but you should post that debug log over on the Framework page, since Dylan actually does all the coding stuff. https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=1541438907
SkyLarkBlue 26 Jun, 2021 @ 4:23pm 
I've recently gotten a lot of "Exception Drawing" errors for animals, the only thing they have in common is wearing armor (I think, it's literally spamming my debug log so I can't see all the errors at one). Any way it could be from this mod? It's a doozy for sure. I'll put a copy of some of it in the bugs discussion.
Samael 18 Jun, 2021 @ 7:16pm 
Hey Spiders, Love your work! Any idea when the dragons from Dragon's Descent will be supported?
Mira 17 Jun, 2021 @ 2:37pm 
Thx Spiders!
Oh God Spiders No  [author] 17 Jun, 2021 @ 1:52pm 
Thanks to Godzillamancer I have added partial support for modded animals from these mods:
VFE Insectoids, Race to the Rim, Skaven, Xenos Biologis, Monster Hunter, Forsaken Fauna, Magical Menagerie, Bastyon, Anima Animals + Anima Animal Community Pack, Kenshi, Genetic Rim
Godzillamancer 16 Jun, 2021 @ 7:36pm 
@Dylan Yeah I figured it out, edited a bunch of the bespoke body types into your already existing inis on my end. Now I just need to figure out how to put them in their own files or I could send what I kludged together to you if you want to update the body part groups for all the ones I did it for.

@Oh God Spiders No, I have a whole bunch of files I can send over your way. I actually also did all the Alpha Animals so I wish I'd seen that a few hours ago lol.
Oh God Spiders No  [author] 16 Jun, 2021 @ 1:04pm 
I've added partial support for Alpha Animals. They should now be able to wear armors invisibly. If anyone wants to send me art assets I'll add them.

Also I updated the discussion page on how to contribute art assets with updated instructions on how to add armor graphics. Very easy to do, no coding required whatsoever.
Dylan 16 Jun, 2021 @ 12:01pm 
just to clarify:
'-noTag!' means the animal is not in the list of animals for that armor-item
'-noParts!' means that it is missing body-part-groups (like Dinosauria was before)
Oh God Spiders No  [author] 16 Jun, 2021 @ 11:34am 
Oh also I just realized that Alpha Animals actually were NOT supported. I will have that fixed soon.
Dylan 16 Jun, 2021 @ 11:33am 
@Godzillamancer - It is very likely the same issue as with Dinosauria - most animal mods don't have the body-part groups defined, as the animals normally don't need them

The new 'Force Wear Item'-option can help with this (I added it as a Dev-Tool, if you are in dev-mode and go into the 'debug action menu' in the dev-buttons at the top of the screen and search for it, it will say -noTag! or -noParts! at the end of each item with issues for the clicked animal and if the shield belt has 'Apparel_ShieldBelt-noParts!' the animal is missing the body-group-tags for sure)

You can look at the Dinosauria-Patch in the AnimalGear base-mod ('AnimalGear\1.2\Patches\Dinosauria_Bodies_Animal_Special.xml' they need those group-sections with <li>Neck</li> <li>Torso</li> <li>Waist</li> etc. animals don't have them normally, but the game needs those for clothes and armor values etc.)
Dylan 16 Jun, 2021 @ 11:33am 
@Eddache - I will see if I can identify the empty textures and inform about it on the gear-page (that way one would know if the armor is equiped ok, but just not visible) as far as I can tell most of the Dinosauria ones are plate only currently (maybe it would make sense to just use the one graphic for all if the others are missing as an option, I will look into it with the next update)

@lordneador - As far as I can tell (and I haven't looked into it in a long time) I think it just is a bunch of work to have values for every armor (I will look into what would be needed when I next update the base-mod)
Oh God Spiders No  [author] 16 Jun, 2021 @ 11:11am 
Alpha Animals are already partially supported. They can wear the armor, but there are no art assets so it doesn't change their appearance at all.

I am no longer actively creating new art assets myself, but if someone wants to add art for a particular animal, they can send me the tested, functional assets and I will add them in a timely manner.

To make an asset for, let's say, Alpha Tortoise, you would go to this mod's folder, then open up the subfolder: Textures/Things/Pawn/Animal/Apparel/, and search for all png files that have "AlphaTortoise" in their filename. For instance,

./Textures/Things/Pawn/Animal/Apparel/Body/plate_GR_AlphaTortoise_east.png

Is its plate body armor while facing east. Right now it is an empty transparent png file, but an artist can just replace it with something new and it will work with no additional code changes.

If someone sends me a functional set of png files for a particular armor/animal, I will add them to the mod in a few days.
lordneador 16 Jun, 2021 @ 3:01am 
Is CE compatibility planned? And what about alpha animals? Its so popular, and it would be great to armor those guys up!

definitly a great mod nonetheless!
Oh God Spiders No  [author] 15 Jun, 2021 @ 11:27am 
I re-uploaded the mod, this time without the source and git folders, so it is now much smaller.

It's still larger than one might expect though, because every armor/animal combo has a texture file associated with it. This includes the blank invisible armors, too. They are small 1x1 png files but they still take up room and there are a lot of animals.


(If anyone is curious as to why I included blank png files instead of just coding them as blank, here is why:

I did this mainly so that it would be easier for other players to test and contribute new animal armors. If someone wants to add an armor, all they need to do is find the corresponding armor png file and replace it. No additional changes to xml files are necessary, simply replacing the image file is enough. This way, a contributing artist can drop them in and test immediately without having to learn XML, or needing to go back and forth with me making bugfixes.)
Oh God Spiders No  [author] 12 Jun, 2021 @ 5:12pm 
I might have forgotten to remove the source files the last time I updated it, sorry
ludede 12 Jun, 2021 @ 1:19am 
why is this mod so large?:steamhappy:
Godzillamancer 10 Jun, 2021 @ 11:42am 
I've been making some patches to expanded at least the invisible compatibility with other animal mods but I've run into a weird issue where the animal will equip the armor but it won't apply the armor values. And it only happens with some of the new animals, not all of them. Might this be because of non-standard body types and how would I fix that?

I've so far done the def patches and created the invisible images for animals from the following mods;
Anima Animals
Anima Animals-addon
Alpha Animals
Adeptus Mechanicus: Magos Xenobiologis
Magical Menagerie
Bastyon
Race to the Rim
Forsakens: Fauna
Vanilla Factions Expanded- Insectoids
Kenshi Animals (Frost and Fire)
GeneticRim- Alpha Animals
GeneticRim- Dinosauria
GeneticRim- Megafauna
Warhammer: Skaven
Oh God Spiders No  [author] 10 Jun, 2021 @ 11:18am 
Thanks Dylan!!
Godzillamancer 9 Jun, 2021 @ 7:07pm 
It looks like the Dinosauria update only added visuals for Dinosaurs Plate armor, not power armor. They equip the plate properly and visually.
Eddache 9 Jun, 2021 @ 2:12pm 
I see Dylan has kindly added some patches to get the dino armour working again, but it still isnt working for my T-Rex's power armour. Power Armour does show on my bear. (T-Rex is the only dino I've got at the moment). She'll wear the armour but it doesnt show. Can anyone suggest what mod/patch/action/order I might have missed?
Dylan 24 May, 2021 @ 10:49am 
@Mildnight - It could be similar to Dinosauria, I will at least have a look at it (see the Dinosauria patches in the last 'AnimalGear Base' update if this is indeed the case and you also want to check it out)