Dwarf Fortress

Dwarf Fortress

Military Uniforms
24 Comments
Droseran  [author] 4 Jan @ 3:24pm 
Yes, that is an issue, and currently that cannot be done. Once layered graphics are set by vanilla creature graphics, they're untouchable. The only way to add the layered graphics to this mod would be to duplicate the layered graphics raws and have this mod load before vanilla creatures graphics. The issue with this is that it's a modding race condition - whichever mod wants to add their wearable items has to be the first one to load, and all others are ignored.

For this reason, I've not touched the wearable graphics, and honestly forgot about it while waiting for a modular layered graphics system for modding.
Bebop Cola 4 Jan @ 1:24pm 
Something I just noticed is that the items themselves don't appear on the characters when they're wearing them.

I believe they need to be added to the clothing layering per playable race (Humans, Elves, Dwarves, etc) in the graphics files. I.e.
"Dwarf Fortress\data\vanilla\vanilla_creatures_graphics\graphics"

I've not made the necessary changes in my own game yet, but I expect that's the issue.
Jeza 15 Mar, 2024 @ 5:18am 
EDIT :

Ok no some already exist that I need to modify , and the new uniforms are added.
Jeza 15 Mar, 2024 @ 5:16am 
Ah ok thank you it makes sense now :)
So from my very limited understanding of DF modding I need to copy the content of the entity_military_uniforms in your mod, all those lines that are [ARMOR:ITEM_ARMOR_.....] and paste them in the [ENTITY:MOUNTAIN] section of the entity_default file, did I get that right ?
Droseran  [author] 15 Mar, 2024 @ 4:52am 
Civilization access to these items is determined by those armor tokens in the entity_military_uniforms.txt file.
Droseran  [author] 15 Mar, 2024 @ 4:50am 
Oh, sorry, I'm used to working on my other mods that use custom reactions. I forgot that armor, clothing, and weapons use the vanilla jobs, which are hardcoded. On that note, these should always be available in the clothes workshop, or forge for the metal chain versions.
Jeza 15 Mar, 2024 @ 2:31am 
So I wanted to see if I could edit the world files to add the reactions that are missing but I couldn't find them in your mod files.

In the mod folder there is only one entity file called entity_military_uniforms and it only has [ARMOR:ITEM_ARMOR_.....] lines in it not a single [PERMITTED_REACTION line.

I just redownloaded it 5 min ago and the file I checked comes from the workshop folder 3038927005/objects, there are only these files :
entity_military_uniforms.txt
item_armor.txt
item_gloves.txt
item_helm.txt
item_pants.txt
item_shoes.txt

The only other subfolder is graphics.

There isn't a single line with [PERMITTED_REACTION] in any of the files in the mod's folder so I'm a bit lost ...
Jeza 14 Mar, 2024 @ 6:42am 
Oh I didn't think to say, yes I'm playing a dwarf civ, I also just saw a visitor wearing a uniform hood so they're definitively in the world.
Thank you for your help I'll go check the other mods to try and find the culprit and rearrange the load order.
Droseran  [author] 14 Mar, 2024 @ 4:56am 
If you are playing with the vanilla Dwarf civilization, it sounds like another mod may be altering it and ends up removing the recipes added by this mod. Try making this mod last in the loading list or, if you find which of the mods is cutting the Dwarf entity, place that mod directly after the vanilla mods.

If you are playing a modded civilization, you can copy the [PERMITTED_REACTION: lines from the entity file of this mod into the entity file of your modded civilization to add the recipes.
Jeza 14 Mar, 2024 @ 3:57am 
I don't know what I did wrong, I see the uniform armor pieces in the stockpiles details but when I try to craft them they are nowhere to be found, not in the specific workshops (ex leather workshop I don't find the uniform cloak) not when trying to create a work order.
I play with DFHack, don't know if it could interfere ? Or maybe I didn't place the mod in the right place in the load order ? Should I place it high or low ?

Also is there a way for me to add the workshop reactions by editing my world files ?
I would be grateful for any help.
Droseran  [author] 2 Jan, 2024 @ 4:30pm 
Yeah, it adds the [SHAPED] token to the items causing uniform conflicts.
anopiko 2 Jan, 2024 @ 7:10am 
>fixes an issue with boot and gauntlet assignments

How exactly? Does it do the same as Shaped Shoes/Gloves mod?
Bruce Wayne 30 Sep, 2023 @ 8:32am 
@Droseran I didn't realize that was a thing, what a crazy system to have for item selection. Thanks for this mod, I hope eventually there would be a way to add mods to existing forts soon
Droseran  [author] 28 Sep, 2023 @ 11:44am 
@thefinn That is one use case. However, the main reason I made this mod was to prevent adamantine cloaks and hoods from being claimed by civilians the moment they entered a stockpile.

@Bruce Wayne In vanilla, the highest rarity of a given armor type is common, which is a 50% chance for a civ to have it. The only reason those pieces show up every time is because if a given armor slot doesn't receive a piece of armor, the game will re-roll that slot until it receives one. Since there is only one piece of armor those slots, the game re-rolls until they are chosen. This is why there is a chance of a dwarven civ not having low or high boots available, as they occupy the same slot and sometimes only one of them ends up being selected.
thefinn88 26 Sep, 2023 @ 3:12pm 
@Bruce Wayne - I believe this is more aimed at if you want say... all the red cloaks and red hoods to be for military only.
Bruce Wayne 25 Sep, 2023 @ 10:12am 
weird, my dwarves are able to make gauntlets and mail shirrts just fine in vanilla
Bagpipe 24 Sep, 2023 @ 7:36am 
sweet!
Droseran  [author] 24 Sep, 2023 @ 7:14am 
Mod updated, thanks for pointing that out!
Bagpipe 24 Sep, 2023 @ 7:07am 
you know, i did wonder tbh. Appreciate you trying to alleviate it as much as possible
Droseran  [author] 24 Sep, 2023 @ 6:57am 
That's actually a vanilla issue, this mod just makes it a little more apparent. I'll set the entity tokens for the normal armor set to forced as well to make sure they generate every time instead of the default 50%.
Bagpipe 24 Sep, 2023 @ 5:45am 
Gauntlets and mail shirts are "foreign" and cannot be crafted by dwarves. Thought this would be a good mod until i encountered that. just ruined my new fort. What a bummer. Please consider changing this and updating
Ealon 23 Sep, 2023 @ 9:41am 
I'll try this out, I am tired of work arounds to getting my military leather cloaks.
Droseran  [author] 21 Sep, 2023 @ 2:53pm 
This mod mostly started because I got tired of my civilians taking adamantine clothing meant for the military. It's also good if you want specific dyed colors for military vs. civilian use.
clankerloving cogsucker 21 Sep, 2023 @ 2:49pm 
interesting. i usually just use manager to keep a stockpile of 50 of each type of clothing so that everyone has a cape/cloak/coat combo for maximum deflect chances. never know when a bar brawl breaks out!

afraid to try it because of item menu bloat though it seems helpful for noobs