Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Spitting metal  (Read 875 times)

Morgorin

  • Bay Watcher
    • View Profile
Spitting metal
« on: March 09, 2013, 01:27:19 am »

Alright, to make a long story short, I'm making a creature, called a buffalot, to take over as my military. I'll focus all my dwarf resources on the domestics, these creatures will take all comers.  I had had the buffalot emitting webs, (with that, a buffalot can take out every other creature 1-on-1 except dragons and Bronze colossi, the latter comes to a stale-mate) but that seemed too unoriginal.  I want my buffalots to spit metal.  Here's the problem at the moment, it is spitting, but it is spitting globs of buffalot skin.  (Seriously, I'm almost tempted to keep this.  That's pretty bad-ass.)

Code:
Spoiler (click to show/hide)
Logged
Quote from: Xune
Urist McFred cancels these pants: too sexy.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Spitting metal
« Reply #1 on: March 09, 2013, 01:43:30 am »

INORGANIC, not LOCAL_CREATURE_MAT.

Morgorin

  • Bay Watcher
    • View Profile
Re: Spitting metal
« Reply #2 on: March 09, 2013, 02:03:27 am »

Thanks!  It's going to take a bit of tweaking, again.  Maybe I'll up the range and frequency, maybe change it to steel bolts or something, instead.  I don't know.  He died to a fire imp, but seems to kill everything without fire breath. 
Logged
Quote from: Xune
Urist McFred cancels these pants: too sexy.

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Spitting metal
« Reply #3 on: March 09, 2013, 11:16:06 am »

Heres what I used for a creature that uses a kind of fake crossbow:

   [USE_MATERIAL:BOLT:AM_STEEL]
      [STATE_NAME_ADJ:SOLID:armor man bolt]
      [SOLID_DENSITY:45000]
   [CAN_DO_INTERACTION:MATERIAL_EMISSION]
      [CDI:ADV_NAME:Fire crossbow]
      [CDI:USAGE_HINT:ATTACK]
      [CDI:BP_REQUIRED:BY_CATEGORY:WEAPON]
      [CDI:MATERIAL:LOCAL_CREATURE_MAT:BOLT:SOLID_GLOB]
      [CDI:VERB:fire:fires:NA]
      [CDI:TARGET:C:LINE_OF_SIGHT]
      [CDI:TARGET_RANGE:C:25]
      [CDI:MAX_TARGET_NUMBER:C:1]
      [CDI:WAIT_PERIOD:60]

Only problem is the 'bolts' still use the glob tile. Cant do anything about that, but otherwise its kinda like a crossbow.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!