WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Request: Star Wars Battlefront 2 Script

 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts
View previous topic :: View next topic  
Author Message
obiwan22



Joined: 04 Feb 2007
Posts: 50

Digg It
PostPosted: Thu Mar 15, 2007 12:14 am    Post subject: Request: Star Wars Battlefront 2 Script

Anyone have one?
Back to top
View user's profile Send private message
obiwan22



Joined: 04 Feb 2007
Posts: 50

Digg It
PostPosted: Fri Mar 16, 2007 4:00 pm    Post subject:

anyone?
Back to top
View user's profile Send private message
kunalkunal2



Joined: 13 Dec 2006
Posts: 279

Digg It
PostPosted: 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
View user's profile Send private message
obiwan22



Joined: 04 Feb 2007
Posts: 50

Digg It
PostPosted: 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 Smile
Back to top
View user's profile Send private message
kunalkunal2



Joined: 13 Dec 2006
Posts: 279

Digg It
PostPosted: 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Scripts All times are GMT
Page 1 of 1

 
Jump to:  
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