| View previous topic :: View next topic |
| Author |
Message |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Wed Dec 20, 2006 10:38 pm Post subject: SupersmashBros.script FINAL with all bugs fixed |
|
|
alright, its been a long time since I have updated this script
So I fixed all the bugs and everything
the previous version were not that great cause that was my first script
well, now it works like a charm
EDIT: Fixed a few More Bugs, Enjoy
| Code: |
//SuperSmashBros Controls (hopefully soon to be like Brawl)
//by Kunal Khiyani
//all controls are defualt
//Read For Controls
//Movements are moving the wii control to specif place for a specific control
//Example: Hold A and swing the Wii controler left Link will slash his sword left.
//A smash Buttons movements, Use A button
left and key.x and wiimote1.rumble = Wiimote1.smoothroll < -30 degrees and wiimote1.A
right and key.x and wiimote1.rumble = Wiimote1.smoothroll > 30 degrees and wiimote1.A
up and key.x and wiimote1.rumble = Wiimote1.smoothPitch > 30 degrees and wiimote1.A
down and key.x and wiimote1.rumble = Wiimote1.smoothPitch < -30 degrees and wiimote1.A
//Use Shield, use movemts and wiimote d-pad
left and key.z and wiimote1.rumble = Wiimote1.smoothroll < -30 degrees and wiimote1.left
right and key.z and wiimote1.rumble = Wiimote1.smoothroll > 30 degrees and wiimote1.right
up and key.z and wiimote1.rumble = Wiimote1.smoothPitch > 30 degrees and wiimote1.up
down and key.z and wiimote1.rumble = Wiimote1.smoothPitch < -30 degrees and wiimote1.down
//Grab Item, Wiimote Plus
x = wiimote1.plus
//let go of item, Wiimote.Minus
S = wiimote1.Minus
//Pause Game
enter = wiimote1.home
//B Button, Zbutton
c = wiimote.nunchuk.zbutton
//A button
x = wiimote1.a
//Nunchuk Controls
left = (-1.2 < wiimote1.Nunchuk.JoyX < -0.5)
right = (0.5 < wiimote1.Nunchuk.JoyX < 1.2)
up = (-1.2 < wiimote1.Nunchuk.JoyY < -0.5)
down = (0.5 < wiimote.Nunchuk.JoyY < 1.2)
//Nunchuk B-Button movemnts
key.c and left and wiimote.rumble = Wiimote1.nunchuk.smoothroll < -30 degrees and wiimote1.nunchuk.zbutton
key.c and right and wiimote1.rumble = Wiimote1.nunchuk.smoothroll > 30 degrees and wiimote1.nunchuk.zbutton
up and key.c and wiimote1.rumble = Wiimote1.nunchuk.smoothPitch > 30 degrees and wiimote1.nunchuk.zbutton
down and key.c and wiimote1.rumble = Wiimote1.nunchuk.smoothPitch < -30 degrees and wiimote1.nunchuk.zbutton
//movements for Special (B-button)
key.s and left and wiimote1.rumble = Wiimote1.smoothroll < -30 degrees and wiimote1.b
key.s and right and wiimote1.rumble = Wiimote1.smoothroll > 30 degrees and wiimote1.b
//Reset a Game During Pause
key.S and key.x and key.c and key.z = wiimote1.two
//Cheer, Button one or Cbutton
key.a = wiimote1.one
key.a = wiimote1.nunchuk.cbutton
|
Last edited by kunalkunal2 on Fri Jan 19, 2007 1:39 am; edited 9 times in total |
|
| Back to top |
|
 |
freshgeardude
Joined: 17 Dec 2006 Posts: 15
Digg It |
Posted: Fri Dec 22, 2006 12:00 am Post subject: |
|
|
| cool |
|
| Back to top |
|
 |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Sun Dec 24, 2006 12:37 am Post subject: |
|
|
well i just made my final update for this script hope u guys like it
-Kunal |
|
| Back to top |
|
 |
CarlKenner Site Admin
Joined: 29 Nov 2006 Posts: 614
Digg It |
Posted: Sun Dec 24, 2006 4:36 am Post subject: |
|
|
Cool!
But please don't use RawForceX. Use gx instead. The units of gx are about 1/30 of the units of RawForceX for the Wiimote, and 1/50 for the Nunchuk, but they are centred on zero and calibrated to be the same for every wiimote/nunchuk. |
|
| Back to top |
|
 |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Tue Jan 02, 2007 3:37 pm Post subject: |
|
|
If someone can help me improve this script I would kindly appericate it
The improvements needed is the "A" smash attack movements and the "b" smash attack movemnents |
|
| Back to top |
|
 |
LineRiderJunkie

Joined: 14 Jan 2007 Posts: 2 Location: MO
Digg It |
Posted: Sun Jan 14, 2007 5:35 pm Post subject: Start= a and b |
|
|
the start button does not work...
i press both a and b and nothing happens
so i just press start
can any one help _________________ Line Rider = Best Game ever
Games I own:
Wii Sports, Red Steel, Far Cry, Super Swing Golf, Gt Pro Series, Call of Duty 3 |
|
| Back to top |
|
 |
kunalkunal2
Joined: 13 Dec 2006 Posts: 279
Digg It |
Posted: Mon Jan 15, 2007 12:55 pm Post subject: |
|
|
Im going to release the final Version Today, Almost Finished
and I fixed all the bugs _________________ Check out my collection of my wii script's
freewebs.com/kunalkunal2 |
|
| Back to top |
|
 |
|