Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 60 61 [62]

Author Topic: [MODDING] General modding questions thread  (Read 154643 times)

FantasticDorf

  • Bay Watcher
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #915 on: October 09, 2024, 10:07:56 am »

Yeah, vanilla overlapping is very fiddly, and probably not advisable. Official support for graphic-'graphic' sets would be preferable over it but there are some things with DFhack you can do to have the module present a particular look, if you're willing to go through the labrinthine code lists, i got completely sidetracked by IRL stuff to look into it too much.

If i remember correct, Itch.io currently just gives a steam key for DF. I've never seen anybody not be careful to mention the intellectual rights when they've had to alter base DF sprites, but it could easily be just how its (not) reported on the platform when it happens because its community based.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #916 on: October 09, 2024, 12:15:05 pm »

Is the Steam build of the game different than the Itch.io build of the game? I think I read that only the Steam version had workshop support, but that isn’t a property of the binary itself, is it?

The binary is different, but only because of uploading to the Steam workshop, otherwise they're completely identical. The classic binary's only difference is that it doesn't have a lot of the music logic, which is actually kind of a problem.

If i remember correct, Itch.io currently just gives a steam key for DF.

You can download the game directly from Itch and we have a separate build for it (for aforementioned "upload to steam workshop" reasons).

Also, am I allowed to publish modified version of the vanilla graphics in mods on the steam workshop? The mod page on the wiki implies that it’s probably okay.

I don't know, but I have.

CohentheBarbarian

  • Bay Watcher
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #917 on: November 19, 2024, 08:10:07 pm »

would someone kindly assist me with this problem?

I have made an extractor to turn metal bars into thread, and the thread into clothes.
someone requested I add group extractions, which I've done by separating the bars into cheap, good and expensive reaction classes

like so
Spoiler (click to show/hide)

and made these additional reactions

Spoiler (click to show/hide)

in game the reactions are visable but looking for cheap/good/Expensive metal thread bars
like the below
create cheap thread
[requires CHEAP_METAL_THREAD bars]

will someone tell me where I stuffed up?
bonus points if you can tell me why my reactions make so much thread
Logged

DPh Kraken

  • Bay Watcher
  • [PRONOUN:she:her:herself][PRONOUN:it:its:itself]
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #918 on: November 20, 2024, 12:26:15 pm »

I see - you have a PRODUCT_DIMENSION applied to a reagent. Your reaction asks for 1 bar, sees that you have 150 units (because of how they were implemented), and then makes 150 separate strands.
[MIN_DIMENSION] is what you were looking for, or you could just specify the quantity like so:

Code: [Select]
[REACTION:MONSTER_THREAD_BRONZE]
   [NAME:create bronze thread]
   [BUILDING:EXTRACTOR:NONE]
   [REAGENT:A:150:BAR:NO_SUBTYPE:METAL:BRONZE]
   [PRODUCT:100:1:THREAD:NO_SUBTYPE:INORGANIC:BRONZE][PRODUCT_DIMENSION:15000]
   [SKILL:EXTRACT_STRAND]
   [SKILL_IP:50]
Logged
[CHEESE_PLANT] and [CHEESE_GRAPHICS] biggest fan
My mods:
Language & symbolsMiscellanyGraphics resourcesPseudo-ASCII

CohentheBarbarian

  • Bay Watcher
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #919 on: November 21, 2024, 03:05:42 am »

That solves one problem. THANKS Kraken.

Still need to figure out if I need to add a reaction class to Bars.
Actually would that work? 🤔

[requires CHEAP_METAL_THREAD bars]
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #920 on: November 21, 2024, 06:00:39 am »

Reaction classes are on materials. You can add reaction classes to materials as you see fit.

CohentheBarbarian

  • Bay Watcher
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #921 on: November 21, 2024, 07:00:51 am »

@putnam thanks! I'll track down the Bar location in the raws and add the reaction class directly to the bars
 
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #922 on: November 21, 2024, 03:29:26 pm »

Materials, sorry. Items are not materials, and bars are items. You can't add reaction classes to bars, but you're not trying to, here, you want to add them to materials, I'm pretty sure. If you want CHEAP_METAL_THREADS from all metals, you just use BAR:NO_SUBTYPE:NONE:NONE, which will accept any bars; if you want only metals, just add [METAL_ITEM_MATERIAL] after.

CohentheBarbarian

  • Bay Watcher
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #923 on: November 21, 2024, 04:06:31 pm »

Yeah, I added reaction class to all the metals. Cheap, good, expensive.
So I could make a reaction that will extracts string from any of that group (its spoiled in my post above)
The the reaction shows at the extractor but is looking for CHEAP_METAL_THREAD bars

So I'm wondering if I should have placed the reaction class tag elsewhere.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #924 on: November 21, 2024, 04:30:28 pm »

No, that's where you ought to put it.

CohentheBarbarian

  • Bay Watcher
    • View Profile
Re: [MODDING] General modding questions thread
« Reply #925 on: November 21, 2024, 05:13:36 pm »

Well i got that bit right at least.  :)
Thanks Kraken and Putnam, we solved 1 problem and I think I can trial end error the other. Cheers
Logged
Pages: 1 ... 60 61 [62]