Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Need help with an acid spraying power for a creature.  (Read 1607 times)

danmanthedog

  • Bay Watcher
    • View Profile
Need help with an acid spraying power for a creature.
« on: June 13, 2014, 03:51:44 pm »

Does any body know how make a acid spray attack for creatures?
Logged

4maskwolf

  • Bay Watcher
  • 4mask always angle, do figure his!
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #1 on: June 13, 2014, 03:59:17 pm »

What, specifically, do you want this acid spray to do?

danmanthedog

  • Bay Watcher
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #2 on: June 13, 2014, 04:33:55 pm »

Either to melt other creatures/dwarfs to nothing or just super fast instant rot the kills removes the area that was hit by said "acid".
Logged

danmanthedog

  • Bay Watcher
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #4 on: June 13, 2014, 04:57:11 pm »

Thank you everybody so I looked and I'm going to take the brown recluse spider venom, change it to a spraying liquid blog type of attack. To which I am hopping it will cause instant rot or at least "melting of the body."

Edit-Now I am having trouble trying to understand the breath attacks, I am trying to take said Acid poisen and turn it into a breathing attack but how do I turn it in to one.
Spoiler (click to show/hide)
« Last Edit: June 13, 2014, 05:39:50 pm by danmanthedog »
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #5 on: June 13, 2014, 06:36:02 pm »

Now I am having trouble trying to understand the breath attacks, I am trying to take said Acid poisen and turn it into a breathing attack but how do I turn it in to one.
Spoiler (click to show/hide)

Try looking at a few of the various creatures that use material emission attacks to get an idea of how it may look.

One example that I think may be close to what you want is the cave floater's juice-spraying attack. In the cave floater's raws, they have this:

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
 [CDI:ADV_NAME:Spray juice]
 [CDI:USAGE_HINT:ATTACK]
 [CDI:BP_REQUIRED:BY_CATEGORY:BODY]
 [CDI:MATERIAL:LOCAL_CREATURE_MAT:POD_JUICE:TRAILING_GAS_FLOW]
 [CDI:VERB:spray a stream of steaming juice:sprays a stream of steaming juice:NA]
 [CDI:TARGET:C:LINE_OF_SIGHT]
 [CDI:TARGET_RANGE:C:5]
 [CDI:MAX_TARGET_NUMBER:C:1]
 [CDI:WAIT_PERIOD:30]

Just change LOCAL_CREATURE_MAT:POD_JUICE to the material that you are using for your poison.
Logged

danmanthedog

  • Bay Watcher
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #6 on: June 13, 2014, 07:49:52 pm »

Now I am having trouble trying to understand the breath attacks, I am trying to take said Acid poisen and turn it into a breathing attack but how do I turn it in to one.
Spoiler (click to show/hide)

Try looking at a few of the various creatures that use material emission attacks to get an idea of how it may look.

One example that I think may be close to what you want is the cave floater's juice-spraying attack. In the cave floater's raws, they have this:

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
 [CDI:ADV_NAME:Spray juice]
 [CDI:USAGE_HINT:ATTACK]
 [CDI:BP_REQUIRED:BY_CATEGORY:BODY]
 [CDI:MATERIAL:LOCAL_CREATURE_MAT:POD_JUICE:TRAILING_GAS_FLOW]
 [CDI:VERB:spray a stream of steaming juice:sprays a stream of steaming juice:NA]
 [CDI:TARGET:C:LINE_OF_SIGHT]
 [CDI:TARGET_RANGE:C:5]
 [CDI:MAX_TARGET_NUMBER:C:1]
 [CDI:WAIT_PERIOD:30]

Just change LOCAL_CREATURE_MAT:POD_JUICE to the material that you are using for your poison.
So It should look like this.

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
 [CDI:ADV_NAME:Spray acid]
 [CDI:USAGE_HINT:ATTACK]
 [CDI:BP_REQUIRED:BY_CATEGORY:BODY]
 [CDI:MATERIAL:LOCAL_CREATURE_MAT:MAGGOT_ACID:LIQUID_GLOB]
 [CDI:VERB:spray a stream of acidic glob:sprays a stream of acidic glob:NA]
 [CDI:TARGET:C:LINE_OF_SIGHT]
 [CDI:TARGET_RANGE:C:7]
 [CDI:MAX_TARGET_NUMBER:C:1]
 [CDI:WAIT_PERIOD:20]
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Need help with an acid spraying power for a creature.
« Reply #7 on: June 13, 2014, 08:23:19 pm »

If you have the materials MAGGOT_ACID declared in your creature... then yes.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

danmanthedog

  • Bay Watcher
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #8 on: June 13, 2014, 09:24:36 pm »

If you have the materials MAGGOT_ACID declared in your creature... then yes.
Okay thanks and I am almost finished with the damm thing. This is what I have so far Critique is helpful and needed.

Code: [Select]
[CREATURE:CREATURE_1SFVOHNTL_RC]
[NAME:acid maggot:acid maggots:acid maggot]
[DESCRIPTION:A medium sized maggot like creature with the ability to spew disolving acids on it's wanabee attackers.]
[COLOR:7:0:1]
[CASTE_NAME:acid maggot:acid maggots:acid maggot]
[CREATURE_TILE: 'A']
[PREFSTRING:mouths]
[NATURAL][LARGE_ROAMING]
[PETVALUE:150]
[COMMON_DOMESTIC][TRAINABLE][PET]
[BODY:BODY_WITH_HEAD:2EYES:HEART:GUTS:BRAIN:MOUTH]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[REMOVE_MATERIAL:HAIR]
[REMOVE_MATERIAL:BONE]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:HAIR]
[REMOVE_TISSUE:BONE]
[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:SKIN:FAT:MUSCLE]
[NO_SLEEP]
[HAS_NERVES]

[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Spray acid]
[CDI:USAGE_HINT:ATTACK]
  [CDI:BP_REQUIRED:BY_CATEGORY:BODY]
  [CDI:MATERIAL:LOCAL_CREATURE_MAT:ACID_MAGGOT_ACID:LIQUID_GLOB]
  [CDI:VERB:spray a stream of acidic glob:sprays a stream of acidic glob:NA]
  [CDI:TARGET:C:LINE_OF_SIGHT]
  [CDI:TARGET_RANGE:C:7]
  [CDI:MAX_TARGET_NUMBER:C:1]
  [CDI:WAIT_PERIOD:20

[USE_MATERIAL_TEMPLATE:ACID:CREATURE_EXTRACT_TEMPLATE]
[STATE_NAME:ALL_SOLID:frozen maggot acid]
[STATE_ADJ:ALL_SOLID:frozen acid]
[STATE_NAME:LIQUID:maggot acid]
[STATE_ADJ:LIQUID:maggot acid]
[STATE_NAME:GAS:boiling maggot acid]
[STATE_ADJ:GAS:boiling maggot acid]
[PREFIX:NONE] 
[SYNDROME]
[SYN_NAME:acid maggot acid]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:ACID_MAGGOT:ALL]
[SYN_CONTACT]
[CE_NECROSIS:SEV:1000:PROB:100:LOCALIZED:VASCULAR_ONLY:START:50:PEAK:1000:END:2400]
« Last Edit: June 13, 2014, 09:26:33 pm by danmanthedog »
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #9 on: June 13, 2014, 09:34:37 pm »

Two things I've noticed:

1. The interaction asks for ACID_MAGGOT_ACID, but the material's ID is ACID.

2. The acid's syndrome has a creature called ACID_MAGGOT marked as immune, but the creature's ID is CREATURE_1SFVOHNTL_RC
Logged

danmanthedog

  • Bay Watcher
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #10 on: June 13, 2014, 09:43:50 pm »

Two things I've noticed:

1. The interaction asks for ACID_MAGGOT_ACID, but the material's ID is ACID.

2. The acid's syndrome has a creature called ACID_MAGGOT marked as immune, but the creature's ID is CREATURE_1SFVOHNTL_RC
Okay have to fix that interaction but the creature is because I used the masterwork (Talvieno's) random creature creater thing and used it for a basic outline of some sort. So once I fixed everything and test it I am really hoping the acid causes dwarfs to turn in to rotten glob piles. :D

Edit-Sorry about that didn't mean anything serious, so I got to say thank you everybody for giving me tips and helping me create this dwarf melter.
« Last Edit: June 13, 2014, 09:51:53 pm by danmanthedog »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Need help with an acid spraying power for a creature.
« Reply #11 on: June 13, 2014, 09:47:33 pm »

That's not Masterwork's random creature thing, it's Talvieno's. Try not to assume Masterwork includes anything original outside of raws or the GUI itself (and the raws have a lot of assimilated stuff, too).