by Spike » Thu Feb 11, 2010 3:24 pm
monsters drop stuff because they piggyback the player's drop code.
weapons, ammo can be dropped.
powerups and keys cannot normally be dropped.
that said, keys are not special, and you can probably achieve the same effect by setting the .weapon field to IT_KEY1 or so, by hijacking the weapon dropping code. I just hope it doesn't automatically switch...
Of course, it'll have the regular backpack model. It'll only last for 2 mins max, and it may fall down somewhere that is inaccessible (lava pit, anyone?).
If you want a key to drop properly, you'll need QC code to explicitly do it.
On the other hand, having the monster death trigger a massive drawbridge that swivels down out of the rockface over lava to reveal the much desired key would give a slightly more epic feel to your map. And it would slow down those quakedonequick people a bit, too. Its funny watching them wait.
.