Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modded creature kills anything in a single hit  (Read 821 times)

Cheesoburgor

  • Bay Watcher
  • [NO_SLEEP]
    • View Profile
Modded creature kills anything in a single hit
« on: January 21, 2016, 01:27:04 pm »

So i tried making a new creature from cave blob files but ive ran into a problem, every attack the creature does will deal extreme amounts of damage always killing instantly if hitting upper/lower body or head, even a bronze colossus! I cant figure out what is wrong with my raws.

Code: [Select]
[CREATURE:CHAOS_ABOMINATION]
[DESCRIPTION:A giant shapeless cluster of tendrils. Their blood is very toxic and corruptive.]
[NAME:abomination:abominations:abomination]
[CASTE_NAME:abomination:abominations:abomination]
[CREATURE_TILE:'&'][COLOR:5:0:0]
[PETVALUE:500]
[PET_EXOTIC]
[FREQUENCY:40]
        [BIOME:ANY_WETLAND]
[BIOME:SUBTERRANEAN_CHASM]
[BIOME:SUBTERRANEAN_WATER]
[LARGE_ROAMING]
[UNDERGROUND_DEPTH:3:3]
[NOBONES][EVIL][LARGE_PREDATOR][MEANDERER][CAN_LEARN][SLOW_LEARNER][NOT_LIVING][OPPOSED_TO_LIFE][EXTRAVISION][NOEXERT][NOPAIN][NOBREATHE][NOSTUN][NONAUSEA][NO_DIZZINESS][NO_FEVERS][NOEMOTION][PARALYZEIMMUNE][NOFEAR][NO_EAT][NO_DRINK][NO_SLEEP][NO_PHYS_ATT_GAIN][NO_PHYS_ATT_RUST][NOTHOUGHT][NO_THOUGHT_CENTER_FOR_MOVEMENT][NO_CONNECTIONS_FOR_MOVEMENT]
[POPULATION_NUMBER:250:500]
[CLUSTER_NUMBER:2:5]
[PREFSTRING:chaotic wriggling]
[BODY:TENDRILS]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[REMOVE_MATERIAL:HAIR]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:HAIR]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
        [USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
                [STATE_NAME:ALL_SOLID:frozen corrupted blood]
[STATE_NAME_ADJ:ALL_SOLID:frozen corrupted blood]
[STATE_NAME:LIQUID:corrupted blood]
[STATE_NAME_ADJ:LIQUID:corrupted blood]
[STATE_NAME:GAS:boiling corrupted blood]
[STATE_NAME_ADJ:GAS:boiling corrupted blood]
[STATE_COLOR:ALL:PURPLE]
[PREFIX:NONE]
[SYNDROME]
[SYN_NAME:Corruption]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:CHAOS_ABOMINATION:ALL]
[SYN_CONTACT][SYN_INGESTED][SYN_INJECTED][SYN_INHALED]
[CE_PAIN:SEV:15:PROB:100:LOCALIZED:RESISTABLE:START:50:PEAK:1000:END:2000]
[CE_IMPAIR_FUNCTION:SEV:100:PROB:30:LOCALIZED:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_NECROSIS:SEV:25:PROB:20:LOCALIZED:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_OOZING:SEV:45:PROB:30:LOCALIZED:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_BLISTERS:SEV:15:PROB:20:LOCALIZED:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_BRUISING:SEV:65:PROB:30:LOCALIZED:RESISTABLE:START:50:PEAK:1000:END:20000]
[CE_BLEEDING:SEV:20:PROB:30:LOCALIZED:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_SWELLING:SEV:50:PROB:20:LOCALIZED:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_COUGH_BLOOD:SEV:150:PROB:50:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_DIZZINESS:SEV:150:PROB:20:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_NAUSEA:SEV:40:PROB:80:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_UNCONSCIOUSNESS:SEV:100:PROB:15:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_VOMIT_BLOOD:SEV:30:PROB:30:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_DROWSINESS:SEV:999999:PROB:7:RESISTABLE:START:50:PEAK:1000:END:20000]
                        [CE_FEVER:SEV:400:PROB:100:RESISTABLE:START:50:PEAK:1000:END:20000]

[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]

[APPLY_CREATURE_VARIATION:STANDARD_WALK_CRAWL_GAITS:9000:8900:8825:8775:9500:9900] 1 kph
[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:9000:8900:8825:8775:9500:9900] 1 kph
[BODY_SIZE:0:0:10000]
        [NATURAL_SKILL:WRESTLING:15]
        [ATTACK:BITE:BODYPART:BY_CATEGORY:BODY]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
                [ATTACK_PENETRATION_PERC:1]
[ATTACK_CONTACT_PERC:1]
[ATTACK_PREPARE_AND_RECOVER:1:1]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_CANLATCH]
[SPECIALATTACK_SUCK_BLOOD:5:10]
                [SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:BLOOD:LIQUID:100:100]
[ALL_ACTIVE]
[CANNOT_JUMP]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:PURPLE:1]
[TLCM_NOUN:skin:SINGULAR]
The body is a modified version of BASIC_1PARTBODY_THOUGHT with added grasp.

Also an unrelated question. is there any material besides blood, vomit or sweat that can cause a creature to give itself a syndrome? Instantly if possible.
« Last Edit: January 21, 2016, 01:40:40 pm by Cheesoburgor »
Logged
Im alive again after a 4 year break!

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Modded creature kills anything in a single hit
« Reply #1 on: January 21, 2016, 05:36:30 pm »

My guess would be the incredibly small contact area of the bite. Oddly, you didn't make it edged. Might want to give it [ATTACK_FLAG_EDGE] if you want it to actually cut with its bite. Maybe lower the attack's velocity and increase the prepare/recover speeds a bit, too.

Blunt damage doesn't care for penetration, and smaller contact areas benefit blunt attacks as it focuses the force more. So even though you would have only punched a small hole through the object, it would deal enough force to collapse the enemy in DF.
Logged

Cheesoburgor

  • Bay Watcher
  • [NO_SLEEP]
    • View Profile
Re: Modded creature kills anything in a single hit
« Reply #2 on: January 22, 2016, 09:14:41 am »

My guess would be the incredibly small contact area of the bite. Oddly, you didn't make it edged. Might want to give it [ATTACK_FLAG_EDGE] if you want it to actually cut with its bite. Maybe lower the attack's velocity and increase the prepare/recover speeds a bit, too.

Blunt damage doesn't care for penetration, and smaller contact areas benefit blunt attacks as it focuses the force more. So even though you would have only punched a small hole through the object, it would deal enough force to collapse the enemy in DF.

I did the following + made the attack velocity 40 and it seems to work fine now, thanks!
Logged
Im alive again after a 4 year break!