I was working on this project when the source first came out, but I had trouble making a working build of the game.
My build had shitty lighting and frequent crashes.
Thanks to JKO's guide (
http://frictionalgames.com/forum/thread-3592.html), I was able to finally get a stable build.
The first time, I was merely experimenting with the Wiimote, to come up with some ideas.
I had movement, etc. working, and I had made the Wiimote act as the flashlight.
The code was simply thrown in at a random location, and wasn't really what I would call "decent coding".
This time, I'm making it "the right" way.
I'm making it as part of the input system, already present in the game.
So now, it's possible to configure the Wiimote in the Key Mapping menu.
There will be an option to allow users to choose whether or not the flashlight should be influenced by the Wiimote, etc.
If a nunchuk extension is attached, players will be able to look around using the joystick on the nunchuk, as well as lean by simply tilting the nunchuk from side to side.
The two buttons on the nunchuk can also be mapped.
If a weapon is carried, the flashlight will behave like normal, and the wiimote will be used for moving the weapon.
Old video of the OLD code:
http://www.youtube.com/watch?v=d4heV1s8M0E
New gameplay:
http://www.youtube.com/watch?v=AlAhXsPiQSU
Even newer gameplay:
http://www.youtube.com/watch?v=ObfopEauwCc&hd=1
Requirements
Full version of Penumbra: Overture
1 Wiimote
1 Nunchuk-extension (You can use a mouse, but note that you have to be far from the screen/infrared light sources to be able to move the flashlight. So you need a very tall table and a mouse with a long wire)
8 Infrared light sources (Or the IR stick that comes with the Wii console)
A room with a lot of space
Some cola
Lots of courage
More info will be coming soon...