Been messing with this for a couple days now, battlefield code has not been kind or even logical sometimes. I'm trying to set it up so a single weapon can fire two things. Well, let me go back...
The original idea was to set up a weapon to fire without switching. Like Call of Duty 2 you hit the grenade button, it just throws a grenade without switching to it. Huge for gameplay, you could have quick access to certain impulsive waepons. I tried resetting the FireInput to different keys, tried sustained fire and automatically switching back, no luck.
So the second idea, try adding an alt-fire weapon to one weapon. For example, hit the alt, or another key under the M16, fire the GL. Tried adding a GenericFireArm, nesting one, some of the old AltWeapon code from BFV. Tried making other weapons inside of it that would be accessed by alternate keys, again, no luck.
So I'm out of ideas, and I'd appreciate ANY help or ideas people have on this one. I'm not trying to turn this game into Unreal, but my group has some great re-built classes and we're trying to incorporate these sort of quick-access defensive weapons as alternates to the main rifles to give each class a different emergency defense to be used in the middle of battle.
The original idea was to set up a weapon to fire without switching. Like Call of Duty 2 you hit the grenade button, it just throws a grenade without switching to it. Huge for gameplay, you could have quick access to certain impulsive waepons. I tried resetting the FireInput to different keys, tried sustained fire and automatically switching back, no luck.
So the second idea, try adding an alt-fire weapon to one weapon. For example, hit the alt, or another key under the M16, fire the GL. Tried adding a GenericFireArm, nesting one, some of the old AltWeapon code from BFV. Tried making other weapons inside of it that would be accessed by alternate keys, again, no luck.
So I'm out of ideas, and I'd appreciate ANY help or ideas people have on this one. I'm not trying to turn this game into Unreal, but my group has some great re-built classes and we're trying to incorporate these sort of quick-access defensive weapons as alternates to the main rifles to give each class a different emergency defense to be used in the middle of battle.
Comment