GlovePIE:Mario Kart 64
From WiiLi
(Redirected from Mario Kart 64)
nolic4t
/* * Mario Kart 64 - Excite Truck Style * By Alex Ames * aka amablue * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Controls: * * Wii-mote | N64 Equivalent | Function * 2 A Accelerate * 1 B Brake * A R Jump / Powerslide * Plus Start Pause * D-Pad + B Analog Stick Navigate menus (in menus) * D-Pad C-Down Use items (in races) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Speical Controls: * * Hold the controller like an NES controller and tilt left or right * to steer. When in a menu, you could technically use this to navigate * but it's awkward. For that reason, I implemented a second control * option. As long as you're holding the B button on the back of the * controller, you'll be able to use the D pad in menus. * * When using the D-pad to fire weapons. Leaning the controller forward * or backward about 45 degrees will cause the item to be directed in * that direction if possible. I can't quite get it to work right though. * If someone could tweak this and make it work better I'd greatly * appreciate it. */ // Use B and left or right to navigate menus. if (Wiimote.Down and Wiimote.B) PPJoy1.Analog0 = 1 else if (Wiimote.Up and Wiimote.B) PPJoy1.Analog0 = -1 else PPJoy1.Analog0 = Wiimote1.Pitch/60 endif // Up and down, both for menus and throwing items if (Wiimote.Right) PPJoy1.Analog1 = -1 else if (Wiimote.Left) PPJoy1.Analog1 = 1 else PPJoy1.Analog1 = 0 endif // Excite truck-esque tilt controlling PPJoy1.Analog0 = Wiimote1.Pitch / 60 PPJoy1.Analog1 = -Wiimote1.Roll /45 // Button controls x = Wiimote.Two c = Wiimote.One End = Wiimote.Up or Wiimote.Down or Wiimote.Left or Wiimote.Right s = Wiimote.A Enter = Wiimote.Plus

