View Single Post
Old 04-19-2011, 03:48 PM   #64
Danfun64
 
Join Date: Dec 2009
Reputation: 0
Posts: 22
Exclamation

still need help with the analog sticks on my wii classic controller pro that uses glovepie. Here are your silly codes:
Code:
joy_name "Xbox360 controller"

joy_advanced 1
joy_advaxisx 3
joy_advaxisy 1
joy_advaxisz 0
joy_advaxisr 2
joy_advaxisu 4
joy_advaxisv 0

joy_forwardsensitivity -1
joy_sidesensitivity 1
joy_pitchsensitivity 0.75
joy_pitchsensitivity_default 0.75
joy_yawsensitivity -1.5
joy_yawsensitivity_default -1.5
joy_autoaimdampenrange 0.85
joy_autoaimdampen 0.5
joy_lowend 0.75
joy_lowmap 0.25
joy_no_accel_scale 1
joy_accelscale 2.0
joy_accelmax 1.0
joy_response_move 5
joy_response_look 1
joyadvancedupdate
crosshair 1
hud_draw_fixed_reticle 1

cmd2 bind "JOY1" "+jump"			// (A) Button
cmd2 bind "JOY2" "+duck"			// (B) Button
cmd2 bind "JOY3" "+use"				// (X) Button
cmd2 bind "JOY4" "+remote_view"			// (Y) Button
cmd2 bind "JOY12" "+quick_ping"			// Left Bumper
cmd2 bind "JOY13" "+zoom"			// Right Bumper
cmd2 unbind "JOY9" //"+mouse_menu_taunt"	// Back ("select") Button
cmd2 bind "JOY10" "gameui_activate"		// Start Button
cmd2 unbind "JOY5" //"+quick_ping"		// Left Stick In
cmd2 unbind "JOY6" //"+zoom"			// Right Stick In
cmd2 unbind "JOY11"
cmd2 unbind "JOY12"

cmd2 bind "JOY7" "+attack2"		// Left Trigger
cmd2 bind "JOY8" "+attack"		// Right Trigger

cmd2 bind "POV_UP" "+mouse_menu_taunt"		// D-Pad
cmd2 bind "POV_LEFT" "+mouse_menu"		// D-Pad
cmd2 unbind "POV_RIGHT" //"+mouse_menu"		// D-Pad
cmd2 unbind "POV_DOWN" //"+mouse_menu_taunt"	// D-Pad

cmd2 joystick 1
cmd2 sk_autoaim_mode 2
cmd2 +jlook
Code:
/*Classic Controller in portal using vibmod 
original PPJoy Script by WiiAreVenom
Modified script by Danfun64 */

Wiimote1.Leds = 1
Wiimote2.Leds = 2
Wiimote3.Leds = 4
Wiimote4.Leds = 8

PPJoy2.Analog0 = Wiimote1.Classic.Joy1X
PPJoy2.Analog1 = Wiimote1.Classic.Joy1Y
PPJoy2.Analog2 = Wiimote1.Classic.Joy2X
PPJoy2.Analog3 = Wiimote1.Classic.Joy2Y
PPJoy2.Digital6 = Wiimote1.Classic.L
PPJoy2.Digital7 = Wiimote1.Classic.R
PPJoy2.Digital0 = Wiimote1.Classic.b
PPJoy2.Digital1 = Wiimote1.Classic.a
PPJoy2.Digital2 = Wiimote1.Classic.y
PPJoy2.Digital3 = Wiimote1.Classic.x
PPJoy2.Digital8 = Wiimote1.Classic.Minus
PPJoy2.Digital9 = Wiimote1.Classic.Plus
PPJoy2.Digital16 = Wiimote1.Classic.Up
PPJoy2.Digital17 = Wiimote1.Classic.Right
PPJoy2.Digital18 = Wiimote1.Classic.Left
PPJoy2.Digital19 = Wiimote1.Classic.Down

//Thumbstick buttons
//Default is to hold HOME and press ZL or ZR

if wiimote1.Classic.home = true
   PPJoy2.digital4 = wiimote1.Classic.ZL
   PPJoy2.digital5 = wiimote1.Classic.ZR
else
   PPJoy2.digital11 = Wiimote1.Classic.ZL
   PPJoy2.digital12 = wiimote1.Classic.ZR
endif


//To use the button after L or R are fully pressed.
//Comment out the above section and remove comments
//from the below section.

/*
PPJoy2.Digital4 = Wiimote1.Classic.LFull
PPJoy2.Digital5 = Wiimote1.Classic.RFull
PPJoy2.Digital6 = Wiimote1.Classic.ZL
PPJoy2.Digital7 = Wiimote1.Classic.ZR
*/
Danfun64 is offline   Reply With Quote