Curiosità

Playboy in vendita: colpa del web!

E cosi ora anche Playboy è in difficoltà grazie al web. L'informazione online infatti ha messo in ginocchio la stampa tradizionale da tempo e ora, grazie anche alla crisi, J. Kern ha deciso di vendere marchio e società per circa 300 milioni di $. Forse sarebbe stato meglio seguire un modello economico piu moderno visto che il porno nel web spopola e spesso è gratuito. 

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
 
 
0 #3 raoul 2011-02-03 13:34
Salve,
vorrei usare il wiimote sul pc e giocare con il mame ....qualcuno potrebbe darmi uno script pronto per glovepie o un link su come programmare i comandi?saluti Raoul
Citazione
 

Aggiungi commento


Codice di sicurezza
Aggiorna

News from Twitter

Loading...

Last 4 tweets from deuxexmachinait:

Ultime dal Forum

in Gaming by m3dstt, 06-09-11 08:11
in Networking by Fullenwider, 05-08-11 04:15
in Mac by Maryanne, 22-06-11 04:08
in Guide Windows by peppo1616, 09-10-09 15:27
in Guide Linux by CAbusivo, 07-08-09 16:10