Full Auto
Moderator: Moderators
- ThePanda
- Private Second Class
- Posts: 74
- Joined: Sat Dec 20, 2008 4:22 pm
Re: Full Auto
Code: Select all
TriggerSingle = "0"- ArkAngel
- Rebel Sergeant

- Posts: 215
- Joined: Fri Nov 13, 2009 10:00 am
Re: Full Auto
I have that in the weapon's odf file, but it's still semi-automatic. It's a grenade launcher from the clone commando asset.
- skelltor
- Sith

- Posts: 1431
- Joined: Fri Dec 11, 2009 6:24 pm
- Projects :: BFSM
- xbox live or psn: skelltor95
- Location: minisnowta
- Contact:
Re: Full Auto
remove shot delay
- sampip
- General

- Posts: 792
- Joined: Mon Mar 16, 2009 12:08 pm
- Projects :: Something big. And exciting.
- xbox live or psn: masowner66
- Location: Zebra
Re: Full Auto
Shot delay is the same as the rifle (which is automatic) as in the pistol (which is not)and the rifle and I don't think it is what he needs to remove to make it automatic.skelltor wrote:remove shot delay
Can you post your weapon odf please?
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Full Auto
Also are you talking about emptying the normal 25 round clip or the whole thing, example for the All rifleman it would be 300. If that is the case change the rounds per clip
- ArkAngel
- Rebel Sergeant

- Posts: 215
- Joined: Fri Nov 13, 2009 10:00 am
Re: Full Auto
Here's the ODF
Basically, I want it so that when I hold down the mouse button, it will continuously fire. (I Know that some of the parameters are extreme, it's because it's a dann_boeingesque weapon lol.)
Hidden/Spoiler:
Basically, I want it so that when I hold down the mouse button, it will continuously fire. (I Know that some of the parameters are extreme, it's because it's a dann_boeingesque weapon lol.)
- sampip
- General

- Posts: 792
- Joined: Mon Mar 16, 2009 12:08 pm
- Projects :: Something big. And exciting.
- xbox live or psn: masowner66
- Location: Zebra
Re: Full Auto
Try taking out:
Code: Select all
HeatRecoverRate = "0.15"
HeatThreshold = "0.3"
HideOnFire = "0"-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
Re: Full Auto
Change the classlabel to "Cannon"
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: Full Auto
Those lines above are fine. They're used with com_weap_inf_mortarlauncher, and don't relate directly to the issue. Also, the difference between the pistol, mortar launcher, and rifle odfs is the TriggerSingle line, which is set to 1 for the pistol and mortar launcher, making them fire only one shot/salvo per button press.
However, I'm not so sure having the ShotDelay at five ten-thousandths of a second is such a great idea. Ten ShotsPerSalvo at that rate literally means you've fired ten shots in five thousandths of a second. (Meaning it would barely be perceptible, if it could be perceived at all.) So, it would seem that you're seeing the entire salvo as one shot. Honestly, I'm a little fuzzy on salvo values, but I'd still suggest making the delay something in the neightborhood of a few tenths or maybe hundredths of a second, then adjust the value as needed.
Back to the actual question, you have a salvo set up, so it's going to burst fire.
That's from com_weap_inf_rifle, and you can throw in ShotsPerSalvo = "1" if you want, though I think that's the default setting when it's not present.
Edit: PS, the mortar launcher uses the grenade classlabel, so that should be fine, unless there's some necessary parameter used by cannon weapons that can't be used by the current classlabel.
However, I'm not so sure having the ShotDelay at five ten-thousandths of a second is such a great idea. Ten ShotsPerSalvo at that rate literally means you've fired ten shots in five thousandths of a second. (Meaning it would barely be perceptible, if it could be perceived at all.) So, it would seem that you're seeing the entire salvo as one shot. Honestly, I'm a little fuzzy on salvo values, but I'd still suggest making the delay something in the neightborhood of a few tenths or maybe hundredths of a second, then adjust the value as needed.
Back to the actual question, you have a salvo set up, so it's going to burst fire.
Code: Select all
SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"Edit: PS, the mortar launcher uses the grenade classlabel, so that should be fine, unless there's some necessary parameter used by cannon weapons that can't be used by the current classlabel.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: Full Auto
im pretty sure it you want a full auto rifle you need to remove teh charge rate stuff.
- ArkAngel
- Rebel Sergeant

- Posts: 215
- Joined: Fri Nov 13, 2009 10:00 am
Re: Full Auto
cool, it worked, now how do I stop them from exploding in the air?
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: Full Auto
may I ask what the objective of this gun is? and btw you have this line twice: ExtremeRange = 480 or whatever you have it set to, not even sure if thats even a real line, might check up on it later.
- ArkAngel
- Rebel Sergeant

- Posts: 215
- Joined: Fri Nov 13, 2009 10:00 am
Re: Full Auto
The objective is carpet bombing lol
