Weapon sway/gun spread

Post » Thu Apr 01, 2010 5:33 am

Can someone tell me how to make weapons sway depend on our skill? I thought it was in the gun spread formula - fGunSpreadSkillBase +(fGunSpreadSkillMult * ActorSkillValue). I've changed the skillbase and the skillmulti with a mod and ingame with the SetGS command, but neither one seem to make a difference. I still want to bullets to fire straight from the gun, depending on the individual guns spread, but I want our skill value and strength to determine how steady we can aim.

The GECK shows fGunSpreadSkillBase = to .5 and fGunSpreadSkillMult = to -.005. I've change these setting to what I thought were absurd numbers but the gun sway didn't change.

Does any one know what these setting do?
fMinGunSpreadValue =http://forums.bethsoft.com/index.php?/topic/1142134-weapon-swaygun-spread/.02
fIronSightsMotionBlur = 0
fIronSightsGunMotionBlur =0
fGunSpreadDriftMult= 0

Thanks
User avatar
Bloomer
 
Posts: 3435
Joined: Sun May 27, 2007 9:23 pm

Post » Thu Apr 01, 2010 8:08 am

I think what you're looking for is fWobbleToSkillConversion. Others that will have a notable impact on weapon sway are:
  • fRunningSpreadPenalty
  • fStandingSpreadPenalty
  • fUnaimedSpreadPenalty
  • fWalkingSpreadPenalty
  • fNonAttackGunWobbleMult
  • fMinGunSpreadValue

I made a mod that alters the way aim steadiness works, for personal use, and I had to add a Perk with "Calculate Gun Spread" Entry Points to pull it off the way I really wanted in all situations. Notably crouching and post-shooting accuracy had to be dealt with that way. They were far too steady for my liking.
User avatar
Abi Emily
 
Posts: 3435
Joined: Wed Aug 09, 2006 7:59 am

Post » Thu Apr 01, 2010 6:38 am

Yep, the spread formula was considerably changed and the old game settings no longer have any effect, instead the ones pelinor posted are now used. The influence the actor skill has is that after all penalities have been summarized, they are multiplied by 1 - (skill * 0.005), so 1.0 at 0 skill and 0.5 at 100 skill.
User avatar
..xX Vin Xx..
 
Posts: 3531
Joined: Sun Jun 18, 2006 6:33 pm

Post » Thu Apr 01, 2010 10:57 am

Thanks Pelinor and Schlanster. Do either one of you have a formula for these settings? Or are just added together like this?

(fRunningSpreadPenalty + fStandingSpreadPenalty + fUnaimedSpreadPenalty + fWalkingSpreadPenalty + fNonAttackGunWobbleMult + fMinGunSpreadValue) * (1 - (skill * 0.005))

How did you guys puzzle this out?
User avatar
LijLuva
 
Posts: 3347
Joined: Wed Sep 20, 2006 1:59 am

Post » Thu Apr 01, 2010 5:57 am

Yes we have have a (hopefully) complete formula because we did lots of testing during the past weeks for a mod we're working on. Once that's done and we are not that busy anymore someone will write down what we found out so far and post it.
User avatar
Roisan Sweeney
 
Posts: 3462
Joined: Sun Aug 13, 2006 8:28 pm

Post » Thu Apr 01, 2010 1:40 am

Well thanks again. It looks you guys may be addressing some issues that I have with combat. Maybe I'll just let the pros handle it.
If you're also going to change weapon - range, recoil, speed , volume, damage, crit chance, and crit damage (don't ask for much do I) then I'd be a happy man.
User avatar
James Baldwin
 
Posts: 3366
Joined: Tue Jun 05, 2007 11:11 am

Post » Wed Mar 31, 2010 11:31 pm

Yep, the spread formula was considerably changed and the old game settings no longer have any effect

hmm.... ouch ... that explaines some things ^^

two questions: is it
1 - (skill * 0.005)
or
1 + (skill * -0.005)
i am asking because the "fGunSpreadSkillMult" is -0.005 ... yes i can be very nitpicking ;)
or is the 0.005 a fixed value?

If not, it seems, the "fGunSpreadSkillMult" is the only skill-dependant factor in the new formula ... hopefully there is one *g*

how about "fDamageSkillBase" and "fDamageSkillMult", are they still "in use" ?
User avatar
{Richies Mommy}
 
Posts: 3398
Joined: Wed Jun 21, 2006 2:40 pm

Post » Thu Apr 01, 2010 9:30 am

hmm.... ouch ... that explaines some things ^^

two questions: is it
1 - (skill * 0.005)
or
1 + (skill * -0.005)
i am asking because the "fGunSpreadSkillMult" is -0.005 ... yes i can be very nitpicking ;)
or is the 0.005 a fixed value?

If not, it seems, the "fGunSpreadSkillMult" is the only skill-dependant factor in the new formula ... hopefully there is one *g*

how about "fDamageSkillBase" and "fDamageSkillMult", are they still "in use" ?

As far as I remember, all those spread-related XMult, XBase game settings are no longer used. This includes fGunSpreadSkillMult, the 0.005 are static (you can try setting either base or skill to some very high value, it shouldn't have any effect).
I dont know about "fDamageSkillBase" and "fDamageSkillMult", only tested spread stuff :)
User avatar
bonita mathews
 
Posts: 3405
Joined: Sun Aug 06, 2006 5:04 am


Return to Fallout: New Vegas