Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 134 135 [136] 137 138 ... 544

Author Topic: [MODDING] 0.34. QUESTIONS THREAD  (Read 1066842 times)

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2025 on: July 01, 2012, 02:57:09 pm »

What's wrong with my workshop? It wont show up in the menus.

In my custom buildings file:
Code: [Select]
[BUILDING_WORKSHOP:BARK_WORKSHOP]
[NAME:Bark Workshop]
[NAME_COLOR:7:0:1]
[DIM:3:3]
[WORK_LOCATION:2:2]
[BUILD_LABOR:WOOD_CRAFT]
[BUILD_KEY:NONE]
[BLOCK:1:0:0:1]
[BLOCK:2:0:0:1]
[BLOCK:3:0:0:0]
[TILE:0:1:' ':' ':150]
[TILE:0:2:' ':' ':'/']
[TILE:0:3:'-':' ':' ']
[COLOR:0:1:0:0:0:0:0:0:6:0:0]
[COLOR:0:2:0:0:0:0:0:0:6:0:0]
[COLOR:0:3:6:0:0:0:0:0:0:0:0]
[TILE:1:1:' ':' ':'=']
[TILE:1:2:'-':' ':8]
[TILE:1:3:' ':' ':150]
[COLOR:1:1:0:0:0:0:0:0:6:0:0]
[COLOR:1:2:6:0:0:0:0:0:6:0:0]
[COLOR:1:3:0:0:0:0:0:0:6:0:0]
[TILE:2:1:'-':' ':8]
[TILE:2:2:' ':' ':8]
[TILE:2:3:' ':150:' ']
[COLOR:2:1:6:0:0:0:0:0:6:0:0]
[COLOR:2:2:0:0:0:0:0:0:6:0:0]
[COLOR:2:3:0:0:0:6:0:0:0:0:0]
[TILE:3:1:150:' ':8]
[TILE:3:2:' ':' ':8]
[TILE:3:3:' ':240:' ']
[COLOR:3:1:6:0:0:0:0:0:6:7:0]
[COLOR:3:2:0:0:0:0:0:0:6:7:0]
[COLOR:3:3:0:0:0:7:0:1:0:0:0]
[BUILD_ITEM:1:WOOD:NONE]

In my entities file I also have
Code: [Select]
[PERMITTED_BUILDING:BARK_WORKSHOP]
Yet it doesn't show up in the building menu Dx

Nvm, I'm an idiot. xD It works after you gen a new world, I was trying to add it to an existing save via the save's raws. Doesn't work that way :/
« Last Edit: July 01, 2012, 03:12:00 pm by Toxicshadow »
Logged
Quote
'ere the Chias get hungry...

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2026 on: July 01, 2012, 03:15:26 pm »

Re-gen the world? Have you tried adding a extra 2 :NONE:NONE on the Build Item?

Check your errorlog?
Logged

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2027 on: July 01, 2012, 03:20:56 pm »

My errorlog is notepad's best friend for now lol. Ty for helping though:)
'Nother problem:
Code: [Select]
[REACTION:BARK_HELM_ARMORING]
[NAME:Make Wood Helm]
[BUILDING:BARK_WORKSHOP:H]
[REAGENT:WOOD:2:WOOD:NONE:]
  [PRODUCT:100:1:ITEM_HELM:GET_MATERIAL_FROM_REAGENT:REAGENT_ID:REACTION_PRODUCT_ID][PRODUCT_DIMENSION:100000]
[SKILL:WOOD_CRAFT]
Reaction doesn't show up on the menu like it should. It IS permitted in the entity files. Errorlog isn't showing anything, and I gen'd a new world.
« Last Edit: July 01, 2012, 03:54:04 pm by Toxicshadow »
Logged
Quote
'ere the Chias get hungry...

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2028 on: July 01, 2012, 06:38:45 pm »

Holy Smokes batman, that reaction is insane!

[REACTION:BARK_HELM_ARMORING]
   [NAME:Make Wood Helm]
   [BUILDING:BARK_WORKSHOP:H] --- hotkeys always need a "CUSTOM_" to start with
   [REAGENT:WOOD:2:WOOD:NONE:] --- There is a extra : at the end here. and the ID is missing sorry you made it all caps    [PRODUCT:100:1:ITEM_HELM:GET_MATERIAL_FROM_REAGENT:REAGENT_ID:REACTION_PRODUCT_ID][PRODUCT_DIMENSION:100000] --- this is wrong is so many ways
   [SKILL:WOOD_CRAFT]

Code: [Select]
[REACTION:BARK_HELM_ARMORING]
[NAME:Make Wood Helm]
[BUILDING:BARK_WORKSHOP:CUSTOM_H]
[REAGENT:wood:2:WOOD:NONE] --- I was going to add another two NONEs but someone mentioned that was not needed
  [PRODUCT:100:1:HELM:ITEM_HELM_HELM:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOOD_CRAFT]
Logged

Raptor_a22

  • Bay Watcher
  • [DERP]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2029 on: July 01, 2012, 07:57:07 pm »

Does anyone know what character results in ä?

Directly adding ä to a raw file results in Σ being displayed in DF

EDIT:
@ToxicShadow

Are you adding this to the entity file?

[PREMITTED_BUILDING:BARK_WORKSHOP]
[PERMITTED_REACTION:BARK_HELM_ARMORING]
« Last Edit: July 01, 2012, 07:58:55 pm by Raptor_a22 »
Logged
Raptor's CivMod, Mithril and Dark Elves and Alchemy, oh my!
Quote
Dwarf Fortress: The only game where severe necrosis leading to exploding limbs is "awesome."

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2030 on: July 01, 2012, 08:39:29 pm »

Does anyone know what character results in ä?

Directly adding ä to a raw file results in Σ being displayed in DF

EDIT:
@ToxicShadow

Are you adding this to the entity file?

[PREMITTED_BUILDING:BARK_WORKSHOP]
[PERMITTED_REACTION:BARK_HELM_ARMORING]
TS just simply had an invalid reaction, and I think DF doesn't like invalid things too well.

Also do you mean as in description text or creature tile? the value for the desired character is: 132
Logged

Raptor_a22

  • Bay Watcher
  • [DERP]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2031 on: July 01, 2012, 08:44:38 pm »

TS just simply had an invalid reaction, and I think DF doesn't like invalid things too well.

Also do you mean as in description text or creature tile? the value for the desired character is: 132

Within a name, zweihänder.
Logged
Raptor's CivMod, Mithril and Dark Elves and Alchemy, oh my!
Quote
Dwarf Fortress: The only game where severe necrosis leading to exploding limbs is "awesome."

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2032 on: July 01, 2012, 08:59:22 pm »

Oh for your Armory/Modders Reasource. What is the difference from an english two-hander and a german Zwei-hander (2 hander)?

Maybe you should call it Großschwert or Gross Klinge, I don't know if you can use accented letters in weapon names, altho the language files allow it?
Logged

Raptor_a22

  • Bay Watcher
  • [DERP]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2033 on: July 01, 2012, 09:08:36 pm »

The German Zweihänder was used by the Landsknechte mercenaries. The sword itself is massive and can weigh up to 10 pounds.
I just thought it would be a fun weapon to put in.
Logged
Raptor's CivMod, Mithril and Dark Elves and Alchemy, oh my!
Quote
Dwarf Fortress: The only game where severe necrosis leading to exploding limbs is "awesome."

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2034 on: July 01, 2012, 09:12:13 pm »

132 won't work for a name what you want is in here.

It's „.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2035 on: July 01, 2012, 09:22:00 pm »

132 won't work for a name what you want is in here.

It's „.
Yoink

The German Zweihänder was used by the Landsknechte mercenaries. The sword itself is massive and can weigh up to 10 pounds.
I just thought it would be a fun weapon to put in.

Well so are two-handed swords and great swords :P but Putnam came to save the day :P
Logged

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2036 on: July 01, 2012, 09:41:08 pm »

Holy Smokes batman, that reaction is insane!

[REACTION:BARK_HELM_ARMORING]
   [NAME:Make Wood Helm]
   [BUILDING:BARK_WORKSHOP:H] --- hotkeys always need a "CUSTOM_" to start with
   [REAGENT:WOOD:2:WOOD:NONE:] --- There is a extra : at the end here. and the ID is missing sorry you made it all caps    [PRODUCT:100:1:ITEM_HELM:GET_MATERIAL_FROM_REAGENT:REAGENT_ID:REACTION_PRODUCT_ID][PRODUCT_DIMENSION:100000] --- this is wrong is so many ways
   [SKILL:WOOD_CRAFT]
Thank you very much, wiki wasn't very helpful on reactions, I had to guess on the get material part. The extra : was a typo. And I didn't know about the CUSTOM_  Oh and the product dimensions were.....not intentional.
Anyways, thank you very very much.
Code: [Select]
[REACTION:BARK_HELM_ARMORING]
[NAME:Make Wood Helm]
[BUILDING:BARK_WORKSHOP:CUSTOM_H]
[REAGENT:wood:2:WOOD:NONE] --- I was going to add another two NONEs but someone mentioned that was not needed
  [PRODUCT:100:1:HELM:ITEM_HELM_HELM:GET_MATERIAL_FROM_REAGENT:wood:NONE]
[SKILL:WOOD_CRAFT]
Logged
Quote
'ere the Chias get hungry...

Raptor_a22

  • Bay Watcher
  • [DERP]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2037 on: July 01, 2012, 10:01:50 pm »

132 won't work for a name what you want is in here.

It's „.

Thanks, it works now.
Logged
Raptor's CivMod, Mithril and Dark Elves and Alchemy, oh my!
Quote
Dwarf Fortress: The only game where severe necrosis leading to exploding limbs is "awesome."

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2038 on: July 01, 2012, 10:16:01 pm »

Thank you very much, wiki wasn't very helpful on reactions, I had to guess on the get material part. The extra : was a typo. And I didn't know about the CUSTOM_  Oh and the product dimensions were.....not intentional.
Anyways, thank you very very much.
I thought I updated the Reactions part of the Wiki... better go back and check and make sure it wasn't reverted or better yet I just made mindless rable.

EDIT:
http://dwarffortresswiki.org/index.php/DF2012:Reactions
at the very bottem in FULL TOKEN LIST
I updated HAS_MATERIAL_REACTION_CLASS and REACTION_CLASS
« Last Edit: July 01, 2012, 10:22:36 pm by Hugo_The_Dwarf »
Logged

acaerofox

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2039 on: July 01, 2012, 10:46:02 pm »

Random question:

Can a metal or other material be made so that it inflicts syndromes, say for instance a spear made out of [custom metal] that would horribly poison anyone that was stabbed with it?
Logged
Pages: 1 ... 134 135 [136] 137 138 ... 544