More than two different projectiles from a single gun

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

More than two different projectiles from a single gun

Post by CaptainPoopface »

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?
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

ugh...old plugins you have, upgrade you must....

edit: /Sigged
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
User avatar
Zone 117




Pi Trickster Stylist Advisor
Snitch! Connoisseur

Posts: 799
Joined: Wed Nov 09, 2005 4:37 pm
Location: Want to be in Asia :'(

Post by Zone 117 »

xzodia wrote:ugh...old plugins you have, upgrade you must....

edit: /Sigged
LOL.
CaptainPoopface, listen to master Yoda, for he is wise.
:P
Image Thanks for the sig Xiion :P
[ AI Revision ][ Sewer ][ Boat Mod ][ Archaic ]
Remapped: Mod Archive and Forums.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post by CaptainPoopface »

Yeah, I got the fresh plugins. Thanks Xzodia. So the 2-element enum definitely isn't the problem, but I still can't get this to work. Cloning two additional chunks in the Triggers reflexive results in a bunch of broken idents. If they are left broken, the gun can't even be picked up. It looks like a busted toy gun half submerged in the earth. Explicitly nulling out the broken idents makes the gun wieldable, but the ammo in the HUD and FP animation is messed up and the gun won't shoot, as described above.

Come to think of it, I don't think I've ever successfully changed a gun's firing type to Semi + Charged. Is that a botch on my part, or have other people had the same problem?

So I tried adding a second trigger to the plasma pistol, just for kicks and giggles. All I managed to do was break the charged shot on the right trigger, whilst inhibiting my grenades. Party people say woo.

Any other suggestions? This has to be possible. And I doubt I'm the only person who wants a 4-projectile gun...
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

hmmm...can't say i've ever experienced what your discribing...so i'll do some tests when i have time...

(atm i'm working on something which i think everyone will enjoy XD)
Last edited by xzodia on Sat Aug 18, 2007 7:11 am, edited 1 time in total.
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
User avatar
killarzachary




Coagulator Recreator Snitch!

Posts: 934
Joined: Sat Mar 03, 2007 9:26 am
Location: High School
Contact:

Post by killarzachary »

Adding projectiles to a gun is easy, heck you can add four. R trigger L trigger B button and automatewd firing.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post by CaptainPoopface »

killarzachary wrote:Adding projectiles to a gun is easy, heck you can add four. R trigger L trigger B button and automatewd firing.
Well, if it's easy, slap a gun together and post it in the Downloads or PM me a link or make a tutorial! Forget about skinning it or balancing it. Just post it as a user-customizable skeleton, and I promise I'll invite you to my birthday party (VIPs get all the ice cream they can eat, and only I can get you on the list).

I forgot about the B button and didn't know about autofire. Does autofire go off continuously unless inhibited by one of the other triggers? That would be some funkiness. And wouldn't this theoretically give you a SIX projectile gun? R semi, R charged, L semi, L charged, B, Autofire? I'll need to see it before I wet my pants over it though.
Post Reply