sudogroot / kinect-activity-reaction-interface

Automatically exported from code.google.com/p/kinect-activity-reaction-interface
1 stars 0 forks source link

Working on a FPS config. #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm working on trying to adapt the config base with the knowledge you put in to 
the wiki post to create a working config for fallout NV. I had a question 
though, I'm trying to make this

[set]
[require]
bodyAction      = turnLeft
angleMin        = 0
angleMax        = 90
[execute]
mouseTrack      = drag

result in the mouse going towards the left. In such a manner that while you 
remain slightly turned to the left from a facing forward manner it will keep 
turning. However in my attempts so far it isnt working. Namely my question is 
would I need to bind that(the execute/resulting action) to instead be something 
like a key press that it keeps pressed while my body remains turned to the left 
to get the desired result?

Original issue reported on code.google.com by Matt.Soh...@gmail.com on 13 Jul 2011 at 3:17

GoogleCodeExporter commented 8 years ago
Also additionally, this may seem like a stupid question, but is there a way to 
set the body condition to be fulfilled to be a gesture, such as reaching ones 
right arm to their hip as if drawing a handgun? I'm guessing not but I figured 
nothing ventured nothing gained. (BTW sorry about the wrong catagory lol!)

Original comment by Matt.Soh...@gmail.com on 13 Jul 2011 at 3:32

GoogleCodeExporter commented 8 years ago
The way that mouseTrack works, is you should only use it with your hands.
That's not really clarified in the documentation... I'll fix that.

If you want left to have to turn left, just assign as:

[require]
bodyAction = turnLeft
angleMin = 20
[execute]
keyHold = arrow_left

Later tonight, I will be putting the a new version up that supports the 
extended keys.

For a FPS, you may want to use the turning for quick left/right, then 
additionally the drag functionality for precise aiming.

I will tinker around with a FPS config as I get time... I spend most of my time 
working on enhancements :)

Original comment by gareth.p...@gmail.com on 13 Jul 2011 at 4:51

GoogleCodeExporter commented 8 years ago
for reaching your right arm, to your right hip, that would be fairly easy:

[require]
bodyAction = handRightDown
distanceMin = 20
[require]
bodyAction = handRightOut
distanceMax = 5
[require]
bodyAction = handRightForward
distanceMax = 5
[execute]
keyPress = *whateveryourkeyis*

And what that would do is define a 5 inch area, directly 20inches below your 
shoulder. So only putting your hand in that little area, would execute your 
handgun trigger

Original comment by gareth.p...@gmail.com on 13 Jul 2011 at 4:55

GoogleCodeExporter commented 8 years ago
Awesome, thank you for the help. Time to try fiddling some more with the 
settings and config.

Original comment by Matt.Soh...@gmail.com on 13 Jul 2011 at 12:50

GoogleCodeExporter commented 8 years ago
Oh also one concern I have with the using the right hand to look, it creates 
something of an issue since no matter what you do eventually you'd need to turn 
180 degrees behind you. Would the only real solution there to keep from getting 
turned backwards be turning up the mouse/pointer sensitivity?(Sorry if it seems 
like I'm bugging you alot) 

Original comment by Matt.Soh...@gmail.com on 13 Jul 2011 at 3:01

GoogleCodeExporter commented 8 years ago
currently there is no solution for a fast 180, but I plan on changing "drag" so 
you can change the sensitivity range, so a close-to-body drag would go super 
far, while the fully extended drag will stay precise

Original comment by gareth.p...@gmail.com on 13 Jul 2011 at 4:35

GoogleCodeExporter commented 8 years ago
currently a close-to-body drag will move further than far-from-body. Just setup 
your ranges correctly. But the difference isn't enough for a 180 yet.

Original comment by gareth.p...@gmail.com on 13 Jul 2011 at 5:06

GoogleCodeExporter commented 8 years ago
ok Matt, try out version KARI 0.053b.
there is information in the files comments.

Original comment by gareth.p...@gmail.com on 14 Jul 2011 at 9:22