R@S you're amazing, thanks for the update! I didn't go back and check if it actually fixed the OICW issue I was having, since I just cheated for the launcher so I could complete it.
Quote:
Originally Posted by D_F_N
@ linhphap
I dont think there is a way to stop the rifle from firing bullets when using a rifle-grenade. We ve talked about this with R@S and the code is limiting. You ll have to restrain yourself from firing bullets when your rifle is armed with a grenade.
|
Well attachments blocking some shooting is already in with some scopes keeping you from using the non-scoped aimed shot (the line BlocksAiming 1" in addoninfo).
Could you extend that and have an attachment that blocks using the aimed, snap, and hip shot modes, effectively blocking all shooting? I'm thinking something along the lines of having the rifle grenade be treated as a preloaded underbarrel launcher that uses the scope's "blocksaiming" code. So in order to fire you'd be adding an attachment, firing, then taking the attachment off to be able to fire again.
The ideal way to do it would be to have a built in module that acts as a UGL and blocks firing only when loaded, but I don't know how you'd do that.
Or just the self limited thing you said.
Edit: can you make explosive bullets? If so you could create a one shot magazine for the gun using explosive bullets. So if I wanted to use a rifle grenade on my FAMAS I'd "reload" and take out the 5.56 magazine, put in my one round grenade magazine, then reload with the 5.56 magazine. You would not want the "grenade" to be another 5.56mm round, or you could just load them into any M16 and shoot off 30 of them. I know a gun can use two calibers, having played around with a Beretta that takes 15 rnd 9mm mags as well as the 20rnd SOCOM magazine (looked hilarious). I guess you couldn't control trajectory though, making it kinda pointless (or can you? I'm guessing no, but I haven't actually looked).