Accessibility: Driving Slowly

This simply reduces the strength of the triggers, by dividing the input by 3. This could be of benefit to someone finding a specific car far too fast for them to be able to control. For more on accessible gaming, see SpecialEffect at www.SpecialEffect.org.uk.
Version1.00
AuthorSpecialEffect
Publish DateSat, 4 Jul 2015 - 10:16
Last UpdateSat, 4 Jul 2015 - 10:16
Downloads89
RATE


1

0

Code: Select all
/* *
* GPC SCRIPT: TLS
*
*
* ************************************************************************************************************************ */

 
define DeadZoneLeftStick = 20; // Deadzone modifiers
define DeadZoneRightStick = 20;
 
int ZLT = 0; // TRIGGER Speed Limiter variables
int ZRT = 0;
 
remap XB360_RT -> XB360_RS; // Remap Right Trigger <> A and Left Trigger <> B
remap XB360_LT -> XB360_LS;
remap XB360_RS -> XB360_RT;
remap XB360_LS -> XB360_LT;
 
 
main {
 
ZLT = get_val(XB360_RS); // Speed Limiter - DIVIDE INPUT BY 3
if (  ZLT>0 )
 {
   set_val(XB360_RS, 33);
 }
 
ZRT = get_val(XB360_LS);
if (  ZRT>0 )
 {
   set_val(XB360_LS, 33);
 }
 
}