Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: No reaction_standard with Phoebus?  (Read 1197 times)

heywheresmysnack

  • Bay Watcher
    • View Profile
No reaction_standard with Phoebus?
« on: July 09, 2010, 02:07:10 am »

I have been trying to figure out how to mod in smelter reactions for a long long long long time.

I don't know if it is an issue with phoebus mod or what, but I go into reaction_smelter and do something like this

Code: [Select]
[REACTION:FREE_WOOD]
[NAME:stone to wood]
[SMELTER]
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:OAK]

and I go into entity_default and put in permitted reactions

Code: [Select]
[PERMITTED_REACTION:FREE_WOOD]
I then go and create a new world. Build a smelter. It tells me I do not have a usable item or the correct fuel type.

It does that with every reaction I try. What am I missing?
Logged

cartmann

  • Bay Watcher
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #1 on: July 09, 2010, 05:31:38 am »

Code: [Select]
[REACTION:FREE_WOOD]
[NAME:stone to wood]
[SMELTER]
[REAGENT:1:STONE:NO_SUBTYPE:STONE:NO_MATGLOSS]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:OAK]

Should be
Code: [Select]
[REACTION:FREE_WOOD]
[NAME:stone to wood]
[BUILDING:SMELTER:NONE]
[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:<OPTIONAL SPECIFIC STONE>]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:OAK]


OR it could be (I think, don't guarantee this will work)
Code: [Select]
[REACTION:FREE_WOOD]
[NAME:stone to wood]
[BUILDING:SMELTER:NONE]
[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:NO_SUBTYPE] [USELESS_STONE_ONLY]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:WOOD:OAK]

It's confusing I know. Use the wiki as much as possible, hug it as much as you may have when you first started playing DF.
Modding is just as confusing with the new RAWS

EDIT: http://df.magmawiki.com/index.php/Shaostoul%27s_Guide
USE IT!

Example cheat to get free mangrove. You have to specify it
Code: [Select]
[REACTION:CHEAT_TREE_001]
[NAME:Free Mangrove]
[BUILDING:CHEAT_FREE_TREE:NONE]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:PLANT_MAT:MANGROVE:WOOD]
« Last Edit: July 09, 2010, 05:42:09 am by cartmann »
Logged

heywheresmysnack

  • Bay Watcher
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #2 on: July 09, 2010, 11:55:02 am »

Copied that exactly. Created a new world.

Built a smelter.

Had the same problem.

Could it be because I'm using Phoebus?
Logged

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: No reaction_standard with Phoebus?
« Reply #3 on: July 09, 2010, 02:24:23 pm »

[REACTION:CHEAT_TREE_001]
[NAME:Free Mangrove]
[BUILDING:CHEAT_FREE_TREE:NONE]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:PLANT_MAT:MANGROVE:WOOD]

If that's what you used... you need to change a couple things...

in entity_default (or where ever Phoebus put the dwarf entity)

[PERMITTED_REACTION:CHEAT_TREE_01]

in the reaction...

[BUILDING:CHEAT_FREE_TREE:NONE]

You notice that the build is not smelter... It needs to be...

[BUILDING:SMELTER:NONE]

A lot of my premade reactions come with a premade building as to not clog up the smelter with tons and tons of reactions.
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

BigFatDwarf

  • Bay Watcher
  • The irony ... it doesn't burn?
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #4 on: July 09, 2010, 04:03:04 pm »

Could it be because I'm using Phoebus?

Nah. That's just graphics and has absolutely no impact on the game whatsoever.

Anyway, how about this? Just converts the stone to wood, so it's obsidian logs or whatever. Dunno if it works.

[REACTION:STONE_INTO_WOOD]
[NAME:convert stone to wood]
[BUILDING:something:NONE]
[REAGENT:A:1:BOULDER:NO_SUBTYPE:NONE:NONE]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:GET_MATERIAL_FROM_REAGENT:A:NONE]
[SKILL:some skill]
Logged
I loaded up my save in the new version, spent a minute trying to find my archery range before figuring it was the room with Xs down both sides: bins of ammo and archery targets.
Urist McCrossbower cancells practice crossbowery: Unsure of which end of the room to shoot at.

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: No reaction_standard with Phoebus?
« Reply #5 on: July 09, 2010, 04:52:49 pm »

Let's do it this way (this should work, reactions are a little wonky though.)

Copy and paste this into your reaction_smelter.txt
[REACTION:FREE_WOOD]
[NAME:Stone to Wood]
[BUILDING:SMELTER:NONE]
[REAGENT:A:1:BOULDER:NO_SUBTYPE:INORGANIC:NO_SUBTYPE]
[PRODUCT:100:1:WOOD:NO_SUBTYPE:PLANT_MAT:OAK:WOOD]

Copy and paste this into your entity_default.txt (or whatever the name of the file is that has the dwarf entity in it.) I typically put my Permitted Reaction in with all the others to avoid potential problems.
[PERMITTED_REACTION:FREE_WOOD]
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

cartmann

  • Bay Watcher
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #6 on: July 09, 2010, 06:22:48 pm »

Quote from: Shaostoul
A lot of my premade reactions come with a premade building as to not clog up the smelter with tons and tons of reactions.

Referring to smelting reactions:

From what I understand, no other smelting reactions work with other 'Smelters'
Am I wrong? I have seen mods (but not downloaded them, perhaps I should)
saying that they have A blast Furnace to make steel etc.
Yet my blast furnace does not show any reactions ingame, yet entity_default.txt and reaction_other/reaction_smelter.txt are as should be

I'm asking you since I use your guide alot and you've helped me add many many things, so I want to thank you for that.

If you don't know yourself, could you point me in the right direction? Thanks in advance

BigFatDwarf

  • Bay Watcher
  • The irony ... it doesn't burn?
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #7 on: July 09, 2010, 06:27:39 pm »

Ingame, looking from the Building orders, not the manager, game only lists those reactions that you have the reagents needed.
Logged
I loaded up my save in the new version, spent a minute trying to find my archery range before figuring it was the room with Xs down both sides: bins of ammo and archery targets.
Urist McCrossbower cancells practice crossbowery: Unsure of which end of the room to shoot at.

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: No reaction_standard with Phoebus?
« Reply #8 on: July 09, 2010, 06:30:36 pm »

When you make a reaction, you need to take into account the REAGENTS. If you have no reagents and it isn't showing up, there's either a problem with the reaction or entity_default. If you have reagents, (I suggest you test it without first, just to make sure it makes what you want.) that you must have those reagents present in order for the reaction to even show up. If one is mislabeled just a little bit, it could show as the incorrect reagent.

If they say the reaction requires steel and iron to be made, you need to make sure you have the required amount of reagents. Also, it should be noted (from a previous thread) that with the [PRODUCT_DIMENSION:150] it throws things off a tad. You may have to require 150 iron/steel bars because that 150 dimension makes it think there are 150 bars in a single stack, much like thread.
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

heywheresmysnack

  • Bay Watcher
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #9 on: July 09, 2010, 10:25:26 pm »

I can NOT get this to work. I have done exactly what you have said. I even tried to create a custom building following Shaostoul's guide. modified my entity_default and created two new txt files one labeled building_cheats.txt and reaction_cheats_stone.txt and pasted the EXACT info from the website into those files.

I see no cheat building.
Logged

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: No reaction_standard with Phoebus?
« Reply #10 on: July 09, 2010, 10:28:55 pm »

Agh, I keep forgetting to include...

At the top of each file there is supposed to be the file name

building_cheats <--- change to file name, this has to be at the top of each file... for the reaction one, it'd be the name of that file.

[OBJECT:BUILDING]

[BUILDING_WORKSHOP:TRAINING_BOOTH_CIVILIAN]
   [NAME:Civilian Training Booth]
   [NAME_COLOR:7:0:1]
   [WORK_LOCATION:2:2]
   [BUILD_LABOR:CARPENTER]
   [BUILD_KEY:NONE]
   [BLOCK:1:1:0:1]
   [BLOCK:2:0:0:0]
   [BLOCK:3:1:0:1]
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

heywheresmysnack

  • Bay Watcher
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #11 on: July 09, 2010, 10:32:14 pm »

Change to what file name?
Logged

heywheresmysnack

  • Bay Watcher
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #12 on: July 09, 2010, 10:34:06 pm »

I GOT IT! HOORAY FOR ME!

I see the building in the build list. Now... lets see how it works.
Logged

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: No reaction_standard with Phoebus?
« Reply #13 on: July 09, 2010, 10:35:28 pm »

Sorry for the semi-vagueness of some of it. I'll keep trying to help you.
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

heywheresmysnack

  • Bay Watcher
    • View Profile
Re: No reaction_standard with Phoebus?
« Reply #14 on: July 09, 2010, 10:37:42 pm »

Well I did finally get it working. I didn't know I was actually supposed to place it in the custom reactions and the custom buildings file. I was making my own file.
Logged
Pages: [1] 2