Stripped FOV

GreeD

Veteran X
I have recently installed stripped and by far is the way to go however i have one problem, changing my FOV.

When I was running presto and New Opts I had my fov set to 120 now is there a way to do this running stripped?
 
I have a fov script i can sen u, or u can go into clientprefs.cs and look for this line:
$pref::playerFov = "110";
default is 90fov i have mine at 110.. just change to 120
 
// default fov value.. set this 90-120
$rag::defaultfov = 110;
// default interval between fov levels
$rag::interval = 5;

// don't touch line below
editactionmap("playmap.sae");
// bind for lowering the fov
bindcommand(keyboard0, make, "[", to, "rag::fov(0);");
bindcommand(keyboard0, break, "[", to, "");
// bind for raising the fov
bindcommand(keyboard0, make, "]", to, "rag::fov(1);");
bindcommand(keyboard0, break, "]", to, "");

// CODE BELOW DON'T EDIT
$pref::playerfov = $rag::defaultfov;
$rag::currentfov = $pref::playerfov;
function rag::fov(%x)
{
if (%x==1)
{
if ($pref::playerfov == 120) {}
else
{
$rag::currentfov = $rag::currentfov + $rag::interval;
$pref::playerfov = $rag::currentfov;
}
}
else
{
if ($pref::playerfov == 90) {}
else
{
$rag::currentfov = $rag::currentfov - $rag::interval;
$pref::playerfov = $rag::currentfov;
}
}
remotebp(2048, " <f1>Current FOV is <f2>" @ $pref::playerfov @ " <f1>degrees.", 1);
}
// CODE ABOVE DON'T EDIT
 
Same script, just cleaned up a bit.

Code:
editActionMap("playMap.sae");
bindCommand(keyboard0, make,  "[", TO, "rag::fov(0);");
bindCommand(keyboard0, make,  "]", TO, "rag::fov(1);");

$pref::PlayerFov = 110;
$rag::interval = 5;

function rag::fov(%x) {
    if(%x) {
        if($pref::PlayerFov < 120)
            $pref::PlayerFov += $rag::interval;
        remoteBP(2048, "<jc><f1>Current FOV is <f2>"@ $pref::PlayerFov @" <f1>degrees.", 1);
    }
    else {
        if($pref::PlayerFov > 90)
            $pref::PlayerFov -= $rag::interval;
        remoteBP(2048, "<jc><f1>Current FOV is <f2>"@ $pref::PlayerFov @" <f1>degrees.", 1);
    }
}
 
Back
Top