Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 451 452 [453] 454 455 ... 544

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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6780 on: December 18, 2013, 06:26:01 pm »

Do you have the ANIMAL creature?

Are your tissues correctly pointing to the ANIMAL material instead of the LOCAL_CREATURE_MAT material?

The reason only eyes and nerve tissue are coming out is because you have EYE and NERVE both as LOCAL_CREATURE_MATs instead of CREATURE_MAT:ANIMAL.

Roses

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6781 on: December 18, 2013, 06:35:17 pm »

Do you have the ANIMAL creature?

Are your tissues correctly pointing to the ANIMAL material instead of the LOCAL_CREATURE_MAT material?

The reason only eyes and nerve tissue are coming out is because you have EYE and NERVE both as LOCAL_CREATURE_MATs instead of CREATURE_MAT:ANIMAL.

Yes I do have the ANIMAL creature, and I realize that that is why I am getting the eyes and nerves. But I did not know that I needed to reference the CREATURE_MAT:ANIMAL tissues instead of LOCAL_CREATURE_MAT tissues. (I figured once they were called by CREATURE_MAT:ANIMAL they became local) Thanks for your help, glad to know it was just my problem and not an actual problem.
Logged

Roses

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6782 on: December 18, 2013, 06:49:34 pm »

Hmm, is there an equivalent CREATURE_MAT token for tissues? I changed tissue declaration to this and then manually declared each tissue in the CREATURE:ANIMAL but all that did was throw up a whole bunch of errors like, upper body, layer 2: Tissue FAT was not found, using first tissue instead

Code: [Select]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[ADD_TISSUE:SKIN:CREATURE_MAT:ANIMAL:SKIN_TEMPLATE]
[ADD_TISSUE:FAT:CREATURE_MAT:ANIMAL:FAT_TEMPLATE]
[ADD_TISSUE:MUSCLE:CREATURE_MAT:ANIMAL:MUSCLE_TEMPLATE]
[ADD_TISSUE:BONE:CREATURE_MAT:ANIMAL:BONE_TEMPLATE]
[ADD_TISSUE:CARTILAGE:CREATURE_MAT:ANIMAL:CARTILAGE_TEMPLATE]
[ADD_TISSUE:HAIR:CREATURE_MAT:ANIMAL:HAIR_TEMPLATE]
[ADD_TISSUE:TOOTH:CREATURE_MAT:ANIMAL:TOOTH_TEMPLATE]
[ADD_TISSUE:EYE:CREATURE_MAT:ANIMAL:EYE_TEMPLATE]
[ADD_TISSUE:NERVE:CREATURE_MAT:ANIMAL:NERVE_TEMPLATE]
[ADD_TISSUE:BRAIN:CREATURE_MAT:ANIMAL:BRAIN_TEMPLATE]
[ADD_TISSUE:LUNG:CREATURE_MAT:ANIMAL:LUNG_TEMPLATE]
[ADD_TISSUE:HEART:CREATURE_MAT:ANIMAL:HEART_TEMPLATE]
[ADD_TISSUE:LIVER:CREATURE_MAT:ANIMAL:LIVER_TEMPLATE]
[ADD_TISSUE:GUT:CREATURE_MAT:ANIMAL:GUT_TEMPLATE]
[ADD_TISSUE:STOMACH:CREATURE_MAT:ANIMAL:STOMACH_TEMPLATE]
[ADD_TISSUE:GIZZARD:CREATURE_MAT:ANIMAL:GIZZARD_TEMPLATE]
[ADD_TISSUE:PANCREAS:CREATURE_MAT:ANIMAL:PANCREAS_TEMPLATE]
[ADD_TISSUE:SPLEEN:CREATURE_MAT:ANIMAL:SPLEEN_TEMPLATE]
[ADD_TISSUE:KIDNEY:CREATURE_MAT:ANIMAL:KIDNEY_TEMPLATE]
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6783 on: December 18, 2013, 07:19:19 pm »

I'm saying the tissue templates point to LOCAL_CREATURE_MAT:X instead of CREATURE_MAT:ANIMAL:X and you need to change that if you want generic materials.

That error is because you're doing something horribly wrong. What you're doing is defining SKIN, then putting CREATURE_MAT:ANIMAL: in the middle, then SKIN_TEMPLATE for some reason.

Roses

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6784 on: December 19, 2013, 12:52:49 am »

Ah I see, I need to modify the actual tissue templates. For some reason I thought you meant the calls to the tissues in the body templates.

It works great now, thanks!

EDIT: Is there something hard coded about bones and names? I have gotten it to where all the skin, leather, eyes, spleen, kidney, etc... all are nameless (i.e. just 'prepared kidney' instead of 'prepared dog kidney') but bones still show with names. I am using the exact same system for both so I don't see any other reason why there would be this discrepancy.
« Last Edit: December 19, 2013, 08:16:01 pm by Roses »
Logged

TheDorf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6785 on: December 20, 2013, 09:59:11 am »

Does anyone know what exactly makes all races except the dwarves unable to smith steel weapons and armour during world gen? Seeing as I mostly play adventure mode at the moment, it'd be nice to be able to loot some.
Logged
I love this community. Somebody asks "hay guise how do i tame shark", and then everybody is like "why don't we fling sharks at things with complex mechanical devices?".

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6786 on: December 20, 2013, 10:08:09 am »

Does anyone know what exactly makes all races except the dwarves unable to smith steel weapons and armour during world gen? Seeing as I mostly play adventure mode at the moment, it'd be nice to be able to loot some.

The reaction that is used to create steel is only used by dwarves because the dwarven entity (found in the entity_default.txt file) has this permission: [PERMITTED_REACTION:STEEL_MAKING]

Just add it under any other entity to allow them to make steel.
Logged

Charey Wolf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6787 on: December 21, 2013, 02:42:55 am »

I am trying to give a dragons varoius breath weapons but when I try freezeing breath nothing seems to be working, I've tried giving the breath weapon/breath weapon mat various temperature flags in an attempt to make it's breath freeze/give frostbite but so far i've only managed to do is melt people(Acid breath will be easy).

Any hints? I've searched the forums for a bit and also tried copying from the Dragonic Civ but I can't seem to get it to work.

Here is the "ice breath" in question so far:
Code: [Select]
[USE_MATERIAL_TEMPLATE:ICEBREATH:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:ice shards]
[STATE_ADJ:ALL_SOLID:ice shards]
[STATE_NAME:LIQUID:frost breath]
[STATE_ADJ:LIQUID:frost breath]
[STATE_NAME:GAS:vapor]
[STATE_ADJ:GAS:vapor]
[SPEC_HEAT:1]
[COLDDAM_POINT:100]
[MAT_FIXED_TEMP:1]
[MELTING_POINT:20000000]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breathe frost]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:ICEBREATH:TRAILING_VAPOR_FLOW]
[MAT_FIXED_TEMP:1]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6788 on: December 21, 2013, 04:27:44 am »


[MELTING_POINT:20000000]

wut?

My white dragons in Genesis Reborn have this:
Code: [Select]
[USE_MATERIAL_TEMPLATE:ICEBREATH:COLDBREATH_TEMPLATE]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breathe frost cloud]
[CDI:INTERACTION:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:MATERIAL:LOCAL_CREATURE_MAT:ICEBREATH:TRAILING_VAPOR_FLOW]
[CDI:VERB:breathe a cloud of frost:breathes a cloud of frost:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:10]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:500]

The material itself:
Code: [Select]
[MATERIAL_TEMPLATE:COLDBREATH_TEMPLATE]
[STATE_COLOR:ALL_SOLID:WHITE]
[STATE_NAME:ALL_SOLID:dragonbreath]
[STATE_ADJ:ALL_SOLID:dragonbreath]
[STATE_COLOR:LIQUID:WHITE]
[STATE_NAME:LIQUID:dragonbreath]
[STATE_ADJ:LIQUID:dragonbreath]
[STATE_COLOR:GAS:WHITE]
[STATE_NAME:GAS:dragonbreath]
[STATE_ADJ:GAS:dragonbreath]
[DISPLAY_COLOR:3:0:1]
[MATERIAL_VALUE:1]
[SPEC_HEAT:NONE]
[BOILING_POINT:1500]
[MAT_FIXED_TEMP:2000]
[MELTING_POINT:1000]
[IGNITE_POINT:20000]
[HEATDAM_POINT:NONE]
[COLDDAM_POINT:NONE]
[MAT_FIXED_TEMP:NONE]
[SOLID_DENSITY:1500]
[LIQUID_DENSITY:1500]
[MOLAR_MASS:20000]
[IMPACT_YIELD:50000]
[IMPACT_FRACTURE:50000]
[IMPACT_ELASTICITY:10000]
[COMPRESSIVE_YIELD:10000]
[COMPRESSIVE_FRACTURE:10000]
[COMPRESSIVE_ELASTICITY:100]
[TENSILE_YIELD:10000]
[TENSILE_FRACTURE:10000]
[TENSILE_ELASTICITY:100]
[TORSION_YIELD:10000]
[TORSION_FRACTURE:10000]
[TORSION_ELASTICITY:100]
[SHEAR_YIELD:10600]
[SHEAR_FRACTURE:10600]
[SHEAR_ELASTICITY:5000]
[BENDING_YIELD:10000]
[BENDING_FRACTURE:10000]
[BENDING_ELASTICITY:100]
[MAX_EDGE:100]
[ABSORPTION:6000]
[LIQUID_MISC_CREATURE]

Note:

   [BOILING_POINT:1500]
   [MELTING_POINT:1000]

   [MAT_FIXED_TEMP:2000]

It means it's a "gas" which is of 2000 urist temperature. Note, it REALLY freezes stuff, be careful.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Charey Wolf

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6789 on: December 21, 2013, 02:02:14 pm »

"[MELTING_POINT:20000000]

wut?"


I had seen on the wiki that the melting point is also the freezing point for that material so I tired setting it stupidly high to try and force it to freeze stuff. That was after I had tried most of the things that made sense.
 
Anyways I found out what the problem was, near the bottom of the default dragon creature is a set of tags the changes the melting/boiling points of all materials used by the dragon, removing that fixed the problem.
 
Logged

Roses

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6790 on: December 21, 2013, 02:19:42 pm »

"[MELTING_POINT:20000000]

wut?"


I had seen on the wiki that the melting point is also the freezing point for that material so I tired setting it stupidly high to try and force it to freeze stuff. That was after I had tried most of the things that made sense.
 
Anyways I found out what the problem was, near the bottom of the default dragon creature is a set of tags the changes the melting/boiling points of all materials used by the dragon, removing that fixed the problem.

Having the melting point super high means that it will be a solid below that temperature. Liquid between that temperature and the boiling point, and gas above the boiling point.

[MAT_FIXED_TEMP:2000] <- this is what sets the actual temperature of the material. If you have this and your melting point it means it will be a very cold solid.
« Last Edit: December 21, 2013, 02:21:38 pm by Roses »
Logged

Mallos

  • Bay Watcher
  • sick and tired of being sick and tired
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6791 on: December 21, 2013, 08:51:07 pm »

OK,I've tried for about 4 days now and no matter what I can not get this interaction to work.

Code: [Select]
[INTERACTION:CHAOS_TOUCH]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]

[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:touched by ChAoS]
[SYNDROME]
[SYN_NAME:touched by ChAoS]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[CE_NECROSIS:SEV:5000:PROB:100:START:0:END:90000]
[CDI:USAGE_HINT:ATTACK]
[CDI:VERB:touch:touches:touch each other]
[CDI:INTERACTION:CHAOS_TOUCH]
[CDI:TARGET:A:SELF_ALLOWED:TOUCHABLE]
[CDI:TARGET_RANGE:A:1]
[CDI:MAX_TARGET_NUMBER:A:1]
[CDI:WAIT_PERIOD:10]

Dwarf Fortress modding gods,help me...  :'(
I have lost countless hours of my day trying to get a working interaction
Logged
Gone. Departed. Headed off toward greener pastures.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6792 on: December 21, 2013, 08:52:54 pm »

You forgot [CE_CAN_DO_INTERACTION:START:0:END:90000] above your CDI stuff.

Mallos

  • Bay Watcher
  • sick and tired of being sick and tired
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6793 on: December 21, 2013, 08:57:50 pm »

You forgot [CE_CAN_DO_INTERACTION:START:0:END:90000] above your CDI stuff.

It won't even let me target anything,too.
And it didn't change in any way.
At all.
Logged
Gone. Departed. Headed off toward greener pastures.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #6794 on: December 21, 2013, 08:59:26 pm »

What is "it"? If you can't target, then you're kind of SOL unless you give us the part that actually matters for that: the CAN_DO_INTERACTION:CHAOS_TOUCH in the creature.
Pages: 1 ... 451 452 [453] 454 455 ... 544