Fantafaust Posted April 19 Share Posted April 19 I'm recreating my old Zoom Assist mod that lets you set separate mouse/controller sensitivities for scoped/iron sighted weapons when aiming down the sight. Back in the day, just getting and setting the sensitivity via ini functions was fine. But now with LStewieAl's tweaks, there's a new option for vertical sensitivity. tl;dr how can I check if that's enabled, and how can I access and set the value? Link to comment Share on other sites More sharing options...
puddlepond Posted April 20 Share Posted April 20 Quote BEGIN GameMode float fValue If GetGameRestarted Set fValue to ReadINIFloatFromFile "Data\nvse\plugins\nvse_stewie_tweaks.ini" "Tweaks" "bSeperateHorizontalSensitivity" If fValue == 1 SetINIFloat "Tweaks:fVerticalSensitivity" [your value] "MyFolder\nvse_stewie_tweaks.ini" EndIf EndIf END that should be fine? it's all hypothetical; i don't know if stewie's tweaks would let you set one of its values from a different (identically named) file in a different folder. the script above might not be 100% fit for your purpose but if it's possible at all it'd be down to some combination of ReadINIFloatFromFile and SetINIFloat functions. Link to comment Share on other sites More sharing options...
Fantafaust Posted April 20 Author Share Posted April 20 Niiiice Thanks, these functions should be perfect Link to comment Share on other sites More sharing options...
Recommended Posts