Does a MOD using external sensors exist?

  • Thread starter Thread starter juiblex
  • Start date Start date
J

juiblex

Guest
Hello all,

I'm interested in creating a modification for halflife 2 that would allow external sensors such as pressure pads, microphones, motion sensors, etc. to be used. I'm doing this as a project for this semester at Uni/College and have been looking for any other examples of modifications that use such non-standard input. However, I'm no HL2 pro, so I figured I should ask a group of people who (hopefully) would know. Has anyone heard of this being done?

Thanks in advance.
 
I think a mod with gameplay effected by microphones would be a great idea. I know that some people don't have microphones, one being me, but I think it opens a lot of doors. Splinter Cell 3 had coop play using microphones to communicate. If you spoke too loudly into the mic, enemies would hear you and find you.

I think this hasn't been done in source. Definetly nothing with motion sensors or pressure pads. How could you get motion sensors or pressure pads on the computer anyway? Use a webcam? But that doesn't solve the pressure pads. Graphics tablet perhaps? :D

This would be hella hard to code. I'm convinced it's possible though.

Oh right, I just read that you asked there any mods "that use such non-standard input." No, nothing official from what I have heard.
 
I think a mod with gameplay effected by microphones would be a great idea. I know that some people don't have microphones, one being me, but I think it opens a lot of doors. Splinter Cell 3 had coop play using microphones to communicate. If you spoke too loudly into the mic, enemies would hear you and find you.

I think this hasn't been done in source. Definetly nothing with motion sensors or pressure pads. How could you get motion sensors or pressure pads on the computer anyway? Use a webcam? But that doesn't solve the pressure pads. Graphics tablet perhaps? :D

Well, what I was planning wasn't exactly going to be for public consumption ;) Although maybe someday in the future... Anyway, I would have been using pressure sensors, etc. provided by the department of which I'm a student. They're not difficult to get working with a computer (hell, i could even hook up a barcode scanner to do something with if i wanted) - getting them to work with the game is another matter.


Oh right, I just read that you asked there any mods "that use such non-standard input." No, nothing official from what I have heard.

I thought so, but thanks for your post anyway. It's nice to see some support for the idea regardless ;)
 
it might be easier if you looked into a simple and seperate program which would bind peripheral input to keys on the keyboard and/or mouse movements. you could then run that program in the background and it should work with any application, including HL2.

JoyToKey for instance is a simple program which allows users to bind joystick inputs to keys on the keyboard and mouse movements. This specific program may not help you, but it should give you an idea because you may want something like that.
http://www.electracode.com/4/joy2key/JoyToKey English Version.htm

google stuff if you haven't already, I'm sure you can come up with something.
 
juiblex you're asking if it's possible? The answer would be yes. You should be able to use and have the game interact with any C/C++ sdk you have access to.
 
juiblex you're asking if it's possible? The answer would be yes. You should be able to use and have the game interact with any C/C++ sdk you have access to.
Just what I was going to type. All you need is the C(++) knowledge and you're off ;)
 
Back
Top