| View previous topic :: View next topic |
| Author |
Message |
rmanqueros
Joined: 02 Feb 2007 Posts: 9
Digg It |
Posted: Tue Jul 10, 2007 12:47 am Post subject: FPS script v0.2 |
|
|
this is a new script i made, if feels better on the games, but very weird on the menu's i used it to play quake 3 arena... hope someone likes it
| Code: |
var.PosX=round(screen.Width*(wiimote.dot2x/1010))
var.PosY=round(screen.Height*(1-(wiimote.dot2y/756)+2))
mouse.DirectInputX=mouse.DirectInputX+(var.PosAntX-Var.PosX)
mouse.DirectInputY=mouse.DirectInputY+(var.PosAntY-Var.PosY)
var.PosAntX=var.PosX
var.PosAntY=var.PosY
wait 30ms
wiimote.led1=true
mouse.LeftButton=wiimote.B
mouse.RightButton=wiimote.A
debug=var.posX+" "+var.posY
keyboard.w = Wiimote.Nunchuk.JoyY < -0.5
keyboard.a = Wiimote.Nunchuk.JoyX < -0.5
keyboard.s = Wiimote.Nunchuk.JoyY > 0.5
keyboard.d = Wiimote.Nunchuk.JoyX > 0.5
keyboard.Space = wiimote.Nunchuk.RawForceY>60
mouse.WheelUp=wiimote.nunchuk.cbutton
mouse.wheeldown=wiimote.nunchuk.zbutton
|
oh and you don't have to configure nothing ... i use a custom IR led bar i made, the leds are like 7cm's away from each other and i play with the bar like 30cm's away from me... |
|
| Back to top |
|
 |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Tue Jul 10, 2007 4:12 pm Post subject: |
|
|
hmm, did you right the IR script? _________________ Check out my collection of my wii script's
freewebs.com/kunalkunal2 |
|
| Back to top |
|
 |
rmanqueros
Joined: 02 Feb 2007 Posts: 9
Digg It |
Posted: Wed Jul 11, 2007 12:45 am Post subject: |
|
|
| did i what? |
|
| Back to top |
|
 |
|