I know that there is a code for making the weapon fire only when prone and I use that on most of my sniper rifles.
ObjectTemplate.fire.onlyFireWhenProne 1
My Question is. Is there a way to make a weapon only fire when standing or couching?
I want to implement the fire only when crouching into my anti-tank launchers and the standing one I want to implement in my large machine guns. The reason for the lmgs is I have all of my deployed lmgs set to fire only when prone, so in return I want the non deployed ones to only fire while crouching and standing and not in prone position.
Anyone that can help me I appreciate it. Thanks in advance.
[?] Stance firing modes?
-
Rhino
- Retired PR Developer
- Posts: 47909
- Joined: 2005-12-13 20:00
Re: Stance firing modes
nope, its amazing enough we have that line of code to play with since it wasn't used on any vBF2 weapons 
-
clondicke
- Posts: 64
- Joined: 2010-06-19 09:04
Re: Stance firing modes
Dang, Thanks for your help man, They Should have come out with a Standing and Crouching code too. That would be awesome.
-
Von_Gnome
- Posts: 563
- Joined: 2010-10-22 13:00
Re: Stance firing modes
Doesn't FH2 have something similar?
-
sweedensniiperr
- Posts: 2784
- Joined: 2009-09-18 10:27
Re: Stance firing modes
well they all have the same code(vBf2) to play around with and yes, in FH2 this code is used when wielding a machine gun deployed. (maybe, long time since i played)Von_Gnome wrote:Doesn't FH2 have something similar?
-
clondicke
- Posts: 64
- Joined: 2010-06-19 09:04
Re: Stance firing modes
I did that with the zoom option too. I made my machine guns only be able to fire and zoom while prone too. That code exists too. But would be awesome to be able to fire Rocket Launchers only in Crouch Mode. Kinda what Original Operation Flashpoint, ArmA and ArmA 2 did. The only thing is when you switch to the rocket launcher in those games, it makes you go crouch. you can't stand or prone while that weapon is equipped.


