Curiosità

In Italia gli SMS piu cari

Da 8 mesi è incorso un indagine Antitrust che come primo risultato ha questo: in Europa, l'Italia è il Paese col costo degli SMS più alto. Negli altri paesi il costo massimo è di 11 cent, mentre in Italia il prezzo medio è di 15. Ecco qui il comunicato ufficiale di Agicom e Antitrust.
 

Il Manifesto

manifest

Una chiave e tante sfumature, il nostro manifesto. Le persone quando credono vivamente in qualcosa scrivono un Manifesto, un libero pensiero convincente e forte. Il Manifesto è l'essenza viva del nostro modo di agire...

Giocare con il pc con wiimote

Indice
Giocare con il pc con wiimote
Spiegazioni e Tasti
Dimostrazione video

Dopo aver scritto la guida,intitolata Glove PIE wiimote e scripts un gran "menage a trua" ho adattato uno script per giocare comodamente a Quake3 arena con il wiimote e glove PIE.

Lo script di base è lo script per giochi FPS scritto da Kasten e adattato per le mie esigenze.Esso utilizza l accelerometro presente sul wiimote senza alcun bisogno di collegare la barra sensoriale del wii al computer,anche se come si può scoprire essa è costitutuita da 10 led IR e utilizza il wii solo per l alimentazione.

0906nw3ra7 Il wiimote ci permette così di giocare in modo abbastanza semplice a Quake3 arena,gioco utilizzato come esempio.E' possibile giocare con qualsiasi gioco FPS al mondo,il più da fare, a volte, è abbassare la sensibilità del mouse nel gioco.

Un errore che in tanti commettono dopo aver seguito la guida presente nel link sovrastante è di provare lo script WiiMouse 0.1.PIE muovendo a destra e a sinistra il wiimote come se si giocasse a tennis;ma non è questo il metodo per muoversi dopo aver calibrato il wii (procedura descritta  nella guida sopra e anche in molti script).Il trucco dell utilizzare il wiimote come mouse è ruotarlo su se stesso.

Per seguire la seguente guida consiglio vivamente di leggere il primo articolo,in modo da saper già:

  • Collegare il wiimote al Pc attraverso la chiavetta bluetooth
  • Disporre e saper Avviare Glove PIE e gli script
  • Saper calibrare il wiimote mantenendolo fermo.

Ecco qui pubblicato e disponibile lo script per poter giocare ad esempio a Quake3 Arena.

// Code for playing FPS Games 
// Posted by Kasten and modified by Peppo1616 for using the Nunchuck and Arrows.

/* NOTE for this code to work right with the wiimote please
   read the following                                      */

// When configuring the offsets please put the wiimote flat and do not move it.
// These are offsets change them so that your debug output reads 0,28,0
// The debug output is at the top of this window.
// Ex if you get -7,33,-6 then change the offsets to 7,-5,6
var.xOffset = -3
var.yOffset = -28
var.zOffset = -2


// Change this if you would like your mouse to go faster
var.speed = 10

// change these to a higher number if your hands are not steady or lower if they are
var.xCutoff = 4
var.zCutoff = 4


var.xRot = Wiimote.RawForceX + var.xOffset
var.yRot = Wiimote.RawForceY + var.yOffset
var.zRot = Wiimote.RawForceZ + var.zOffset

debug = 'X:' + var.xRot + ', ' + 'Y:' + var.yRot + ', ' + 'Z:' + var.zRot

// This is the code that moves your mouse
if var.xRot > var.xCutoff then mouse.x = mouse.x - .001 * var.speed * (var.xRot - var.xCutoff)
if var.xRot < -var.xCutoff then mouse.x = mouse.x - .001 * var.speed * (var.xRot + var.xCutoff)
if var.zRot > var.zCutoff then mouse.y = mouse.y - .001 * var.speed * (var.zRot - var.zCutoff)
if var.zRot < -var.zCutoff then mouse.y = mouse.y - .001 * var.speed * (var.zRot + var.zCutoff)

// Press 1 on the wiimote to press e on the keyboard
e = Wiimote.One
Enter = Wiimote.Two 
/ B for left click and A for right click 
mouse.LeftButton = Wiimote.B
mouse.RightButton = Wiimote.A

// Plus and Minus on the wiimote to use the scroll wheel
// get for scrolling though weapens in fsp games
mouse.WheelUp = Wiimote.Plus
mouse.WheelDown = Wiimote.Minus


// Rumbles wiimote when shift is pressed on your keyboard
Wiimote.Rumble = Shift

// Have some fun and press 1, 2, 3, and/of 4 to little up the lights on the wiimote
Wiimote.Led1 = four
Wiimote.Led2 = three
Wiimote.Led3 = two
Wiimote.Led4 = one

// If you move your controler up and down quickly then it will press space
// Great for jumping on games
if var.yRot >= 100 then space = true else space = false

//added code to use Cbutton and joy to strafe in game with the Nunchuk
//C button on Nunchuk is CTRL on the keyboard;I use this to jump in the game.
Right = 1 > Wiimote1.Nunchuk.JoyX > 0.5
Left = -1 < Wiimote1.Nunchuk.JoyX < -0.5
down = 1 > Wiimote1.Nunchuk.JoyY > 0.5
up = -1 < Wiimote1.Nunchuk.JoyY < -0.5

control = wiimote.Nunchuk.CButton

 



Commenti  

 
0 #1 Ivan85 2010-04-12 06:38 innanzi tutto complimenti per l'argomento scelto…volevo chiederti…ma lo script per quake 3 vale anche per la maggior parte degli fps o è specifico per questo gioco? graz Citazione
 
 
0 #2 Andrea 2010-04-12 11:24 Ciao puoi trovare altri script a questo indirizzo, http://deux.wetpaint.com/page/Wiimote+Glove+PIE+scripts
é un wiki dove raccogliere script di questo genere, è un pò vecchio, prima o poi lo integreremo su questo sito. Per quanto riguarda questo script, può funzionare anche con altri FPS, semplicemente perchè lo script non fà altro che emulare il premere dei tasti della tastiera.
Citazione
 

Aggiungi commento


Codice di sicurezza
Aggiorna

News by Twitter

E oltre all'RFID per il pallone, mettiamoci anche quello per i tifosi... http://rfid.thebizloft.com/content/calcio-lrfid-scende-campo
http://www.pinobruno.it/?p=7063 l' ultima proposta mi sembra valida, si tratta di RFID per il calcio..
L'italia si allena qui : -25.859899,28.195493
#ita
Usb 3.0 e la corsa agli armamenti? Date un occhio alle limitazioni http://is.gd/cJVzs
RT @TomsHWItalia Dungeon Siege III nelle mani di Neverwinter Nights http://bit.ly/buB3PA Gran gioco!
RT @TomsHWItalia GPS sul manubrio e bici staffetta coast to coast tra Adriatico e Tirreno: http://bit.ly/aNw56g
E' arrivata anche la briscola on-line dopo il poker & co!
Che ne dite di questo acquisto ? 1TB SSD molto economico su PCI-E http://bit.ly/aMAxBz
Moovida Immersed Moovida Core will soon include this media center extension, optimized for remote control navigation on your HDTV.
Disponibile il nuovo moovida, non vedo l'ora di provarlo. Per ora in anteprima su windows http://www.moovida.com
FInalmente in Joomla 1.6 hanno introdotto un qualche help per gestire gli aggiornamenti in modo comodo..
Consiglio a tutti la visione del film : Basta che funzioni
Anche la spam al sabato sera non lavora :D
RT @TomsHWItalia HTML5 o Flash, il paradigma del web frammentato http://bit.ly/bhu7Mr -> HTML 5.0 rulez
RT @buffer Ops, Google ha raccolto dati dai Wifi http://ff.im/knl8M
WiGIG? Wifi retrocompatibile con gli attuali standard a 7Gbps http://bit.ly/aHbOsZ
Suite Adobe CS5, mi sembra molto più veloce delle precedenti. Sopratutto Photoshop e Illustrator
Ma comè un trojan che twetta quando un utente va su un sito porno? Attenzione :D
GOOGLE: Guida media center linux? Chi cè al secondo posto? IO http://bit.ly/91VM50

Ultime dal Forum

in Guide Windows by peppo1616, 09-10-09 15:27
in Guide Linux by CAbusivo, 07-08-09 16:10
in Hardware e How To by peppo1616, 22-07-09 15:37
in Networking by peppo1616, 21-07-09 16:37
in GNU/Linux e BSD by Zanco, 15-07-09 12:19