RimWorld

RimWorld

Animal Gear
Owlchemist 13 Aug, 2021 @ 4:03pm
NPC animals wearing armor
One thing I was looking into was making it so that NPC-spawned animals (mainly coming in from caravans, but possibly also from Giddy Ups battle mounted animals, where raiders can ride animals) may spawn with equipment.

I played around and tested with this a bit but couldn't get it working. If it's already possible, might you have any insight on this?
< >
Showing 1-6 of 6 comments
Dylan  [developer] 14 Aug, 2021 @ 2:22am 
I think most of the functions just check for "animal of the colony" to save performance, I can have a look at it, it would likely be possible to have an option for it. (I should be able to update the mod tomorrow)
Dylan  [developer] 16 Aug, 2021 @ 1:02pm 
I have just updated the base-mod:

Version 1.3.1.0 (Changes only for Rimworld 1.3+)

- New debug-option for development of gear: 'Gear Info With Textures' shows the expected texture paths for worn gear
- Change: Gear now works for all factions, not only the player-faction, which should enable visitor/attacker animals wearing them when configured to do so.
- Change: Gear now looks for '*_east' instead of '*_north' when finding texture-sets


I tested it with the 'force-wear' debug option (that now also works for them) and it looked good so far for the visitors etc.
Dylan  [developer] 17 Aug, 2021 @ 4:30am 
I am not sure if more is needed to make generating them together with the animal possible, I will have to look more into it or let me know if you have tested it and know more (I could imagine there to be an issue with timing it so they actually have gear or could even have gear generated)
Owlchemist 17 Aug, 2021 @ 4:40am 
Haven't had a chance to sit down and dig into it just yet today, but a quick test dev-spawning caravans didn't show their critters wearing anything. I'll probably need to edit the pawnkindDefs a bit or something.
Owlchemist 18 Aug, 2021 @ 8:03pm 
So I played around with this a bit earlier, but didn't have much luck with it. I think the main catch is whether or not caravan spawned animals are even using the pawnkindDef, or if they're just bypassing that and doing their own thing.
Dylan  [developer] 20 Aug, 2021 @ 1:23pm 
do you have some easy xml which should trigger them to have gear (so I can see if it is an issue with AG) or is it a general issue

Worst case we could add another tag so that it triggers a check in AG to at least look up if they should spawn with something on our end
Last edited by Dylan; 20 Aug, 2021 @ 1:23pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50