More than two different projectiles from a single gun
Posted: Fri Aug 17, 2007 1:44 pm
We all know how to add a second trigger to a gun by cloning the Firing Info chunk, thanks to Monkey Terd (in my case, anyway). If you set the firing type of both triggers to Semi + Charged, it should allow you to shoot up to four different projectiles (R semi, R charged, L semi, L charged), right? I've never succeeded at this, however. I've cloned chunks in the Triggers reflexive so that there are four potential projectiles. But having more than two chunks in the Triggers reflexive breaks the gun in various ways. The ammo count is something like 26240, but the HUD and FP model show a depleted clip that can't be reloaded, and firing doesn't work. Deleting the added chunks in the Triggers reflexive restores the gun's functionality.
There is an enum in the Firing Info reflexive in which you assign projectiles to a trigger (first projectile used, second projectile used). I'm wondering if this might be the brick wall, because the enum only allows two different chunks, or null. So when there are more than two chunks in the reflexive, the gun breaks.
Does that mean no gun in the game can shoot more than two different projectiles? Is there a way to edit that enum to support more than two chunks? Is there any other way to do this? Dual wielding is an unattractive workaround.
I have a few different grenade types by now, in addition to the default nades, and I'd like to shoot/drop them all from one gun enabled as a third weapon. But it would also be fun to have one BALANCED gun that shoots grenades, rockets, flames and bullets, for example. It could be given a stiff movement penalty, slow rate of fire, slow reload time, etc.
Does anyone know how to do this, or if it's possible?
There is an enum in the Firing Info reflexive in which you assign projectiles to a trigger (first projectile used, second projectile used). I'm wondering if this might be the brick wall, because the enum only allows two different chunks, or null. So when there are more than two chunks in the reflexive, the gun breaks.
Does that mean no gun in the game can shoot more than two different projectiles? Is there a way to edit that enum to support more than two chunks? Is there any other way to do this? Dual wielding is an unattractive workaround.
I have a few different grenade types by now, in addition to the default nades, and I'd like to shoot/drop them all from one gun enabled as a third weapon. But it would also be fun to have one BALANCED gun that shoots grenades, rockets, flames and bullets, for example. It could be given a stiff movement penalty, slow rate of fire, slow reload time, etc.
Does anyone know how to do this, or if it's possible?