 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
JJBro1
Joined: 24 Dec 2007 Posts: 11
Digg It |
Posted: Mon Jun 16, 2008 6:45 pm Post subject: How do i create a script for KOTOR using the CC |
|
|
| Im want to create a script for the pc version of KOTOR but i don't know how. Can anyone teach me? |
|
| Back to top |
|
 |
Olly
Joined: 04 Apr 2008 Posts: 5 Location: Sutton Coldfield, Birmingham
Digg It |
Posted: Mon Jun 16, 2008 9:59 pm Post subject: |
|
|
Oh it's you again! Trolly from GBATemp here. Do you have PPJoy installed? (If you don't know what it means, that means no).
First things first you'll need to find PPJoy and install it, ask for details if you need help with it.
Then use this script in GlovePIE to get your PC to see the Wiimote as a joystick:
| Quote: | // This script turns the Wiimote into a joystick, allowing you to use the controller in many different games.
Wiimote1.Led1 = true
Wiimote1.Led2 = false
Wiimote1.Led3 = false
Wiimote1.Led4 = false
PPJoy1.Analog8 = 1
PPJoy1.Analog9 = 1
PPJoy1.Analog10 = 1
PPJoy1.Analog11 = 1
PPJoy1.Analog12 = 1
PPJoy1.Analog13 = 1
PPJoy1.Analog14 = 1
PPJoy1.Analog15 = 1
PPJoy1.Analog0 = (Wiimote1.Nunchuk.JoyX*1) // make the number 1 higher or lower to change sensitivity
PPJoy1.Analog1 = (Wiimote1.Nunchuk.JoyY*1) // but only use small variations, like 1.1 or 0.9
PPJoy1.Digital1 = Wiimote1.Up
PPJoy1.Digital2 = Wiimote1.Left
PPJoy1.Digital3 = Wiimote1.Right
PPJoy1.Digital4 = Wiimote1.Down
PPJoy1.Digital5 = Wiimote1.A
PPJoy1.Digital6 = Wiimote1.B
PPJoy1.Digital7 = Wiimote1.Minus
PPJoy1.Digital8 = Wiimote1.Home
PPJoy1.Digital9 = Wiimote1.Plus
PPJoy1.Digital10 = Wiimote1.One
PPJoy1.Digital11 = Wiimote1.Two
PPJoy1.Digital12 = Wiimote1.Nunchuk.CButton
PPJoy1.Digital13 = Wiimote1.Nunchuk.ZButton |
That's not my script by the way, it's one I've found while looking for ways of using PPJoy with the Wiimote.
Now games should see your Wiimote and Nunchuk as a joystick, and you can just run the game, then set each control to the buttons on your Wiimote and Nunchuk.
It might not work though, as I've had problems with getting the Wiimote and nunchuk to work in games like that. It worked in my N64 emulator though (been playing Banjo-Kazooie all day ).
If anyone could help with how to get this to work and PPJoy to come up in games? I'm still kinda new to the whole PPJoy thing.
EDIT:
Just thought I might add, making script in GlovePIE is well, as easy as pie unless you try to do very complex stuff with the Wiimote. If the method I gave doesn't work, then try 'GUI' in GlovePIE. You can just press the button you want to emulate on the keyboard/mouse, then press the button you want it to correspond to. Problem being, I don't think the nunchuk will work without PPJoy. _________________ Wiimote Mods wanted for:
- Half-Life 2
- BioShock
- GTA 3, Vice City, Liberty City Stories
- Oblivion |
|
| Back to top |
|
 |
JJBro1
Joined: 24 Dec 2007 Posts: 11
Digg It |
Posted: Wed Jun 18, 2008 9:19 pm Post subject: |
|
|
| thanks alot, btw is ppjoy and application? If so, where can i download it? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|