Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [NEED HELP]Problems with poison based breath attack  (Read 904 times)

SadistMarx

  • Escaped Lunatic
    • View Profile
[NEED HELP]Problems with poison based breath attack
« on: February 05, 2014, 11:28:31 am »

I'm working on a custom megabeast with multiple breath attacks that cause a syndrome. For some reason, they don't seem to be working the way they should. Here's the current code:
Code: [Select]
[USE_MATERIAL_TEMPLATE:POISON:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:Black Ooze jelly]
[STATE_ADJ:ALL_SOLID:Quivering]
[STATE_NAME:LIQUID:Black Ooze fluid]
[STATE_ADJ:LIQUID:Viscous]
[STATE_NAME:GAS:Black Ooze gas]
[STATE_ADJ:GAS:Deathly]
[PREFIX:NONE]
[SYNDROME]
[SYN_NAME:Black Ooze Poison]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:OOZE_GIANT_POISONOUS_HUMANOID:ALL]
[SYN_CONTACT]
[SYN_INGESTED]
[SYN_INHALED]
[CE_PARALYSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:30:PEAK:1000:END:10000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:30:PEAK:60:END:1200]
[USE_MATERIAL_TEMPLATE:VENOM:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:Black Ooze jelly]
[STATE_ADJ:ALL_SOLID:Quivering]
[STATE_NAME:LIQUID:Black Ooze fluid]
[STATE_ADJ:LIQUID:Viscous]
[STATE_NAME:GAS:Black Ooze gas]
[STATE_ADJ:GAS:Deathly]
[PREFIX:NONE]
[ENTERS_BLOOD]
[SYNDROME]
[SYN_NAME:Black Ooze Venom]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:OOZE_GIANT_POISONOUS_HUMANOID:ALL]
[SYN_INJECTED]
[SYN_CONTACT]
[SYN_INGESTED]
[SYN_INHALED]
[CE_PARALYSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:30:PEAK:1000:END:10000]
[CE_NECROSIS:SEV:1000:PROB:100:BP:BY_CATEGORY:ALL:ALL:START:30:PEAK:60:END:1200]


[CAN_DO_INTERACTION:MATERIAL_EMISSION]
  [CDI:ADV_NAME:Emit Poison Vapor]
  [CDI:USAGE_HINT:ATTACK]
  [CDI:BP_REQUIRED:BY_CATEGORY:HAND]
  [CDI:MATERIAL:LOCAL_CREATURE_MAT:POISON:TRAILING_VAPOR_FLOW]
  [CDI:TARGET:C:LINE_OF_SIGHT]
  [CDI:TARGET_RANGE:C:15]
  [CDI:MAX_TARGET_NUMBER:C:1]
  [CDI:WAIT_PERIOD:1]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
  [CDI:ADV_NAME:Emit Poison Dust]
  [CDI:USAGE_HINT:ATTACK]
  [CDI:BP_REQUIRED:BY_CATEGORY:HAND]
  [CDI:MATERIAL:LOCAL_CREATURE_MAT:POISON:TRAILING_DUST_FLOW]
  [CDI:TARGET:C:LINE_OF_SIGHT]
  [CDI:TARGET_RANGE:C:15]
  [CDI:MAX_TARGET_NUMBER:C:1]
  [CDI:WAIT_PERIOD:1]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
  [CDI:ADV_NAME:Emit Poison Gas]
  [CDI:USAGE_HINT:ATTACK]
  [CDI:BP_REQUIRED:BY_CATEGORY:HAND]
  [CDI:MATERIAL:LOCAL_CREATURE_MAT:POISON:TRAILING_GAS_FLOW]
  [CDI:TARGET:C:LINE_OF_SIGHT]
  [CDI:TARGET_RANGE:C:15]
  [CDI:MAX_TARGET_NUMBER:C:1]
  [CDI:WAIT_PERIOD:1]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
  [CDI:ADV_NAME:Throw Poison Glob]
  [CDI:USAGE_HINT:ATTACK]
  [CDI:BP_REQUIRED:BY_CATEGORY:HAND]
  [CDI:MATERIAL:LOCAL_CREATURE_MAT:POISON:LIQUID_GLOB]
  [CDI:TARGET:C:LINE_OF_SIGHT]
  [CDI:TARGET_RANGE:C:15]
  [CDI:MAX_TARGET_NUMBER:C:1]
  [CDI:WAIT_PERIOD:1]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:strike:strikes]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:VENOM:LIQUID:100:100]
[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:MAIN]
[ATTACK_FLAG_CANLATCH]
[SPECIALATTACK_INJECT_EXTRACT:LOCAL_CREATURE_MAT:VENOM:LIQUID:100:100]
Is there something wrong with it? is there a limit to the amount of material emission attacks that a creature can have? Help would be great here.
Logged

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Re: [NEED HELP]Problems with poison based breath attack
« Reply #1 on: February 05, 2014, 01:37:31 pm »

Uhhh can you tell us a little more about what they are doing? I can't really figure out whats wrong just from " they don't seem to be working the way they should."
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [NEED HELP]Problems with poison based breath attack
« Reply #2 on: February 05, 2014, 05:45:29 pm »

You can have as many material emissions as you like as proven by a few of my automation creatures

Spoiler (click to show/hide)

and as Spiderking says, what is not working?
Logged