Paste your Script!

Discussion in 'Wii - Hacking' started by Andi96, Aug 10, 2008.

Aug 10, 2008

Paste your Script! by Andi96 at 12:08 PM (1,208 Views / 0 Likes) 1 replies

  1. Andi96
    OP

    Newcomer Andi96 Newbie

    Joined:
    Aug 10, 2008
    Messages:
    2
    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!
    // AndreasChanel96@hotmail.com
    Please, post if you like it or not. [​IMG]

    (Bad with my english)
     
  2. Trolly

    Member Trolly GBAtemp Advanced Maniac

    Joined:
    Sep 14, 2007
    Messages:
    1,720
    Location:
    Behind you! I know you looked!
    Country:
    United Kingdom
    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.
     

Share This Page