recombinant Posted April 25, 2003 Share Posted April 25, 2003 Does anyone here know if it's possible to modify the bryar pistol's ALT-Fire behavior - specifically, to remove the shaking and charge-up? I'd like the alt-fire to behave basically just like a high powered primary fire, without the charging. Where in the JK2MP code can I accomplish this? Sorry... I'm just a bit rusty after not digging around in the code for a few months. Link to comment Share on other sites More sharing options...
RenegadeOfPhunk Posted April 25, 2003 Share Posted April 25, 2003 g_weapon.c -> WP_FireBryarPistol() (there is an if block which checks the altFire param. This is the stuff you'll specifically need to change in this function) probably other areas of code you'll need to change, but there's a starting point for ya Link to comment Share on other sites More sharing options...
recombinant Posted April 25, 2003 Author Share Posted April 25, 2003 i also found a PM_DoChargedWeapons as well... that might be helpful. I'll try it out. Link to comment Share on other sites More sharing options...
recombinant Posted April 25, 2003 Author Share Posted April 25, 2003 Done. The code in PM_DoChargedWeapons (in bg_pmove.c) seemed to have the biggest effect, since it governs which weapons have the charging effect and which don't. Also CG_AddPlayerWeapon() had some stuff that included the bryar pistol's charging, so I commented that out as well, and... no charging! Thanks for your help! Link to comment Share on other sites More sharing options...
Wudan Posted April 26, 2003 Share Posted April 26, 2003 Ah... JediStone... back at it again... Link to comment Share on other sites More sharing options...
razorace Posted April 26, 2003 Share Posted April 26, 2003 JediStone: Rides Again. Link to comment Share on other sites More sharing options...
Wudan Posted April 26, 2003 Share Posted April 26, 2003 Damn, I was planning a memorial mod. Jedi Stone: Pain from Beyond Link to comment Share on other sites More sharing options...
razorace Posted April 27, 2003 Share Posted April 27, 2003 That sounds like some sort of kinky porno. Link to comment Share on other sites More sharing options...
recombinant Posted April 28, 2003 Author Share Posted April 28, 2003 Man, you guys are BRUTAL!!! As Rodney Dangerfield would say, "Huh, I tell ya - I get no respect, no respect at all..." Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.