cheerio123 Posted January 4, 2009 Share Posted January 4, 2009 Hi.I tried to create a new Perk in G.E.C.K.A Perk that increases the run multiplier by 25%.I use this script:float old float new set old to GetGameSetting fMoveRunMult set new to old*1.25 setgamesetting fMoveRunMult new but setgamesetting is a console only command. so how do i change the fmoverunmult variable via a script? Link to comment Share on other sites More sharing options...
wyverex Posted January 5, 2009 Share Posted January 5, 2009 set old to player.GetActorValue SpeedMult Player.SetActorValue SpeedMult new SpeedMult - Value is divided by 100. For NPCs, modifies the base speed fMoveBaseSpeed before accounting for encumberance; for creatures this modifies the speed of the animation. Link to comment Share on other sites More sharing options...
cheerio123 Posted January 5, 2009 Author Share Posted January 5, 2009 i tried to change the value of speedmult with a script, did not work. then i created an ability which increases the value of speedmult (just like the abilitys that increase skills or special from original perks), but it did not work...ingame i can change the speedmult with the console of course. how does it work? Link to comment Share on other sites More sharing options...
Khet Posted January 5, 2009 Share Posted January 5, 2009 If it's a relatively low number you aren't going to be able to easily see the change. Unless it's incredibly high like 50-100% increase. Link to comment Share on other sites More sharing options...
cheerio123 Posted January 5, 2009 Author Share Posted January 5, 2009 i've already tested some values ingame with the console commands, my problem is to change the value if the perk was chosen. my own scripts did not work and the way other perks modify values did not work either. whats so special about speedmult? why can i change strength easily but speedmult not? Link to comment Share on other sites More sharing options...
Khet Posted January 5, 2009 Share Posted January 5, 2009 Frankly I don't see why you couldn't. Xodarap successfully changed the run speed (12%) and I assumed he used a hidden perk or SpeedMult. For the perk, are you sure you're setting the right value? the 'final' value could be divided by 10 or another number. I dunno, I haven't checked. Link to comment Share on other sites More sharing options...
cheerio123 Posted January 5, 2009 Author Share Posted January 5, 2009 actually i can change the run speed. if you click in g.e.c.k. on gameplay and then on settings you can change all values you want. my problem is to change the value with a perk while i play the game. Link to comment Share on other sites More sharing options...
deliverance6 Posted January 6, 2009 Share Posted January 6, 2009 Scn YOURNAMEHERE Begin onActivate Player.SetActorValue Speed 100 (YOUR VALUE HERE) endif endAttatch this script to an activator somewhere inside vault 101, near where the player first spawns as an adult, when the player walks over it, the script "should" take effect and mod the speed. and if "Player.SetActorValue Speed 100 (YOUR VALUE HERE)" doesnt work try "player.modav agility 100 (YOURVALUEHERE)" Link to comment Share on other sites More sharing options...
cheerio123 Posted January 6, 2009 Author Share Posted January 6, 2009 i do not want to change the speed from the beginning. i want to change it from the moment that the perk is chosen. and i do not want to change the agility, because this is not wat i want the perk to do. Link to comment Share on other sites More sharing options...
cheerio123 Posted January 6, 2009 Author Share Posted January 6, 2009 any idea? anyone? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.