Hacking Paste your Script!

  • Thread starter Thread starter Andi96
  • Start date Start date
  • Views Views 1,829
  • Replies Replies 1

Andi96

New Member
Newbie
Joined
Aug 10, 2008
Messages
2
Reaction score
0
Trophies
1
XP
11
Country
United States
Hello, i made a script that i haven't test it yet, but if you guys try it maybe it work.
Please read the code, there's something you most know before you use the code.

This code it for Devil May Cry 4.

Code:
//**************************************
//*Devil May Cry 4 - Wiimote Controller*
//**************************************
//ÂÂÂÂÂÂÂÂBy Andi (2008)

//Bad News:
//Maybe it won't work, i haven't test it yet.
//My dad won't let me try on his PC.

//Good News:
//I think this gonna work. If you don't have the same keycontrol (Button)
//Go to Devil May Cry 4 and change it.
// You can see the control, if you go down. (Top Line: 82)
wiimote.led1 = true

keyboard.W= wiimote.Right
keyboard.D= wiimote.Down
keyboard.S= wiimote.Left
keyboard.A= wiimote.Up

keyboard.Escape= wiimote.Home
keyboard.I= wiimote.One
keyboard.K= wiimote.Two
keyboard.J= wiimote.B
keyboard.Enter= wiimote.Minus
keyboard.L= wiimote.A
keyboard.Spacebar= wiimote.Plus

if wiimote.Right then
wiimote.rumble = 1
wait 5 ms
wiimote.rumble = 0
endif

if wiimote.Down then
wiimote.rumble = 1
wait 5 ms
wiimote.rumble = 0
endif

if wiimote.Left then
wiimote.rumble = 1
wait 5 ms
wiimote.rumble = 0
endif

if wiimote.Up then
wiimote.rumble = 1
wait 5 ms
wiimote.rumble = 0
endif

if wiimote.One then
wiimote.rumble = 1
wait 5 ms
wiimote.rumble = 0
endif

if wiimote.plus then
wiimote.rumble = 1
wait 5 ms
wiimote.rumble = 0
endif

if wiimote.B then
wiimote.rumble = 1
wait 5 ms
wiimote.rumble = 0
endif

if wiimote.A then
wiimote.rumble = 1
wait 5 ms
wiimote.rumble = 0
endif

// PS. You most play the wiimote on side.
// Controls:
// Walk Up = Up
// Walk Down = Down
// Walk Left = Left
// Walk Right = Right

// Pause/Esc = Home (Home Icon)
// Sword Attack = Button 1
// Jump = Button 2
// Shot With your Pistol = B
// Enter = Minus
// Use Glove Punch = A
// Use the Lock In = Plus

// I hope you like it!
// [email protected]

Please, post if you like it or not.
smile.gif


(Bad with my english)
 
Bit of a random place to post this, and I doubt this will be useful for many people. Still, I've been playing Devil May Cry 4 with my PS2 controller, so the Wii remote will be far more comnfortable.

For those who don't know, this is a GlovePIE script (Google GlovePIE for the program), which basically assigns keyboard/mouse buttons to Wiimote buttons. It also lets you control the LEDs and rumble. And if you're a skilled programmer, you can implement aiming on the screen too (obviously you need the sensor bar or an IR source though).

EDIT: Oh, this is Wiimote only, no nunchuk. I'll just use PPJoy if I want to use Wiimote and nunchuk.
 

Site & Scene News

Popular threads in this forum