wimpdoom - Shoot with your eyes closed

Software projects like source ports (EDGE, Eternity, etc), launchers like ZDL, and other useful utilities belong in this forum.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

wimpdoom - Shoot with your eyes closed

Postby cce » Mon Nov 24, 2014 3:47 pm

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

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

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.

  • 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.
  • 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
Joined: 11 Dec 2012

Re: wimpdoom - Shoot with your eyes closed

Postby Par9000 » Tue Nov 25, 2014 9:17 am

Phehe! Could it work with Zandronum? :D
Joined: 05 Nov 2012

Re: wimpdoom - Shoot with your eyes closed

Postby cce » Tue Nov 25, 2014 11:04 am

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.
Joined: 11 Dec 2012

Re: wimpdoom - Shoot with your eyes closed

Postby Gez » Tue Nov 25, 2014 12:42 pm

The idea is an interesting curiosity if nothing else. :)
Joined: 06 Jul 2007

Re: wimpdoom - Shoot with your eyes closed

Postby Mikk- » Tue Nov 25, 2014 4:00 pm

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
Joined: 30 Jun 2009
Location: Somewhere off Kanagawa
Discord: Mikk0451#3922

Re: wimpdoom - Shoot with your eyes closed

Postby Sgt. Shivers » Tue Nov 25, 2014 5:43 pm

Haha, you should make the hud face close it's eyes when you do.
User avatar
Sgt. Shivers
Joined: 22 Jun 2012
Discord: Sgt. Shivers #4769

Return to Software and Ports

Who is online

Users browsing this forum: No registered users and 0 guests