Jump to content

Agility= Run Speed


dukeskyrunner

Recommended Posts

I've been toying with the GECK trying to create a mod that increases or decreases player run speed based on Agility.

I have tried modifying a similar mod for Fallout 3 that uses Strength and Endurance to modify player scale:

http://www.fallout3nexus.com/downloads/file.php?id=1540

 

Here's what I've got so far, but it doesn't do squat:

 

scn zzFastSlowScript

 

float playerAgilityMod

float playerSpeedMod

float playerSpeedModStored

int doOnce

 

Begin GameMode

;Get Agility. For each 1 point above 5 scale increases by 10%. For each 1 point below 5, scale decreases by 10%

set playerAgilityMod to ((player.GetPermAV Agility) -5 ) * 10

; Initilaize Stored Speed Mod

if (doOnce !=1)

set playerSpeedModStored to 0

set doOnce to 1

endif

; Calculate Speed Mod

set playerSpeedMod to 1 + playerAgilityMod

if (playerSpeedModStored != playerSpeedMod)

set playerSpeedModStored to playerSpeedMod

player.SetAV SpeedMult playerSpeedMod

endif

End

 

And yes, I've tried sneaking, walking, holstering, switching 1 to 2 handed weapons, etc, there is no change in speed.

I've got a UI mod with a speedometer that doesn't change weather my Agility is at 1 or 10.

Is there an easier way to get this to work?

Is there a harder way?

I just kind of thought Agility should have an effect on how fast you move your legs.

 

 

Edit: Never mind, found a mod that does this, among other things. Thanks for all the replies. (*tongue so far in cheek i can taste outside*)

Edited by dukeskyrunner
Link to comment
Share on other sites

EDIT: never mind, i see you already got what you need Edited by ghostrecon123
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...