Sniper rifle problem

Started by Delta327, September 12, 2015, 01:50:22 PM

Previous topic - Next topic
How do you have the sniper rifle fire multiple shots
PROJECTS:                                 
BF1:
Sector 3-4482-F
Solar System
BF2:
Shattered Galaxy
Project 171A

September 12, 2015, 09:01:20 PM #1 Last Edit: September 12, 2015, 09:11:54 PM by Anyder
I dont have now the modding tools, but just compare the rebel vanguard with the sniper...

Edit: thx for the fast answer, phobos  :cheers:
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

Quote from: Delta327 on September 12, 2015, 01:50:22 PM
How do you have the sniper rifle fire multiple shots
this line
TriggerSingle = "1"

change to 0 for auto fire
TriggerSingle = "0"

Quote from: Phobos on September 12, 2015, 09:07:19 PM
this line
TriggerSingle = "1"

change to 0 for auto fire
TriggerSingle = "0"

Ok can have it fire 6 times at once with the trigger on 0?
PROJECTS:                                 
BF1:
Sector 3-4482-F
Solar System
BF2:
Shattered Galaxy
Project 171A

Quote from: Delta327 on September 13, 2015, 08:25:08 AM
Ok can have it fire 6 times at once with the trigger on 0?
Set the shotdelay to 0.0 or 0.1 also and it will shoot all bullets in the clip very fast.

September 13, 2015, 12:42:49 PM #5 Last Edit: September 13, 2015, 12:59:34 PM by Shazam
I think he's wanting the sniper rifle to act like a shotgun, not an automatic weapon (if I am understanding him correctly)

Compare the sniperrifle.odf to the shotgun.odf and look for "salvo"

I think it would be something similar to this:
SalvoCount = 1
SalvoShots = 6

I'm not at my PC, so I'm not completely certain if those are the correct lines--someone with the mod tools handy can tell you exactly what they would be.

You can also tweak the spread to improve the accuracy.

Quote from: Shazam on September 13, 2015, 12:42:49 PM
I think he's wanting the sniper rifle to act like a shotgun, not an automatic weapon (if I am understanding him correctly)

Compare the sniperrifle.odf to the shotgun.odf and look for "salvo"

I think it would be something similar to this:
SalvoCount = 1
SalvoShots = 6

I'm not at my PC, so I'm not completely certain if those are the correct lines--someone with the mod tools handy can tell you exactly what they would be.

You can also tweak the spread to improve the accuracy.

Well it works but I fires 6 times instead of fireing multiple time like a rifle would.
PROJECTS:                                 
BF1:
Sector 3-4482-F
Solar System
BF2:
Shattered Galaxy
Project 171A

Quote from: Delta327 on September 13, 2015, 03:04:44 PM
Well it works but I fires 6 times instead of fireing multiple time like a rifle would.

What I said above is if you want it to shoot multiple shots at once, like a shotgun would.

To have it fire like a rifle would, follow Phobos's instructions.

Quote from: Shazam on September 13, 2015, 03:34:08 PM
What I said above is if you want it to shoot multiple shots at once, like a shotgun would.

To have it fire like a rifle would, follow Phobos's instructions.

Ok sorry I got confused.  Thanks.
PROJECTS:                                 
BF1:
Sector 3-4482-F
Solar System
BF2:
Shattered Galaxy
Project 171A