Rawles
14-03-2005, 03:04 AM
Is there a way to slow the speed of my Hud Desiganator and Radar control that i have with this script.
I am controling my hud and radar movements with the Micro Stick controller on the Throttle .Hear is my script.
// CMS Script File
//
// Game Title:Lomac_LockOn
// Written By: Rawles
// Date:1-23-2005
//
//
//
script
%define AA js2.b27 // Throttle Up button
%define AG js2.b29 // Throttle Down button
%define nav js2.b31 // Throttle Left button
sequence
wait(AA);
CURRENTMODE = MODE3;
endsequence
sequence
wait(AG);
CURRENTMODE = MODE1;
endsequence
sequence
wait(nav);
CURRENTMODE = MODE2;
endsequence
cms.b1 = FALSE;
cms.b2 = FALSE;
cms.b3 = FALSE;
cms.b4 = FALSE;
// Ministick Up on cms.b1
//
if( [js2.a2 < 88] ) then
cms.b1 = TRUE;
endIf
// Ministick Right on cms.b2
//
if( [js2.a1 > 168] ) then
cms.b2 = TRUE;
endIf
// Ministick Down on cms.b3
//
if( [js2.a2 > 168] ) then
cms.b3 = TRUE;
endIf
// Ministick Left on cms.b4
//
if( [js2.a1 < 88] ) then
cms.b4 = TRUE;
endIf
SEQUENCE
WAIT( JS2.B2 AND JS2.B3 AND JS2.B4 ); // Wait for buttons 2,3 and 4 to get pressed on the throttle
DELAY( 1 ); // Wait half a second
CMS.B5 = TRUE; // Start Ejection Sequence
DELAY( 1 ); // Wait half a second
CMS.B5 = FALSE; // Reset CMS B1 state
DELAY( 1 ); // Wait half a second
ENDSEQUENCE
endScript
I am controling my hud and radar movements with the Micro Stick controller on the Throttle .Hear is my script.
// CMS Script File
//
// Game Title:Lomac_LockOn
// Written By: Rawles
// Date:1-23-2005
//
//
//
script
%define AA js2.b27 // Throttle Up button
%define AG js2.b29 // Throttle Down button
%define nav js2.b31 // Throttle Left button
sequence
wait(AA);
CURRENTMODE = MODE3;
endsequence
sequence
wait(AG);
CURRENTMODE = MODE1;
endsequence
sequence
wait(nav);
CURRENTMODE = MODE2;
endsequence
cms.b1 = FALSE;
cms.b2 = FALSE;
cms.b3 = FALSE;
cms.b4 = FALSE;
// Ministick Up on cms.b1
//
if( [js2.a2 < 88] ) then
cms.b1 = TRUE;
endIf
// Ministick Right on cms.b2
//
if( [js2.a1 > 168] ) then
cms.b2 = TRUE;
endIf
// Ministick Down on cms.b3
//
if( [js2.a2 > 168] ) then
cms.b3 = TRUE;
endIf
// Ministick Left on cms.b4
//
if( [js2.a1 < 88] ) then
cms.b4 = TRUE;
endIf
SEQUENCE
WAIT( JS2.B2 AND JS2.B3 AND JS2.B4 ); // Wait for buttons 2,3 and 4 to get pressed on the throttle
DELAY( 1 ); // Wait half a second
CMS.B5 = TRUE; // Start Ejection Sequence
DELAY( 1 ); // Wait half a second
CMS.B5 = FALSE; // Reset CMS B1 state
DELAY( 1 ); // Wait half a second
ENDSEQUENCE
endScript