[T1 ?]Script help

CoJack

Veteran XV
someone know where i can find a script that would allow me to change the sensativity for the chaingun only while still being able to keep current mouse setting for all my other weapons? pretty sure something like this was just released for t2. i dunno the who made it though. too lazy to find out. thanks for any help out there. peace!
 
If you dont use presto, heres a standalone version I made, also has a chainzoom option.

Code:
//=======================================
//  EDITABLE SECTION
//=======================================

// Fire Button
bindCommand(mouse0, make, button0, TO, "start();");
bindCommand(mouse0, break, button0, TO, "end();");

// Sensitivity when chaining (experiment with)
$DuTcH::cgsense = 0.001150;

// Leave :)
$DuTcH::sense = Client::getMouseSensitivity("playMap.sae");

// Set to false if u have Flip mouse vertical enabled
$DuTcH::flip = True;

// Toggle For Zoom, True/False
$DuTcH::zoom = True;

// This should be set to your normal FOV (90 is default)
$DuTcH::normfov = "115";

// This is the FOV you want when using the CG
$DuTcH::zoomfov = "98";

// Set this to the value from above
$pref::PlayerFov = $DuTcH::normfov;

//=======================================
//  DONT GO FURTHER
//=======================================

function DuTcH::shoot()
{
	if($DuTcH::zoom){
	$pref::PlayerFov = $DuTcH::zoomfov;
	}
	if($DuTcH::flip){
	EditActionMap("playMap.sae");
	bindAction(mouse0, xaxis0, TO, IDACTION_YAW, Flip, Scale, $DuTcH::cgsense);
	bindAction(mouse0, yaxis0, TO, IDACTION_PITCH, Flip, Scale, $DuTcH::cgsense);
	}
	else
	{
	if($DuTcH::zoom){
	$pref::PlayerFov = $DuTcH::zoomfov;
	}
	EditActionMap("playMap.sae");
	bindAction(mouse0, xaxis0, TO, IDACTION_YAW, Flip, Scale, $DuTcH::cgsense);
	bindAction(mouse0, yaxis0, TO, IDACTION_PITCH, Scale, $DuTcH::cgsense);
	}
}

function DuTcH::stopshoot()
{
	if($DuTcH::flip){
	$pref::PlayerFov = $DuTcH::normfov;
	EditActionMap("playMap.sae");
	bindAction(mouse0, xaxis0, TO, IDACTION_YAW, Flip, Scale, $DuTcH::sense);
	bindAction(mouse0, yaxis0, TO, IDACTION_PITCH, Flip, Scale, $DuTcH::sense);
	}
	else
	{
	$pref::PlayerFov = $DuTcH::normfov;
	EditActionMap("playMap.sae");
	bindAction(mouse0, xaxis0, TO, IDACTION_YAW, Flip, Scale, $DuTcH::sense);
	bindAction(mouse0, yaxis0, TO, IDACTION_PITCH, Scale, $DuTcH::sense);
	}
}

function start()
{	
	if (getMountedItem(0) == 13){
	postAction(2048, IDACTION_FIRE1, 1);
	DuTcH::shoot();
	}
	else {
	postAction(2048, IDACTION_FIRE1, 1);
	}
}

function end()
{
	postAction(2048, IDACTION_BREAK1, -0);
	DuTcH::stopshoot();
}
 
vgt sarc, will try looking around for that. btw, those 3d exp's r sick, nice job.
unfortunately dep, i do use presto, would lub to try that code dammit,thanks though :(
 
arrg, damnnit! don't think that ao's will work with presto either. when i change the setting of the cg, it works, but when i switch back to disc or whatever and come back to cg again. it's like i never touched anything. sensativity reverts back to normal, but the script still says the same sensativity. script looks sweet too dammit. wish it worked. /me shrugs
anyone know of a script like this that'll work with presto?
 
Back
Top