Bay 12 Games Forum

Please login or register.

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

Author Topic: A creature that drops something on death?...  (Read 4568 times)

antymattar

  • Bay Watcher
  • *Antymattar has created a Cat-ass-trophy*
    • View Profile
A creature that drops something on death?...
« on: July 26, 2010, 12:04:39 pm »

How can I make a creature that drops something when it dies. I mean, I want to make my forgotten treasure chest that when ''killed'' spawns some RANDOM weapon. how would I do this?

ghostxxx

  • Bay Watcher
  • and my Axe!
    • View Profile
Re: A creature that drops something on death?...
« Reply #1 on: July 26, 2010, 12:06:12 pm »

I don't know how that would work, but that would be AWESOME!
Logged

Diablous

  • Bay Watcher
  • [PREFSTRING:avatar's cuteness]
    • View Profile
Re: A creature that drops something on death?...
« Reply #2 on: July 26, 2010, 12:11:35 pm »

Code: [Select]
[ITEMCORPSE:STATUE:NO_SUBTYPE:INORGANIC:BRONZE]
Here's the tag that causes a bronze colossus to drop a bronze statue after death. You'll have to mess around with that.
Logged
Quote from: Solifuge
A catgirl, whom oft it would please
To dine on a pizza, with cheese,
Thought it was quite fine
To be partly feline,
Excepting the hairballs and fleas.

Funk

  • Bay Watcher
    • View Profile
Re: A creature that drops something on death?...
« Reply #3 on: July 26, 2010, 05:26:24 pm »

ITEMCORPSE_QUALITY by be help full to you.
Logged
Agree, plus that's about the LAST thing *I* want to see from this kind of game - author spending valuable development time on useless graphics.

Unofficial slogan of Bay 12 Games.  

Death to the false emperor a warhammer40k SG

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: A creature that drops something on death?...
« Reply #4 on: July 26, 2010, 05:50:10 pm »

[ITEMCORPSE:WEAPON:NO_SUBTYPE:INORGANIC:BRONZE]
[ITEMCORPSE_QUALITY:4]

It will drop a random weapon of the artifact quality.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

ghostxxx

  • Bay Watcher
  • and my Axe!
    • View Profile
Re: A creature that drops something on death?...
« Reply #5 on: July 26, 2010, 06:03:47 pm »

When you make the mod, post it please, I would love to use it!
Logged

Biag

  • Bay Watcher
  • Huzzah!
    • View Profile
Re: A creature that drops something on death?...
« Reply #6 on: July 26, 2010, 07:16:18 pm »

[ITEMCORPSE:WEAPON:NO_SUBTYPE:INORGANIC:BRONZE]
[ITEMCORPSE_QUALITY:4]

It will drop a random weapon of the artifact quality.

Does it come with a name, or is it just "artifact bronze longsword?"
Logged

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: A creature that drops something on death?...
« Reply #7 on: July 26, 2010, 07:39:07 pm »

Wasnt 4 excellent quality?

Also, if corpse items can be made caste specific, you can use use that to have it drop other item types as well.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

antymattar

  • Bay Watcher
  • *Antymattar has created a Cat-ass-trophy*
    • View Profile
Re: A creature that drops something on death?...
« Reply #8 on: July 27, 2010, 05:50:29 am »

Ok it works. But how do I make the quality magical? It says that there are those kinds of things too!

Also, How do I make it not move?

OmnipotentGrue

  • Bay Watcher
    • View Profile
Re: A creature that drops something on death?...
« Reply #9 on: July 27, 2010, 05:52:02 am »

Ok it works. But how do I make the quality magical? It says that there are those kinds of things too!

Also, How do I make it not move?

What moves?
Logged

antymattar

  • Bay Watcher
  • *Antymattar has created a Cat-ass-trophy*
    • View Profile
Re: A creature that drops something on death?...
« Reply #10 on: July 27, 2010, 06:16:33 am »

I want to make a chest but since it is a chest it should not move. So how do I make it not move?

OmnipotentGrue

  • Bay Watcher
    • View Profile
Re: A creature that drops something on death?...
« Reply #11 on: July 27, 2010, 06:21:44 am »

I want to make a chest but since it is a chest it should not move. So how do I make it not move?

Do you mean you want it to be an openable chest? A physical object, not a container?
Logged

antymattar

  • Bay Watcher
  • *Antymattar has created a Cat-ass-trophy*
    • View Profile
Re: A creature that drops something on death?...
« Reply #12 on: July 27, 2010, 06:27:07 am »

YAPY!!

ghostxxx

  • Bay Watcher
  • and my Axe!
    • View Profile
Re: A creature that drops something on death?...
« Reply #13 on: July 27, 2010, 06:29:21 am »

If you think logically, a megabeast will not be hauling a chest with him at all times. Now can he have a magically wonderful piece of item on him somewhere? Sure I can see that.
Logged

Patchouli

  • Bay Watcher
  • Where very delicious cake shop?
    • View Profile
Re: A creature that drops something on death?...
« Reply #14 on: July 27, 2010, 06:29:45 am »

I want to make a chest but since it is a chest it should not move. So how do I make it not move?
I don't think that it would work very well in fortress mode. I assume making a body without STANCE tags to any of the parts would prevent it from moving around though. Not 100% sure on that though.

Or you could just go for a mimic-type of enemy and have it move around.

If you think logically, a megabeast will not be hauling a chest with him at all times. Now can he have a magically wonderful piece of item on him somewhere? Sure I can see that.
I think he just wants a treasure chest laying around that he can beat up to get a weapon, not a chest dropped from a megabeast.
« Last Edit: July 27, 2010, 06:31:44 am by Patchouli »
Logged
Pages: [1] 2 3 4