/r/DwarfFortressModding

Photograph via snooOG

A place to share and talk about dwarf fortress mods.

Posting Rules

  • Don't be an elf dick
  • Post mods and mod related content only
  • No memes or image macros
  • Follow redditquette

Useful resources

Other Dwarf Fortress subreddits

/r/DwarfFortressModding

652 Subscribers

5

Mod Activating DFHack

I want to make a building that runs a DFHack command every x ticks. For example, it could run "createitem WOOD PLANT_MAT:TOWER_CAP:WOOD 1" centered on the middle of the building. Probably a bad example since it requires a cursor, but still.

I suspect that this may send me on the path of creating my own DFHack plugin specific to my purposes instead of there being a way to do this already.

2 Comments
2024/11/05
23:58 UTC

2

Permanent Transformation?

G'day!

I am working on mods to make different sorts of immortals since I do not like just having necromancers running about. While a fear of death would still prompt the seeking of that secret, they would be associated with other spheres of influence.

The one that I am currently tackling is one associated with FIRE, SUN, and VOLCANOS.

I managed to get the interaction to work and even created a new dragon-taur creature for them to transform into; however, it seems the effect retriggers each time the save is loaded, constantly changing the creature's appearance and gender.

Any recommendations to make it a permanent transformation that doesn't reset?

2 Comments
2024/11/01
19:50 UTC

1

Look for

Looking for a mod that will allow me to send a group of dwarf out to start there own settlement

4 Comments
2024/10/11
05:54 UTC

1

Graphics-like experience on Classic?

Is there any way to get a remotely graphics-like experience on Classic DF v50.0+? What I mean is where each creature has a sprite, even the ones which are represented by the same ASCII character. I would be willing to achieve this goal by any means possible, modding or otherwise.

3 Comments
2024/10/03
20:15 UTC

0

Is it possible to make item uncolored in vanilla use colors in graphics mod? (Carved Rails in my case)

Hello

Is it possible to make it use the color palette of material item is made from?

In my case it's to use bit different graphical design for "Carved Rails". But I could see it be useful to, for example, make structure with wooden bits use color for these.

0 Comments
2024/08/25
12:06 UTC

0

Could someone get me an annotated blocks' version of base terrain files? Want to make texture, dont have steam version yet

Hello, as in title.

I don't really have steam version yet and would love to try making some textures. But after downloading the "invisible" template from forums I realized that many of the texture files are connected to others (rather than simply many 32x32 files), and I can't quite figure it out on my own ^^

So basically, if someone could do something like, swap tiles to color blocks, add text file describing what which color is; for animated/randomly selected textures (I'm assuming both exist, one for fluids, other for avoiding infinite repeat of same texture) extra number to mark start and end?

Right, emphasis on just terrain files. Nothing more for now. I should tackle one challenge at time...

I want to work on my tileset idea while I still have entire concept heavily in my head <3

0 Comments
2024/08/22
21:58 UTC

3

How to get started?

I want to start making a mod for the steam version, because no one seems to have created what I am looking for, and was wondering how to get Started? I can't seem to find any videos/resources for how to mod the game

8 Comments
2024/07/29
09:22 UTC

1

Summoning dynamic creature

Hello again! Today's question is about summoning. Would there be a way to get a summon interaction to summon a creature of the same race as the caster (without preprogramming the interaction to specify for each creature). Or, maybe more difficult but closer to what I need: being able to summon a specific (type of) demon you made a deal with (they interacted with you to grant you the summon interaction)

0 Comments
2024/05/08
23:18 UTC

1

Multiple bp_required in interaction

How would using multiple bp_required tags work in a cdi definition?

Furthermore, is there a way to specify which target the bp_required belongs? For example, I have a monster that has a probiscis, and a poor victim dwarf with a brain the monster wants to suck out using an interaction, how can I ensure that the monster still has its probiscis and the dwarf actually has a brain, and not just that the monster has a brain and a probiscis?

7 Comments
2024/05/07
14:11 UTC

1

Help with transformations

Hello, I am a newly starting modder and I am trying to make a physical upgrade system. Now, some of the upgrades are just like "increases strength" or "allows you to swim" but some I had imagined more complex.

I initially thought you could modify someone's body parts through a syndrome/interaction (like setting someone's skin to steel or adding wings) but after looking into it, I am not so sure. Is there a way to do it that I am missing?

A way I thought I might circumvent it was through transformations, but that seems to have the problem of not being able to select the base creature to quickly apply modifications to (If that even worked).

Now, the only way out I currently see is... to hardcode all possible body part upgrade combinations and make some kind of syndrome/interaction tag combination system, but I, hopefully understandably, would rather not have to do that.

5 Comments
2024/05/07
10:18 UTC

3

Adding lots of new flavor texts and events via Modding

So, I just started playing DF and absolutely love it so far. I guess this could be for me like Skyrim is for others (a game they never stop playing and sink thousands of hours into it).

I love the flavor texts and things happening. So I ask myself if there is a way to add tons of more flavor texts and World events happening? They don't have to be big. Can be descriptions of weather, detailed descriptions of stories in the dwarves daily lifes like love stories, ambitions, adventures, random things happening, etc.

Are there mods that already add this or can you create mods (relatively easy) that add tons and tons of new texts of things happening?

This would be sooo rad. Thanks so much in advance for your opiniond and suggestions.

1 Comment
2024/04/11
18:45 UTC

5

Mod request/ I want a were-pickle/ "Im pickle urist"

0 Comments
2024/02/21
05:15 UTC

1

Steam mod publish button not working. Halp!

So, title. I was able to upload initial version of my mod, but when i try to update it 'Publish' button just doesn't react and neither does 'Done' button after i pressed 'Publish' once. Have anyone encountered such behavior in the past and if so, then what was the fix? Googling didn't help.

1 Comment
2024/02/08
21:10 UTC

1

is there a way to set the mining priority (1,2,3,4 etc) for placed 'dig' blueprints using DFHack?

using DFHack with the steam version, when I place a new 'dig' blueprint, the mining priority level is set to 4 (even though my mining tool itself is set to 1). Is there a way to set the mining priority higher/lower for placed 'dig' blueprints?

0 Comments
2024/02/06
02:01 UTC

2

I've seen DF original vanilla being played on android. (Possible?)

DW Android

1 Comment
2024/01/27
17:52 UTC

1

[question] does dfplex work with the steam version of the game?

looking to set up multiplayer with a group of players, all of whom have the steam version

does anyone know if dfplex works with the steam version?

https://github.com/white-rabbit-dfplex/dfplex

1 Comment
2024/01/26
19:19 UTC

2

load order

when a mod says that it must be placed before another one, does it mean above it or below it in the load order?

0 Comments
2023/12/25
16:23 UTC

2

{QUESTION] How?mmini guide for adding items like a hat or clothes?

Want to sprite something christmas themed.

3 Comments
2023/11/30
22:47 UTC

2

Help with mods about forging

Hello, idk if i should be posting it here, but here we go. I was using Advfort with adventure mode ( Advfort ) and i lost my iron longsword somehow and i wanted to craft a new one, but i can only craft weapons made for dwarves and i am playing as a monitor lizard man, after some research i found Armed Dwarfs mod on steam workshop, and i was wondering can i use this mod on df 47.50 or theres some mod thats does exactly this?, and when i craft a piece of armor (using advfort in adventure mode) it make a small one or makes a piece thats suitable for my size?

1 Comment
2023/11/21
14:38 UTC

1

Trouble adding black bronze sprites to black bronze via Precious Metal Arms and Armor

Black Bronze when worn is not black when using the mod Precious Metal Arms and Armor, the vanilla code tells it to use Bronze sprites.

Hello all,

I need help reviewing the code I wrote with the HUGE help of u/schmee001 to add to the mod Precious Metal Arms and Armor.

Here's the code I wrote and posted to github.

Something is not working correctly. I plan on generating a new world/embark to do a final test, but by following schmee001's advice and replacing/adding the files, the sprites are not displaying in old save and not in the test arena. I'm concerned that I'm missing one or two more details that are preventing the mod from working.

Schmee001's approach/advice TL:DR centered around recoloring old bronze sprites, renaming the file, and then splitting the text file code for bronze that had bronze and black bronze together to bronze and black bronze as separate entries.

Once I playtest a new embark/new world, I'll post the results here, but it sounded like Schmee001's advice should have worked from the beginning.

Long term, I plan on posting the finished code to the original author so he/she can add it. Otherwise, I can just post the files for anyone to use or upload a branched version of the mod.

Thanks for your help/advice.

1 Comment
2023/11/11
16:20 UTC

2

What is DFhack command to change windmill/wind power?

Title.

0 Comments
2023/08/21
04:38 UTC

3

Modding Status

What's the state of modding for DF? The Steam workshop doesn't appear very active, and we could only really access the raws, anyway. Would it be better to learn how to make a lua for DFHack instead, or is everyone waiting for an official accessible API? Is that something that might happen?

1 Comment
2023/08/10
01:34 UTC

2

6 Weird Dwarf Fortress Mods on Steam Workshop!

0 Comments
2023/07/16
18:31 UTC

6

My review of the Elder Scrolls dwarf fortress mod.

It’s a large race and systems overhaul with a lot of promise, definitely worth a download.

0 Comments
2023/06/26
20:14 UTC

5

Tile counter when dragging cursor (like in Rimworld)

My old eyes don't see as well as they used to and my old brain doesn't count as well either. Any mods out there for the Steam version which will do the counting for me when I am building? I know most people hate symmetry in DF, but I gotta have it and have scrapped entire bases for sides not matching up by a single tile. Yeah, I'm weird, but so is everyone playing this game.

Thanks in advance for any assistance and have a great day.

0 Comments
2023/06/02
14:52 UTC

3

i modded my remix into the game.

https://reddit.com/link/13f7il3/video/plgqvj4e7bza1/player

https://reddit.com/link/13f7il3/video/16unbmvf7bza1/player

https://youtu.be/5T9gdOImHn4

second video not on YouTube idk if i can yet im trying.

*nonsteam* (if you test on steam leave a tutorial in a comment I’ll pin it and credit any copy made) maybe we will make a mod for it

first you must be able to rename file extensions

music is in a file that looks like this

DwarfFortress\data\sound\tracks move ec-full.ogg for original song in a new folder in \expansive_cavern

download this vid as mp3

move to \expansive_cavern rename to EC_full.ogg it will say "are you sure you want to change file type it might blah blah..."

its fine hit yes. (if you dont see file type when renaming a file go to settings for explore and look for "rename file extension' all pc's are a bit different as to where the setting will be.)

so far it works in vanilla, lets me know if you have issues in game this is what triggers music for EC_full:

--------- [MUSIC:TRACK_02] [FILE:EXPANSIVE_CAVERN] [CARD:EXPANSIVE_CAVERN_CARD_1] for the shuffled deck of short bits [CARD:EXPANSIVE_CAVERN_CARD_2] [CARD:EXPANSIVE_CAVERN_CARD_3] [CARD:EXPANSIVE_CAVERN_CARD_4] [EVENT:FIRST_CAVERN_OPENED] [CONTEXT:CAVERNS_OPENED] -------- could try [CONTEXT:ANY] to get it to play more --------

0 Comments
2023/05/12
02:09 UTC

1

Questions about how conditional tokens (in the graphics txt file) work

So long story short, after playing Dwarf Fortress for about 2 weeks, I've fallen down the modding rabbit hole. Anyway, I noticed that there are multiple conditional statements under the layers.

  • Do they work with either as [CONDITION_PROFESSION_CATEGORY:xxx] OR [CONDITION_DYE:xxx] or do both conditions need to be fulfilled as such as [CONDITION_PROFESSION_CATEGORY:xxx] AND [CONDITION_DYE:xxx]
  • If I make two tokens of [LAYER:CLOTHING_CAPE_color:clothes_type:##:##], does the second one get ignored, replace the first one, or make its own checks?
  • Is there to make a catch-all graphic for the layers so that if I somehow forget to specify a particular armor/item/etc (or a new one is added through a mod without a graphic for my specific creature) it will show up as something?

Sorry if it seems a little much, I've tried to use the dwarf fortress wiki to answer most of my questions but it mostly just specifies what the tokens are and not really how they react with other tokens.

0 Comments
2023/04/18
06:02 UTC

Back To Top