Hey Runar

TreW_SoulJa
01-11-2004, 10:58 AM
// Sensitivity with Zoom controls for chaining

// * Normal FOV (90 is default)
$Chain::NormFov = "105";

// * Chain FOV (I use the same as above, ie. no change..)
$Chain::ZoomFov = "70";

// * Sensitivity factor, 0.5 = 50%, 1.0 means no difference
$Chain::Factor = 1.2;

// Don't touch this line
editactionmap("playmap.sae");

// * Bind mouse button 1 to our own fire function
bindCommand(mouse0, make, button0, TO, "Viking::Fire(1);");
bindCommand(mouse0, break, button0, TO, "Viking::Fire(0);");

$pref::PlayerFov = $Chain::NormFov;

$Chain::nSense = Client::getMouseSensitivi ty("playMap.sae");

function Viking::Fire(%fire)
{
if(%fire)
{
postAction(2048,IDACTION_ FIRE1, -0);

if(getMountedItem(0) == 13)
{
$pref::PlayerFov = $Chain::ZoomFov;
Viking::Sense($Chain::nSe nse * $Chain::Factor, 0, "Chain");
$Chain::ChgSens = "True";
}
}
else
{
postAction(2048,IDACTION_ BREAK1, -0);

$pref::PlayerFov = $Chain::NormFov;

if($Chain::ChgSens)
Viking::Sense($Chain::nSe nse, 0, "Chain");
}
}

function Viking::Sense(%sense, %flip, %script)
{
if(Client::getMouseXaxisF lip("playMap.sae"))
{
editActionmap("playmap.sae");
bindAction(mouse0, xaxis0, TO, IDACTION_YAW, Scale, %sense);
}
else
{
editActionmap("playmap.sae");
bindAction(mouse0, xaxis0, TO, IDACTION_YAW, Flip, Scale, %sense);
}

if(Client::getMouseYaxisF lip("playMap.sae"))
{
editActionmap("playmap.sae");

if(%flip)
bindAction(mouse0, yaxis0, TO, IDACTION_PITCH, Flip, Scale, %sense);
else
bindAction(mouse0, yaxis0, TO, IDACTION_PITCH, Scale, %sense);
}
else
{
editActionmap("playmap.sae");

if(%flip)
bindAction(mouse0, yaxis0, TO, IDACTION_PITCH, Scale, %sense);
else
bindAction(mouse0, yaxis0, TO, IDACTION_PITCH, Flip, Scale, %sense);
}
}


^^ make the zoom toggle-able (in-game of course)

and/or make the whole script toggleable

and/or make a seperate script that has push-button zooming, so i can start chaining and tap zoom and cg someone and tap zoom again to stop zooming

TreW_SoulJa
01-11-2004, 11:00 AM
pretty please

Guigsy
01-11-2004, 12:59 PM
anyone know where i can get a script where while chaining it will chainge my fov from 120 to 90? or somthing similar

p.s i dont use viking. i use presto :)

Rosco-SS
01-11-2004, 04:35 PM
Im pretty sure that worked for me, and another dude. I use Stripped and he had presto. Use that script he posted there Guigsy.

Guigsy
01-11-2004, 07:59 PM
isnt that viking? i'll try it anyway. thanks

advisory
01-11-2004, 09:07 PM
people still use presto?

bLiSS
01-11-2004, 09:14 PM
I know I do :dapimp:

Shinigami
01-11-2004, 09:31 PM
I know I do :dapimp:

Your comp is so old it'd probably help a lot if you used something else. ;o

TreW_SoulJa
01-12-2004, 09:25 AM
Guigsy: that script works fine, the functions are called Viking this or that because that's just how he named them, he couldve named them BUTTSECKS::Fire, etc if he wanted, doesnt matter.

Guigsy
01-12-2004, 09:44 PM
ah that confused me :p
BUTTSECKS::Fire is a much better name :p

bLiSS
01-12-2004, 11:25 PM
Your comp is so old it'd probably help a lot if you used something else. ;o

I'm afraid of changes :disgust: