PDA

View Full Version : Need help with script for cod aw, much appreciated!



mrpker802
15th November 14, 18:00
Hi Guys,
This is the script I am using with kb&m for cod aw, what I need to add is w,a,s,d keys double click = double dash, also a set ads delay at
350 m/s.


define ADS_BUTTON = XB1_LT;
define RIGHT_STICK_X = XB1_RX;
define RIGHT_STICK_Y = XB1_RY;

define SENS_ADS = 120;
main {
if(get_val(XB1_RT)>1) set_val(XB1_RT,100);
if(get_val(XB1_LT)>1) set_val(XB1_LT,100);
if(get_val(XB1_LT) > 10) {combo_run(AutoBreath);}
if(get_val(XB1_LT) < 10) {combo_stop(AutoBreath);}
if(get_val(XB1_LT)) {
sensitivity(XB1_RX, NOT_USE, SENS_ADS);
sensitivity(XB1_RY, NOT_USE, SENS_ADS);
}
//Autobreath
}
combo AutoBreath {
wait(200);
set_val(XB360_LS, 100);
wait(4000);
}

Thanks for these forums and the mods whenever I run into a problem I'm able to come here and you guys help me out.
-MB

Excalibur
15th November 14, 18:19
Hi Guys,
This is the script I am using with kb&m for cod aw, what I need to add is w,a,s,d keys double click = double dash, also a set ads delay at
350 m/s.


define ADS_BUTTON = XB1_LT;
define RIGHT_STICK_X = XB1_RX;
define RIGHT_STICK_Y = XB1_RY;

define SENS_ADS = 120;
main {
if(get_val(XB1_RT)>1) set_val(XB1_RT,100);
if(get_val(XB1_LT)>1) set_val(XB1_LT,100);
if(get_val(XB1_LT) > 10) {combo_run(AutoBreath);}
if(get_val(XB1_LT) < 10) {combo_stop(AutoBreath);}
if(get_val(XB1_LT)) {
sensitivity(XB1_RX, NOT_USE, SENS_ADS);
sensitivity(XB1_RY, NOT_USE, SENS_ADS);
}
//Autobreath
}
combo AutoBreath {
wait(200);
set_val(XB360_LS, 100);
wait(4000);
}

Thanks for these forums and the mods whenever I run into a problem I'm able to come here and you guys help me out.
-MB
All this futures I has in my script the only one I don't have is RT sensitivity.But if you play with Mouse & Keyboard this is useless .
You can use it how you wish .

S.G.I. COD ADVANCED WARFARE - M&Kb vers. (http://cronusmax.com/forums/showthread.php?t=145507)

mrpker802
15th November 14, 18:40
All this futures I has in my script the only one I don't have is RT sensitivity. I can easily add this to my script.
You can use it how you wish .

S.G.I. COD ADVANCED WARFARE - M&Kb vers. (http://cronusmax.com/forums/showthread.php?t=145507)



Thanks for your help

Excalibur
15th November 14, 19:53
Oh I see nice script, I don't think RT sensitivity has an affect on timing if your using mouse right? because there's no pressure just click.


Yes, there is no difference when you use mouse click - the values are only - 0 or 100 .