Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 147 148 [149] 150 151 ... 544

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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2220 on: July 18, 2012, 03:44:08 pm »

How do interactions work? I'm making a mod that requires many creatures to be able to shoot various elements and have no idea how to do so.

Here's one wiki article, here's another, one you're going to need for the elements, you may want to check the example interactions in the raw folder, and here's Hugo's wiki thingamajig.

(I learned how to write interactions way before 34.01 came out, so trust me :P)

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2221 on: July 18, 2012, 04:48:45 pm »

On a related note, the majority of creatures in this universe have a natural metal armor. What should I set the melting points to so that fire attacks still harm them? Whenever I try they wind up melting at room temperature.

Also I made their bones be replaced with a metal material but now when they are butchered in the arena the bone equivalents are created. What should I do to fix this?
« Last Edit: July 18, 2012, 04:52:04 pm by Furtuka »
Logged
It's FEF, not FEOF

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2222 on: July 18, 2012, 05:00:17 pm »

On a related note, the majority of creatures in this universe have a natural metal armor. What should I set the melting points to so that fire attacks still harm them? Whenever I try they wind up melting at room temperature.

Also I made their bones be replaced with a metal material but now when they are butchered in the arena the bone equivalents are created. What should I do to fix this?

1. Less than 11,000 but more than 10180.

2. Corpseitems?

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2223 on: July 18, 2012, 05:02:36 pm »

Oops typo, I meant to say that the bone equivalents are not created
Logged
It's FEF, not FEOF

Hugo_The_Dwarf

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

Oops typo, I meant to say that the bone equivalents are not created
Since the tissue for bones is replaced that is what is produced when butchered.

Tissues = butcherable materials

So either have metal coated bones or do with 1 or the other, or if you feel like it 2 BDPs 'cause body detail plans can only accept up to 5 arguments.
Logged

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2225 on: July 18, 2012, 05:26:15 pm »

Will I have to make a water entry in the raws to use it as part of the aforementioned interactions?
Logged
It's FEF, not FEOF

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2226 on: July 18, 2012, 05:31:06 pm »

nope

CDI:MATERIAL:WATER:<state that it will be>

0  INORGANIC  Placeholder for rock, used in arena mode. When given a subtype, selects a user-defined inorganic material. 
1  AMBER  Amber 
2  CORAL  Coral 
3  GLASS_GREEN  Green glass 
4  GLASS_CLEAR  Clear glass 
5  GLASS_CRYSTAL  Crystal glass 
6  WATER  Water, when placed in buckets or when mining out ice. 
7  COAL  Coal - subtype is either COKE or CHARCOAL. 
8  POTASH  Potash 
9  ASH  Ash 
10  PEARLASH  Pearlash 
11  LYE  Lye 
12  MUD  Mud 
13  VOMIT  Vomit 
14  SALT  Salt 
15  FILTH_B  Filth (brown, solid) 
16  FILTH_Y  Filth (yellow, liquid) 
17  UNKNOWN_SUBSTANCE  Unknown substance (white, liquid) 
18  GRIME  Grime 
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2227 on: July 18, 2012, 05:35:21 pm »

Oops typo, I meant to say that the bone equivalents are not created
Since the tissue for bones is replaced that is what is produced when butchered.

Tissues = butcherable materials

So either have metal coated bones or do with 1 or the other, or if you feel like it 2 BDPs 'cause body detail plans can only accept up to 5 arguments.

Not quite; they can take more than 5, but the ones that aren't ARGs have to be defined in the BDP itself.

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2228 on: July 18, 2012, 05:38:36 pm »

What part of this isn't set up right?

      [CAN_DO_INTERACTION:MATERIAL_EMISSION]
         [CDI:ADV_NAME:Fire a stream of water]
         [CDI:USAGE_HINT:ATTACK]
         [CDI:BP_REQUIRED:BY_CATEGORY:HAND]
         [CDI:MATERIAL:WATER:LIQUID:TRAILING_DUST_FLOW]
         [CDI:VERB:send out a stream of water:send out a stream of water:NA]
         [CDI:TARGET:C:LINE_OF_SIGHT]
         [CDI:TARGET_RANGE:C:15]
         [CDI:MAX_TARGET_NUMBER:C:1]
         [CDI:WAIT_PERIOD:35]
Logged
It's FEF, not FEOF

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2229 on: July 18, 2012, 05:40:30 pm »

 [CDI:MATERIAL:WATER:LIQUID:TRAILING_DUST_FLOW]?

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2230 on: July 18, 2012, 05:40:54 pm »

What part of this isn't set up right?

      [CAN_DO_INTERACTION:MATERIAL_EMISSION]
         [CDI:ADV_NAME:Fire a stream of water]
         [CDI:USAGE_HINT:ATTACK]
         [CDI:BP_REQUIRED:BY_CATEGORY:HAND]
         [CDI:MATERIAL:WATER:LIQUID:TRAILING_DUST_FLOW]
         [CDI:VERB:send out a stream of water:send out a stream of water:NA]
         [CDI:TARGET:C:LINE_OF_SIGHT]
         [CDI:TARGET_RANGE:C:15]
         [CDI:MAX_TARGET_NUMBER:C:1]
         [CDI:WAIT_PERIOD:35]
Other then it might just emit snow/dustings of ice. and the fact LIQUID is not a emission state LIQUID_GLOB is tho

Ninja'd by Putnam
Logged

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2231 on: July 18, 2012, 05:43:58 pm »

Oh that's what you meant by state. Oops.

PS What would be the best way to simulate a sonic blast?
« Last Edit: July 18, 2012, 05:54:27 pm by Furtuka »
Logged
It's FEF, not FEOF

LordRandomness

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2232 on: July 18, 2012, 06:10:25 pm »

Sonic blast? Probably just multitarget (so increase MAX_TARGET_NUMBER) and add an appropriate syndrome (Dizziness + Pain + impair function on ears + small chance at knocking unconscious?). If you want it to produce a sonic cone...I'm not sure, but TRAILING_GAS_FLOW with a contact syndrome might work. (I THINK the gas all dissipates afterwards).

Or you could just use TRAILING_DUST_FLOW for fun :p

(I'd wait for someone who knows more though, personally)
« Last Edit: July 18, 2012, 06:13:09 pm by LordRandomness »
Logged

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2233 on: July 18, 2012, 06:42:00 pm »

Spoiler (click to show/hide)

My dwarves are drinking this like there is no tomorrow, no effect, nothing. Why won't they're damn eyes rot out? I've tried about 17 different embarks with little changes here and there, but total failure every time.
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #2234 on: July 18, 2012, 06:43:43 pm »

You want BY_CATEGORY:EYE, not BY_TYPE. EYE is not a valid type, as I think the errorlog should tell you.
Pages: 1 ... 147 148 [149] 150 151 ... 544