| View previous topic :: View next topic |
| Author |
Message |
obiwan22
Joined: 04 Feb 2007 Posts: 50
Digg It |
Posted: Thu Mar 15, 2007 12:14 am Post subject: Request: Star Wars Battlefront 2 Script |
|
|
| Anyone have one? |
|
| Back to top |
|
 |
obiwan22
Joined: 04 Feb 2007 Posts: 50
Digg It |
Posted: Fri Mar 16, 2007 4:00 pm Post subject: |
|
|
| anyone? |
|
| Back to top |
|
 |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Fri Mar 16, 2007 7:45 pm Post subject: |
|
|
okay. Ill make you one. You want any special motion sensing crap besides the IR aiming or anything else?
EDIT:I have Star Wars BattleFront 1, will that work? Cause the controls are the same. _________________ Check out my collection of my wii script's
freewebs.com/kunalkunal2 |
|
| Back to top |
|
 |
obiwan22
Joined: 04 Feb 2007 Posts: 50
Digg It |
Posted: Sat Mar 17, 2007 1:26 am Post subject: |
|
|
can you make one with a nunchuck and when you move the nunchuck forward can you make it throw a grenade? thx  |
|
| Back to top |
|
 |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Sat Mar 17, 2007 2:24 pm Post subject: |
|
|
okay, That was a very simple job. Alright here it is.
| Code: |
//Star Wars Battlefront Alpha
if wiimote.Nunchuk.JoyY > 0.5
keyboard.S = wiimote.Nunchuk.JoyY
keyboard.W = 0
var.s = wiimote.Nunchuk.JoyY
var.w = 0
else
keyboard.W = wiimote.Nunchuk.JoyY
keyboard.S = 0
var.w = wiimote.Nunchuk.JoyY
var.s = 0
end if
if wiimote.Nunchuk.JoyX>0.5
keyboard.D = wiimote.Nunchuk.JoyX
keyboard.A = 0
var.d = wiimote.Nunchuk.JoyX
var.a = 0
else
keyboard.A = wiimote.Nunchuk.JoyX
keyboard.D = 0
var.a = wiimote.Nunchuk.JoyX
var.d = 0
end if
mouse.rightbutton = Wiimote.Nunchuk.smoothPitch < -40 degrees |
_________________ Check out my collection of my wii script's
freewebs.com/kunalkunal2 |
|
| Back to top |
|
 |
|