Prevent a monster to drop ammos when it dies

Started by David B., 01 February 2013, 19:18:08

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

David B.

Hi everyone.

Is there any way to prevent an enforcer to drop a chaingun (as it sometimes happens) when he's killed ? Because this is changing a lot the gameplay when you're starting a map and you're supposed to have only the shotgun and the pistol in the beginning, and certainly not a chaingun with a lot of ammunitions (50 bullets or the chaingun !) each time you kill one (dropping stuff when killed happens too often !).
David B.

MSandt

Simply remove state drop_chaingun from the lizman's code.
"Whatever their future, at the dawn of their lives, men seek a noble vision of man's nature and of life's potential." -Howard Roark

Puritan

Damn, you're fast Mikko  :o
I was just about to reply the same solution.
Bitter words mean little to me. Autumn winds will blow right through me
And someday in the mist of time, when they asked me if I knew you
I'd smile and say you were a friend of mine, and the sadness would be lifted from my eyes
Oh when I'm old and wise

MSandt

I've been known to outrun a speeding bullet.
"Whatever their future, at the dawn of their lives, men seek a noble vision of man's nature and of life's potential." -Howard Roark

David B.

...I'm back.
Ok, many thanks for the solution Mikko.  :)
David B.