Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Help with MATERIAL_EMISSION  (Read 783 times)

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Help with MATERIAL_EMISSION
« on: November 07, 2012, 08:04:51 pm »

I'm about sick of having these damned things not work.
What is going wrong here?
Code: [Select]
[USE_MATERIAL_TEMPLATE:DUST:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:ghoul dust]
[STATE_ADJ:ALL_SOLID:ghoul dust]
[STATE_NAME:LIQUID:ghoul mist]
[STATE_ADJ:LIQUID:ghoul mist]
[STATE_NAME:GAS:ghoul gas]
[STATE_ADJ:GAS:ghoul gas]
[PREFIX:NONE]
[ENTERS_BLOOD]
[SYNDROME]
[SYN_NAME:ghoul dust thing]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:GHOUL_BLOB:ALL]
[SYN_INJECTED]
[SYN_INGESTED]
[SYN_CONTACT]
[SYN_INHALED]
[CE_PAIN:SEV:150:PROB:95:LOCALIZED:START:0:END:20]
[CE_BLEEDING:SEV:40:PROB:95:LOCALIZED:START:0:END:20]
[CE_OOZING:SEV:60:PROB:95:LOCALIZED:START:0:END:50]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Test dust]
[CDI:MATERIAL:DUST:TRAILING_VAPOR_FLOW]
[CDI:VERB:breathe a stream of vapor:breathes a stream of vapor:NA]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:25]
[CDI:MAX_TARGET_NUMBER:C:2]
[CDI:WAIT_PERIOD:100]
« Last Edit: November 07, 2012, 08:06:38 pm by Xangi »
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Krasudreal

  • Bay Watcher
    • View Profile
Re: Help with MATERIAL_EMISSION
« Reply #1 on: November 10, 2012, 07:27:24 pm »

Let me see... You named the syndrome-carrier material as "DUST", but you used this name in [CDI:MATERIAL:DUST:TRAILING_VAPOR_FLOW]... So it is correct...

It lacks a [CDI:BP_REQUIRED:BY_CATEGORY:MOUTH] or anything of the sort, however, I am not sure if this is the problem...

It haves [CDI:MAX_TARGET_NUMBER:C:2], which, I've never seen, Dragon's breath haves [CDI:MAX_TARGET_NUMBER:C:1], even if it can hit multiple enemies with it...

However... Above it all, WHAT exactly is going wrong with your tests?

Does the creature not use the attack at all? Or does it... Well... Just do nothing?
Logged
    SHE KILLED HER DAUGHTER AND TURNED HER INTO A PICK. A GODDAMN PICK. WHERE DO YOU EVEN GET ENOUGH BABY FOR A PICKAXE? THERE ISN'T ENOUGH BABY.
BLASPHEMY! THERE IS ALWAYS ENOUGHT BABY FOR EVERYONE!

random_odd_guy

  • Bay Watcher
    • View Profile
Re: Help with MATERIAL_EMISSION
« Reply #2 on: November 10, 2012, 07:59:48 pm »

Let me see... You named the syndrome-carrier material as "DUST", but you used this name in [CDI:MATERIAL:DUST:TRAILING_VAPOR_FLOW]... So it is correct...

It lacks a [CDI:BP_REQUIRED:BY_CATEGORY:MOUTH] or anything of the sort, however, I am not sure if this is the problem...

It haves [CDI:MAX_TARGET_NUMBER:C:2], which, I've never seen, Dragon's breath haves [CDI:MAX_TARGET_NUMBER:C:1], even if it can hit multiple enemies with it...

However... Above it all, WHAT exactly is going wrong with your tests?

Does the creature not use the attack at all? Or does it... Well... Just do nothing?

Sounds like you could fire it in two directions at once
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Help with MATERIAL_EMISSION
« Reply #3 on: November 10, 2012, 09:24:52 pm »

Remove [ENTERS_BLOOD] that is only needed for injectable poisons. I was looking at this 4 days ago, and I saw nothing wrong with it. Decided to hop back on, saw this on the front page and thought "maybe it got resolved" answer = No. Looked again and tada [ENTERS_BLOOD] is in there.

If you continued to use that tag, the only way this poison could harm anyone is if it was injected or coated on an 'Edged' weapon.
Logged

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: Help with MATERIAL_EMISSION
« Reply #4 on: November 12, 2012, 05:07:07 pm »

I'm about sick of having these damned things not work.
What is going wrong here?
Code: [Select]
[USE_MATERIAL_TEMPLATE:DUST:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:ghoul dust]
[STATE_ADJ:ALL_SOLID:ghoul dust]
[STATE_NAME:LIQUID:ghoul mist]
[STATE_ADJ:LIQUID:ghoul mist]
[STATE_NAME:GAS:ghoul gas]
[STATE_ADJ:GAS:ghoul gas]
[PREFIX:NONE]
[ENTERS_BLOOD]
[SYNDROME]
[SYN_NAME:ghoul dust thing]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:GHOUL_BLOB:ALL]
[SYN_INJECTED]
[SYN_INGESTED]
[SYN_CONTACT]
[SYN_INHALED]
[CE_PAIN:SEV:150:PROB:95:LOCALIZED:START:0:END:20]
[CE_BLEEDING:SEV:40:PROB:95:LOCALIZED:START:0:END:20]
[CE_OOZING:SEV:60:PROB:95:LOCALIZED:START:0:END:50]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Test dust]
[CDI:MATERIAL:DUST:TRAILING_VAPOR_FLOW]
[CDI:VERB:breathe a stream of vapor:breathes a stream of vapor:NA]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:25]
[CDI:MAX_TARGET_NUMBER:C:2]
[CDI:WAIT_PERIOD:100]
Needs to be LOCAL_CREATURE_MAT:DUST instead of just DUST.
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Help with MATERIAL_EMISSION
« Reply #5 on: November 12, 2012, 05:45:53 pm »

Oh hell, I thought everyone forgot about this one.

Yeah, it was LOCAL_CREATURE_MAT, dumb mistake. The sad part is I may not even use this creature (the one this was attached to), It was going to be a type of husk, but to be honest everything I want to do for husks just seems to be too bland. Bogeymen however, are going quite well, which is the opposite of what I was expecting.
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

random_odd_guy

  • Bay Watcher
    • View Profile
Re: Help with MATERIAL_EMISSION
« Reply #6 on: November 12, 2012, 06:30:40 pm »

However, if you just put the material in the MATERIAL raws, it doesn't need to be LOCAL_CREATURE_MAT
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Help with MATERIAL_EMISSION
« Reply #7 on: November 12, 2012, 07:43:07 pm »

You mean INORGANIC.

random_odd_guy

  • Bay Watcher
    • View Profile
Re: Help with MATERIAL_EMISSION
« Reply #8 on: November 12, 2012, 07:57:15 pm »

You mean INORGANIC.
Yes, yes I do

more specifically: INORGANIC:MATERIALNAMEHERE
Logged