wimpdoom - Shoot with your eyes closed

Things that are still useful but aren't launchers, engines, or editors go here.
cce
Posts: 17
Joined: Tue Dec 11, 2012 8:12 am

wimpdoom - Shoot with your eyes closed

Post by cce »

This is an eye detector and a ZDoom mod that restricts your shooting depending on the openness of your eyes in a webcam image.

Image
The eye detector software pointed at an image of Jason Lewis.

Image
Game screen when the left eye is closed. Image is darkened on the respective side like this, though a bit less in the release version.

I had an idea of a mod where you would play as someone who's really afraid of shooting, so you could only shoot with your both eyes closed. This implementation kinda works, but i still I consider it a bit of a failed experiment since the eye detector isn't very good.

Instructions
  • Download wimpdoom_r1.zip (3.9 MB)
  • Bind the eye signaling keys (the eye detector presses these down when an eye is closed) in ZDoom. (bind b +user1 and bind n +user2)
  • Run eyedetect.exe that opens up a window where you can see your face and some visual markers showing where it thinks you eyes are. Now keys are getting pressed if you blink your eyes.
  • Start ZDoom with the bundled wimp.pk3 as a PWAD.
Requirements
  • A webcam
  • Proper lighting so the program can see your face
  • A modern Windows operating system
Source code and technical documentation are available at Bitbucket.

I would love to hear if you get this working! :P
Par9000
Posts: 67
Joined: Mon Nov 05, 2012 4:49 am

Re: wimpdoom - Shoot with your eyes closed

Post by Par9000 »

Phehe! Could it work with Zandronum? :D
cce
Posts: 17
Joined: Tue Dec 11, 2012 8:12 am

Re: wimpdoom - Shoot with your eyes closed

Post by cce »

Par9000 wrote:Phehe! Could it work with Zandronum? :D
Yeah sure the PK3 might even work as is, or at least with minimal porting effort. The eyedetector just sends key up & down events so it's engine agnostic.
Gez
 
 
Posts: 17849
Joined: Fri Jul 06, 2007 3:22 pm

Re: wimpdoom - Shoot with your eyes closed

Post by Gez »

The idea is an interesting curiosity if nothing else. :)
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm
Location: Somewhere off Kanagawa

Re: wimpdoom - Shoot with your eyes closed

Post by Mikk- »

This gives me an idea for a mod where a monster gets enraged by the player actually looking at it. If it looks at the screen you have to close both eyes or it attacks - maybe an extension could get microphone input and make monster sensitive to sound.
Would be cool but rather gimmicky
User avatar
Sgt. Shivers
Posts: 1743
Joined: Fri Jun 22, 2012 5:39 am

Re: wimpdoom - Shoot with your eyes closed

Post by Sgt. Shivers »

Haha, you should make the hud face close it's eyes when you do.

Return to “Miscellaneous”