Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Freezing Breath  (Read 891 times)

Gaz-1

  • Bay Watcher
    • View Profile
Freezing Breath
« on: August 03, 2010, 10:29:31 pm »

I've been making a few monsters and I ran across a problem with breath attacks. I have made a freezing breath attack for use with a monster that lives in the tundra, except the cold effect doesn't work for it, but it does for a different monster. That different monster can freeze other creatures to death, as well as itself since it isn't suited for the cold.
I just find it weird that the cold dwelling monster can't seem to breathe a cold blast.

The creature in question.
Code: [Select]
[CREATURE:BARIOTH]
[DESCRIPTION:Wyverns that rule the eternally frozen Tundra. Barioth use their huge tusks and spiked scales to move freely atop the slippery ice; this ability makes them very difficult to keep up with.]
[NAME:barioth:barioth:barioth]
[CASTE_NAME:barioth:barioth:barioth]
[CREATURE_TILE:'B'][COLOR:7:0:1]
[PREFSTRING:piercing roar]
[PREFSTRING:massive tail]
[LARGE_ROAMING]
[POPULATION_NUMBER:2:5]
[CLUSTER_NUMBER:1:1]
[GRASSTRAMPLE:25]
[BIOME:TUNDRA]
[CARNIVORE]
[SEMIMEGABEAST]
[FLIER]
[BODY:WYVERN_PSEUDO:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:2TUSKS:MOUTH_GRASP:WING_SPIKES:GENERIC_TEETH_WITH_FANGS:RIBCAGE]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[REMOVE_MATERIAL:HAIR]
[USE_MATERIAL_TEMPLATE:SCALE:SCALE_TEMPLATE]
[USE_MATERIAL_TEMPLATE:TUSK:HORN_TEMPLATE]
[USE_MATERIAL_TEMPLATE:IVORY:HORN_TEMPLATE]
[USE_MATERIAL_TEMPLATE:HORN:HORN_TEMPLATE]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:HAIR]
[SELECT_TISSUE:SKIN]
[THICKENS_ON_STRENGTH]
[RELATIVE_THICKNESS:1000]
[HEALING_RATE:10]
[INSULATION:2000]
[USE_TISSUE_TEMPLATE:SCALE:SCALE_TEMPLATE]
[USE_TISSUE_TEMPLATE:TUSK:HORN_TEMPLATE]
[USE_TISSUE_TEMPLATE:IVORY:HORN_TEMPLATE]
[USE_TISSUE_TEMPLATE:HORN:HORN_TEMPLATE]
[SELECT_TISSUE:HORN]
[THICKENS_ON_STRENGTH]
[RELATIVE_THICKNESS:2]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SCALE:FAT:MUSCLE:BONE:CARTILAGE]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SCALE:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
[BODY_SIZE:0:0:400000]
[BODY_SIZE:1:0:900000]
[BODY_SIZE:2:0:4900000]
[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:500:800]
[USE_MATERIAL_TEMPLATE:POISON:COLD_CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:iceblight]
[STATE_ADJ:ALL_SOLID:iceblight]
[STATE_NAME:LIQUID:iceblight]
[STATE_ADJ:LIQUID:iceblight]
[STATE_NAME:GAS:iceblight]
[STATE_ADJ:GAS:iceblight]
[PREFIX:NONE]
[SYNDROME]
[SYN_NAME:Iceblight]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:BARIOTH:ALL]
[SYN_CONTACT]
[CE_NUMBNESS:SEV:50:PROB:100:RESISTABLE:LOCALIZED:START:1:PEAK:50:END:200]

[ATTACK:SLAM:BODYPART:BY_CATEGORY:BODY_UPPER]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:bodyslam:bodyslams]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[ATTACK:KICK:BODYPART:BY_CATEGORY:FOOT_FRONT]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:strike:strikes]
[ATTACK_CONTACT_PERC:50]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_EDGE]
[ATTACK_FLAG_WITH]
[ATTACK:SLAM:BODYPART:BY_CATEGORY:TAIL]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:slam:slams]
[ATTACK_CONTACT_PERC:75]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[ATTACK:KICK:CHILD_BODYPART_GROUP:BY_CATEGORY:WING:BY_CATEGORY:HORN]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:swipe:swipes]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_EDGE]
[ATTACK_FLAG_WITH]
[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_CANLATCH]

[MATERIAL_BREATH_ATTACK:LOCAL_CREATURE_MAT:POISON:TRAILING_VAPOR_FLOW]

[SPEED:500]
[CHILD:1]
[DIURNAL]
[HOMEOTHERM:10001]
[COLDDAM_POINT:9900]
[SWIMS_INNATE][SWIM_SPEED:2500]
[CASTE:FEMALE]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:SCALE]
[TL_COLOR_MODIFIER:ASH_GRAY:1:PERIWINKLE:1:WHITE:1:IVORY:1:PEARL:1:CREAM:1:BEIGE:1:SILVER:1]
[TLCM_NOUN:scales:PLURAL]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:AZURE:1]
[TLCM_NOUN:eyes:PLURAL]
[SET_TL_GROUP:BY_CATEGORY:HORN:HORN]
[TL_COLOR_MODIFIER:AMBER:1]
[TLCM_NOUN:tusks:PLURAL]
[SELECT_MATERIAL:BLOOD]
[PLUS_MATERIAL:PUS]
[MELTING_POINT:9900]

The other creature that can freeze and be frozen by the breath.
Code: [Select]
[CREATURE:DEVILJHO]
[DESCRIPTION:The dreaded, nomadic Deviljho have no specific territory of their own. Their muscles swell if provoked, revealing old wounds. Needing to feed constantly due to high body heat, they can hunt nearby animals to extinction. ]
[NAME:deviljho:deviljho:deviljho]
[CASTE_NAME:deviljho:deviljho:deviljho]
[CREATURE_TILE:'D'][COLOR:6:0:0]
[PREFSTRING:piercing roar]
[PREFSTRING:voracious appetite]
[PREFSTRING:massive tail]
[LARGE_ROAMING]
[POPULATION_NUMBER:1:5]
[CLUSTER_NUMBER:1:1]
[GRASSTRAMPLE:25]
[BIOME:ANY_LAND]
[CARNIVORE]
[MEGABEAST]
[NOPAIN]
[BODY:WYVERN_BRUTE:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:MOUTH_GRASP:HEAD_SPIKES:GENERIC_TEETH_WITH_FANGS:RIBCAGE]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[USE_MATERIAL_TEMPLATE:HOOF:HOOF_TEMPLATE]
[USE_MATERIAL_TEMPLATE:HORN:HORN_TEMPLATE]
[USE_MATERIAL_TEMPLATE:SCALE:SCALE_TEMPLATE]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[SELECT_TISSUE:SKIN]
[THICKENS_ON_STRENGTH]
[RELATIVE_THICKNESS:1]
[HEALING_RATE:1]
[SCARS]
[INSULATION:200]
[USE_TISSUE_TEMPLATE:HOOF:HOOF_TEMPLATE]
[USE_TISSUE_TEMPLATE:HORN:HORN_TEMPLATE]
[USE_TISSUE_TEMPLATE:SCALE:SCALE_TEMPLATE]
[SELECT_TISSUE:SCALE]
[RELATIVE_THICKNESS:100]
[THICKENS_ON_STRENGTH]
[HEALING_RATE:1]
[SCARS]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SCALE:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
[BODY_SIZE:0:0:900000]
[BODY_SIZE:10:0:12500000]
[BODY_SIZE:20:0:62500000]
[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:5000:8000]
[USE_MATERIAL_TEMPLATE:POISON:COLD_CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:dragonblight]
        [STATE_ADJ:ALL_SOLID:dragonblight]
      [STATE_NAME:LIQUID:dragonblight]
      [STATE_ADJ:LIQUID:dragonblight]
    [STATE_NAME:GAS:dragonblight]
    [STATE_ADJ:GAS:dragonblight]
        [PREFIX:NONE]
        [SYNDROME]
            [SYN_NAME:Dragonblight]
            [SYN_AFFECTED_CLASS:GENERAL_POISON]
            [SYN_IMMUNE_CREATURE:DEVILJHO:ALL]
            [SYN_CONTACT]
[SYN_INHALED]
            [CE_NECROSIS:SEV:1000:PROB:100:LOCALIZED:RESISTABLE:START:1:PEAK:10:END:2000


[MATERIAL_BREATH_ATTACK:LOCAL_CREATURE_MAT:POISON:TRAILING_VAPOR_FLOW]
[MATERIAL_BREATH_ATTACK:LOCAL_CREATURE_MAT:POISON:LIQUID_GLOB]


[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:95]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_CANLATCH]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:POISON:GAS:25:25]
[ATTACK:SLAM:BODYPART:BY_CATEGORY:TAIL]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:slam:slams]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_WITH]
[ATTACK:SLAM:BODYPART:BY_CATEGORY:BODY_UPPER]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:bodyslam:bodyslams]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]

[CHILD:1]
[DIURNAL]
[HOMEOTHERM:10067]
[SWIMS_INNATE][SWIM_SPEED:2500]
[CASTE:FEMALE]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:BROWN:1:BURNT_UMBER:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_PEACH:1:DARK_TAN:1:ECRU:1:PALE_BROWN:1:PALE_CHESTNUT:1:PALE_PINK:1:PEACH:1:PINK:1:RAW_UMBER:1:SEPIA:1:TAN:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:skin:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:BLACK:1]
[TLCM_NOUN:eyes:PLURAL]

The material template for the breath.
Code: [Select]
[MATERIAL_TEMPLATE:COLD_CREATURE_EXTRACT_TEMPLATE]
[STATE_COLOR:ALL_SOLID:WHITE]
[STATE_NAME:ALL_SOLID:frozen extract]
[STATE_ADJ:ALL_SOLID:frozen extract]
[STATE_COLOR:LIQUID:WHITE]
[STATE_NAME:LIQUID:extract]
[STATE_ADJ:LIQUID:extract]
[STATE_COLOR:GAS:WHITE]
[STATE_NAME:GAS:boiling extract]
[STATE_ADJ:GAS:boiling extract]
[DISPLAY_COLOR:7:0:1]
[MATERIAL_VALUE:1]
[SPEC_HEAT:NONE]
[IGNITE_POINT:20000]
[MELTING_POINT:5000]
[BOILING_POINT:9000d]
[HEATDAM_POINT:NONE]
[COLDDAM_POINT:NONE]
[MAT_FIXED_TEMP:NONE]
[SOLID_DENSITY:1200]
[LIQUID_DENSITY:1200]
[MOLAR_MASS:20000]
[IMPACT_YIELD:10000]
[IMPACT_FRACTURE:10000]
[IMPACT_STRAIN_AT_YIELD:100]
[COMPRESSIVE_YIELD:10000]
[COMPRESSIVE_FRACTURE:10000]
[COMPRESSIVE_STRAIN_AT_YIELD:100]
[TENSILE_YIELD:10000]
[TENSILE_FRACTURE:10000]
[TENSILE_STRAIN_AT_YIELD:100]
[TORSION_YIELD:10000]
[TORSION_FRACTURE:10000]
[TORSION_STRAIN_AT_YIELD:100]
[SHEAR_YIELD:6600] used high salinity ice
[SHEAR_FRACTURE:6600]
[SHEAR_STRAIN_AT_YIELD:100]
[BENDING_YIELD:10000]
[BENDING_FRACTURE:10000]
[BENDING_STRAIN_AT_YIELD:100]
[MAX_EDGE:500]
[ABSORPTION:100]
[LIQUID_MISC_CREATURE]
[ROTS]

I would be grateful for any help.
Logged

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Freezing Breath
« Reply #1 on: August 04, 2010, 01:12:38 am »

Ok, lets see... your creature died from the cold due to its materials having the same colddam point as all other creatures. Add this:
[SELECT_MATERIAL:ALL]
    [COLDDAM_POINT:NONE]
anywhere below the other material tags. You might also want to remove the leather material.

In the tissue section you are modifying a skin tissue, odd as your using scales instead of skin. You also dont need to select a tissue right after loading its template, it selects things it loads untill you load something else or put in creature tags.

As for the breath material, you probabaly dont need to make a seperate template. Best thing here would be to just use [MATERIAL:POISON] and put the stuff from the template below there, along with the syndrome. Also remove the extract tag from the material, this tag can cause tragedy for your merchants as it means they can bring the stuff in barrels. It explodes them as they enter the map.
The materials temperature is also below 0 kelvin, which might be the cause of some of your troubles. The minimum is somewhere around 9800, consult the wiki for the exact number.

As for some nitpicks, you can just leave out tags for strength properties, rotting, ignition temp, etc. None of these cever come up into gameplay with a material that only exists as a gas. You can also replace that huge list of [STATE_NAME:blabla with just one  [STATE_NAME_ADJ:ALL:blabla]

EDIT: missed an obvious one, the material doesnt have a fixed temp. Its not cold.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

Kobold Troubadour

  • Bay Watcher
  • [MUSICALITY: +-]
    • View Profile
Re: Freezing Breath
« Reply #2 on: August 04, 2010, 01:47:56 am »

Or you could just check out some of the wonderful mods here with an existing freeze breath and copy it. I think the one I use is from Deon's Genesis mod from his Frost Wyrm creatures, getting frostbite....bites.
Logged
[UTTERANCES] kinda' makes it hard for people to understand kobold songs...

Gaz-1

  • Bay Watcher
    • View Profile
Re: Freezing Breath
« Reply #3 on: August 04, 2010, 02:24:01 am »

Ah, the problem isn't the creature dying from it's cold breath. The values I got was originally from deon's cold breath template. The problem is the creature that is adapted for the cold doesn't seem to breathe cold whereas a random creature with the same breath can breathe cold and then die from it.
Logged

dennislp3

  • Bay Watcher
    • View Profile
Re: Freezing Breath
« Reply #4 on: August 04, 2010, 10:58:07 am »

totally off topic...but would it not make sense for a tundra creature to breath something other then cold? if you live in the tundra you will be made to resist the cold.....so if i have 3 inches of fat and fur....will a cold attack do much? (in theory...I know that there isn't elemental resistance in this game with the exception of fire immune and clothing)
Logged

Gaz-1

  • Bay Watcher
    • View Profile
Re: Freezing Breath
« Reply #5 on: August 05, 2010, 02:48:12 am »

Well, I woould guess they would use it to trap whatever they're hunting.

I've fiddled around a bit. My Barioth is now using deon's cold breath from his mod, yet it is still not cold, even though it's in the barioth entry exactly like it is in the frost dragon in the mod. In fact, I even copied the dragon over to make sure it wasn't something else on my end. The dragon does work, and so does the breath attack if it's given to any other creaute except the barioth. I really have no idea what's wrong.
Logged

dennislp3

  • Bay Watcher
    • View Profile
Re: Freezing Breath
« Reply #6 on: August 05, 2010, 03:35:15 am »

Armok hates you?
Logged

Gaz-1

  • Bay Watcher
    • View Profile
Re: Freezing Breath
« Reply #7 on: August 05, 2010, 04:28:41 am »

It does seem that way, doesn't it? Well, I'll try rebuilding the barioth from the ground up, and see what happens.
Logged