Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Question on breath attacks  (Read 987 times)

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Question on breath attacks
« on: June 01, 2012, 08:27:41 am »

how would the token look if i was to add a material token to the breath attack how would it look like wiki didnt give any good advice  :-X
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Question on breath attacks
« Reply #1 on: June 01, 2012, 08:31:59 am »

What do you mean, "add a material token to the breath attack"?

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Question on breath attacks
« Reply #2 on: June 01, 2012, 10:51:51 am »

[CDI:MATERIAL:INORGANIC:LEAD:SOLID_GLOB]???

Like Putnam I am confused
Logged

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: Question on breath attacks
« Reply #3 on: June 01, 2012, 05:01:44 pm »

i was reading on the wiki it says you can define what it breathes such as gas liquid or solid i think
Logged

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: Question on breath attacks
« Reply #4 on: June 01, 2012, 05:02:10 pm »

what i mean is how would a breath attack look when placing it on a creature mainly
Logged

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: Question on breath attacks
« Reply #6 on: June 01, 2012, 08:39:45 pm »

dank ya
Logged

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: Question on breath attacks
« Reply #7 on: June 01, 2012, 09:39:10 pm »

where it says :LOCAL_CREATURE_MAT what do i have to change it so it doesnt rip off its skin to use fire?
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Question on breath attacks
« Reply #8 on: June 01, 2012, 09:45:51 pm »

erm... INORGANIC:<ID>
or
WATER:SOLID_GLOB
or
MUD:SOLID_GLOB
or
CREATURE_MAT:DOG:BONE:SOLID_GLOB
or
PLANT_MAT:REED_ROPE:THREAD:SOLID_GLOB

follows the same rules as reactions
Logged

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Question on breath attacks
« Reply #9 on: June 01, 2012, 09:49:02 pm »

where it says :LOCAL_CREATURE_MAT what do i have to change it so it doesnt rip off its skin to use fire?
LOCAL_CREATURE_MAT just means that whatever it is going to be breathing out is defined in the creature entry, just the same as how PLANT_MAT:XXXX means that a material is defined in a plant.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: Question on breath attacks
« Reply #10 on: June 01, 2012, 09:55:24 pm »

well i made a attempt but nothing comes out when the creature uses the attack this is what i got

 [CAN_DO_INTERACTION:MATERIAL_EMISSION]
       [CDI:ADV_NAME:Test]
       [CDI:USAGE_HINT:ATTACK]
       [CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
       [CDI:MATERIAL:LOCAL_CREATURE_MAT:FIREJET]
       [CDI:TARGET:C:LINE_OF_SIGHT]
       [CDI:TARGET_RANGE:C:15]
       [CDI:MAX_TARGET_NUMBER:C:1]
       [CDI:WAIT_PERIOD:50]
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Question on breath attacks
« Reply #11 on: June 01, 2012, 10:01:58 pm »

For those you want FLOW instead of a material.

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: Question on breath attacks
« Reply #12 on: June 02, 2012, 06:08:10 am »

which one do i change to flow?
Logged

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: Question on breath attacks
« Reply #13 on: June 02, 2012, 06:08:28 am »

since i swapped MATERIAL to FLOW but still no dice
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Question on breath attacks
« Reply #14 on: June 02, 2012, 11:57:02 am »

You want to replace both MATERIAL and LOCAL_CREATURE_MAT, since those are both materials. Look at the fire imp for an example.
Pages: [1] 2