| View previous topic :: View next topic |
| Author |
Message |
gabricom
Joined: 04 Jul 2008 Posts: 1
Digg It |
Posted: Fri Jul 04, 2008 1:10 am Post subject: wii shotgun 0.1 |
|
|
this is my first scriptit is a funny script that turn your wiimote in a shotgun
b to shoot
move the wii for recharge
the wiimote speaker also shoot with your pc speakers(little buggy)
To emulate the shoot i used a program called soundplant who assign a sound to a keyboard key (i did that because glovepie in my pc play sound very buggy and i don't know how to erase this problem)just follow the instruction in the script
| Code: |
/*WII SHOTGUN by gabricom
instructions:
1-copy the wav files in C:
2-open sounplant exe
3-open the shot.keymap in soundplant
4-run this script put your pointer in the sounplant program and have fun
*/
if(var.on =false)
key.y=wiimote.a;
key.r=wiimote.b
else
key.r=wiimote.plus
endif
if wiimote.B=1 and var.on=false
var.on=true;
wiimote.Volume=70%
wiimote.Frequency=42850
wait 200 ms
wiimote.Volume=0
wiimote.Frequency=0
endif
if(wiimote.rawForceY>60) and var.on=true
key.t=not(Wiimote.A or Wiimote.B or Wiimote.Minus or Wiimote.Home or Wiimote.Plus)
var.on=false
wiimote.Volume=100%
wiimote.Frequency=7650
wait 100 ms
wiimote.Volume=0%
wiimote.Frequency=0;
wait 20 ms
wiimote.Frequency=8650
wiimote.volume=100%
wait 50 ms
wiimote.Volume=0%
wiimote.Frequency=0;
else
key.t=wiimote.a
key.y=wiimote.b
endif
|
all the files needed here xxx.thegamesclan.it\files\wiishotgun.rar |
|
| Back to top |
|
 |
hica
Joined: 14 Aug 2007 Posts: 2
Digg It |
Posted: Wed Jul 16, 2008 12:41 pm Post subject: |
|
|
Nice job verry funny  |
|
| Back to top |
|
 |
|