OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Baphomet on 16 Apr 2003, 05:40:04

Title: Making a gun not discharge cartriges
Post by: Baphomet on 16 Apr 2003, 05:40:04
I vaguely recall some variable that you could use to disable a gun from ejecting any shells when it's fired. I'm making a kozlice like addon and when I fire the shell version, a bunch of casings fly out for ever bullet in the burst. Does anyone recall how do disable it?
Title: Re:Making a gun not discharge cartriges
Post by: major asshole on 16 Apr 2003, 07:52:33

G'day

It appears to me that this is defined in CfgAmmo
so you could try   cartridge="";

hope this helps

L8R
Title: Re:Making a gun not discharge cartriges
Post by: Baphomet on 18 Apr 2003, 04:10:27
Thanks very much. I knew it was something like that. I just couldn't remember.