New to the forums? Click here to read the "How To" Guide.

Developer? Click here to go to the Developer Forums.

Hydra Cover Shooter - VR FPS (Updated to v1.0)

Teddy0kTeddy0k Posts: 205
Hiro Protagonist
edited September 2014 in Games and Apps
Hello Riftheads,

Here's my latest game for the Oculus Rift and Razer Hydra;

Download v1.0 here: https://mega.co.nz/#!ANAR0JTQ!RBNYOm6loV86LB0evdNE0GElchEqveoKBJqvqv7MIu8

Here's a new level made by Kent - [email protected]

Warehouse Download Link - https://drive.google.com/file/d/0B_6xCDM2whLWdExCd3NzTDhrZVU/edit?usp=sharing

Here's a some more videos;



It's using the control scheme from my HydraDeck Demo. It has position tracking for your body (via a Hydra attached to your chest) which allows you to take cover behind columns and duck behind boxes to avoid the incoming enemy fire. The enemies are robots with plasma rifles who lay down some serious suppressing fire. To survive, you'll need to pop up from behind cover and take your shots, or blind fire around corners and hope to hit them.

The position tracking adds a tonne to the immersion of being in a virtual world. Please be careful when playing this demo, lots of people try to support themselves on the crates when they try to stand up or when leaning up against a column, but find there is nothing there!

Just like my last HydraDeck demo, players seem to get very little simulation sickness from this demo. If you do feel any, I'd love to hear from you.

As I mentioned in the video, I've released the UDK level assets and editor, so if anyone is interested in building some of their own levels you can download it here;
https://docs.google.com/file/d/0B1KRnJKwYT-0Tmx3djZXZlNCS00

And if you'd like to implement something similar in UDK, here's the source code;
https://mega.co.nz/#!ZdgHkAhZ!Llo4BlFJeXxknw1fMdL6TQFp3WYN82tkHIusbEcB_Aw

v1.0 changelist
-Updated to the new Septemeber 2013 UDK. Now has working yaw drift calibration, reads in IPD settings from Oculus Config util, etc
-Fixed a whole bunch of calibration issue people were having

v0.4 changelist
-Added laser sword. It can cut through your enemies and deflect their shots back at them. Stretch out with your feelings.
-Disabled reload feature by default. You can turn it on in the UDKGame\Config\DefaultGame.ini file if you like

v0.3 changelist
-Added reloading. Press the Right Bumper to eject the magazine, then touch the gun to your body to insert a new mag
-Added an UZI. Fires really fast and thus has to reload lots!
-Added a hand grenade. Hold the trigger to pull the pin, then lob and let go of trigger to throw. I find throwing over arm or rolling it along the floor works best!
-Added real physics and sounds to empty shell casings
-Decreased size of head hit box to a more human size
-Made players health regenerate faster
-Fixed players need to recalibrate after the map restarts
-Made "Point at Hydra Base" calibration require a trigger pull by default. I think this will fix a lot of people's calibration issues

v0.2 changelist
-Changed run button to joystick button (push the joystick in)
-Rewrote body tracking rotation, it will now work with the Left Hydra attached anywhere on your chest or back, facing in any direction
-Improved body tracking when leaning to the side or bending over, should match up much better
-Added new calibration step to calculate Hydra Base height (touch the floor)
-Added new calibration step to calculate offset from chest to neck/head (touch back of your neck)
-Added new Turtle enemy
-Added new Thug enemy
-Added new bullet impact effect to give you better feedback when you miss (thanks JamesMcCrae!)
-Added reload to the gun when you press rb (bumper button) NOTE: currently disabled. Turn it on in the config files to test it out
-Tweaked bots tracking of the player to be slightly less aggressive
-Tweaked bots movement speed to be faster, so they can dash between cover
-Reduced the size of the player's hitbox to more closely match your head size
-Improved positional tracking of player's gun
-Improved framerate by reducing the ScreenPercentage default value to 150
«134567

Comments

  • totallymichaeltotallymichael Posts: 37
    Brain Burst
    I'm a huge fan of Hydra Deck and this looks awesome. I can't wait to try it out!
  • evilSheepevilSheep Posts: 5
    NerveGear
    That was intense! It will be much better when everything is wireless - I ended up wandering back too far and pulling the hydra dock and rift box off my desk lol. Definitely worth it though. The positional tracking really adds a whole new level of immersion, and no sickness at all. My legs are actually sore from all the crouching and crawling around..
    Do you plan on adding a full body/arms?
  • jasonatokcjasonatokc Posts: 353
    This kids got talent!! 3d is great and the positional tracking controls are really really good. Awesome please keep up the great work!!!
  • Thodder7Thodder7 Posts: 95
    Hiro Protagonist
    Teddy great job, this is so much fun! Wireless will def inprove this, I manage to get all tangled in hydra cords, oculus cord, and headphone cord lolol.... but still so much fun! I'm actually sweating from poping up and down, I have my desk position set pretty close so I can lean on it, and shoot! I'll try and get a video of to help promote this in the next few days... Awesome job!
    Join the VR Brotherhood: http://bit.ly/1iUAjuf
    Our Youtube Channel!: https://www.youtube.com/user/VRBrotherhood/videos
  • totallymichaeltotallymichael Posts: 37
    Brain Burst
    This was awesome. Definite have to be careful of your surroundings. Ha ha. The very first time I had to duck down I didn't even think about it and I smacked my Hydra against my desk. But man, what a workout! I don't know if I'm just that out of shape or what, but all that crouching and standing up and crouching over and over got my heart going. Super awesome demo! I can't wait to show this one off to my friends. It would be nice if there was a way to adjust the difficulty. It would be awesome to make the enemies' bullets fly a little slower. But yeah, this is a lot of fun. Awesome job.
  • mknktmknkt Posts: 30
    Brain Burst
    Teddy, you are awesome at making games, I would love to test anything you make! This is by far the best Game/Demo for the Rift so far. After I got past the guys on the landing I was just messing around then I realized what I needed to do :o It got about 10x better than it already was :D Thank you so much for your hard work and dedication to this and please keep at it, you are definitely good at making UDK games. Do you know how to add a body and have arms and a hand attached to the gun? I think that would add greatly to the immersion! Thanks again and God Speed good sir!
    Vector Reboot Studio
  • drashdrash Posts: 2,849
    Neo
    Very cool game -- definitely a good way to get a workout going haha. The whole calibration part is easy -- I threw on a shirt with a front pocket and threw my left Hydra controller in there.

    I wasn't able to get too far after that because my right Hydra controller's thumbstick wasn't moving my character the way I expect it to. Pushing up on the thumbstick moved the character to the right instead of forward. As a result, I ended up just staying behind one crate until I died.

    Also, I went through the readme first and saw that there was a place to set up my IPD, so I chased down the HydraCoverShooter\UDKGame\Config\EditorEngine.ini and changed the EyeDistance value to 0.0666 instead of 0.064 (I have an evil IPD), and the result was stereoscopy that I could barely tolerate. Going back to 0.064 was much better. So while I appreciate the option to change the IPD, I think that something is not working quite right?

    Thanks you, and looking forward to updates! :)
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    Thanks for the great feedback guys!
    evilSheep wrote:
    Do you plan on adding a full body/arms?
    mknkt wrote:
    Do you know how to add a body and have arms and a hand attached to the gun?
    I'd love to, but I don't think there is really enough position information to make them pose properly. Right now I only have the position of your chest and your hand. I can't even tell which hand the gun is in, so any body I put in is inevitably be in the wrong pose. I may come back to this in a later demo, but right now I just want to focus on the controls and building something fun, quickly.
    Thodder7 wrote:
    I'll try and get a video of to help promote this in the next few days... Awesome job!
    I'd love to see some videos of people ducking and shooting, please send it to me if you do!
    It would be nice if there was a way to adjust the difficulty. It would be awesome to make the enemies' bullets fly a little slower.
    This sounds like a great idea! I don't really have time to mess around with making a whole UI, so I'll just pop it in the config files and leave some instructions. Say if I allow you to configure the speed of the enemies bullets, and how much damage they do, would that make it easy enough?
  • grafixgrafix Posts: 3
    Teddy. Long time :)
    Wasn't exactly expecting to see your head pop out from behind that headset :P
    But yeah - congrats man - this is a pretty cool demo. I'm ordering a Hydra & keen to help out in any capacity - soon as you're want any help - let me know & I'll see if I can't whip up some levels & weapons & whatever else you're after.
    -- Fix
  • drewbdoodrewbdoo Posts: 15
    So, I'm not sure exactly what I'm doing wrong. I never got into your hydradeck because it never seemed to be working correctly for me either.

    I start the .bat file and sometimes I get the "Point both hydras at the base and pull the triggers" but it goes to the "Attach left hydra" screen almost immediately. I take an ace bandage and strap the left controller to my chest, put on the rift, grab the right hydra and the gun is somwhere off on its own. When I bring the right controller to my face, it is about 2 feet to the left. I can manage to run over and hide behind the crate, but can't line up a shot for the life of me. I end up closing one eye and rotating my hand around until the laser lines up and maybe get a shot or two before I die. :cry:
  • aleale Posts: 12
    NerveGear
    I didn't really like HydraDeck, but man, this is awesome! The position of the gun is slightly off for me, but you tend to forget that as soon as bullets start flying. The positional tracking of the head seems to work extremely well.

    The movement isn't analog, is it? Would it be hard to implement?
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    drash wrote:
    Very cool game -- definitely a good way to get a workout going haha. The whole calibration part is easy -- I threw on a shirt with a front pocket and threw my left Hydra controller in there.

    I wasn't able to get too far after that because my right Hydra controller's thumbstick wasn't moving my character the way I expect it to. Pushing up on the thumbstick moved the character to the right instead of forward.
    Thanks drash :-)
    When you put the Hydra in your front pocket, are the buttons facing the ceiling? This is how I always place it in my bumbag, so there's a possibility that if you had it upside down that could flip the body rotation.

    drash wrote:
    Also, I went through the readme first and saw that there was a place to set up my IPD, so I chased down the HydraCoverShooter\UDKGame\Config\EditorEngine.ini and changed the EyeDistance value to 0.0666 instead of 0.064 (I have an evil IPD), and the result was stereoscopy that I could barely tolerate
    Not sure if you made a typo there, but the IPD setting is in DefaultEngine.ini

    All the stereoscopic rendering is part of the UDK, so it should be exactly the same as in any other UDK demo. I have a lucky 0.064 IPD, so I've never had to tweak it. If you're sure it's wrong, I'll ask if the Oculus team can review this in their next UDK update
    drewbdoo wrote:
    I get the "Point both hydras at the base and pull the triggers" but it goes to the "Attach left hydra" screen almost immediately. I take an ace bandage and strap the left controller to my chest, put on the rift, grab the right hydra and the gun is somewhere off on its own.
    You don't need to pull the triggers, only point it at the base and it should calibrate automagically. Are you also attaching the left hydra with the buttons facing towards the ceiling?

    Another thing worth pointing out is if the left hydra rotation can be re-calibrated at any time by pressing any button on the left controller. I wonder if you bandage is making it hold down a button?

    There's an easy way to check your calibration, if you look down at your feet, you should see a black arrow, which indicates the direction your body is facing, like so;
    I77yNFW.jpg
    If that doesn't match up, something has gone wrong.
    grafix wrote:
    Teddy. Long time :)
    Wasn't exactly expecting to see your head pop out from behind that headset :P
    Oh my god, hi grafix! Long time no see! Time to make another Dystopia?! ;)
  • This is super awesome. The best I have tried so far, easily. It felt really good duck and gunning. Please let me open the door and fight up the staircase after I've finished the first waves off. I'll give you money today. It was so stoked when shot the lock and thought the door was going to open for more.



    ______
    My thoughts:
    Let me adjust the gun position to my hand. A fudge button, that reduces movement and rotation by 50% while it is held. This would let me adjust orientation to make the weapon feel just right in my hand, and allow me to grip the hydra any way I want and still aim hand-forward. ( I like to palm the very top so the grip angle feels flatter to the trigger.)

    It would be like racheting, and have intuitive visual feedback.
  • freerunneringfreerunnering Posts: 8
    NerveGear
    Very impressive demo!
    This really shows the advantages of positional tracking in purely gameplay terms (as well as immersion).

    Any chance of an OSX build? (I haven't used UDK but can't it export as an OSX application quite simply?)
  • 320x200320x200 Posts: 125
    Hiro Protagonist
    Please let me open the door and fight up the staircase after I've finished the first waves off. I'll give you money today. It was so stoked when shot the lock and thought the door was going to open for more.
    Don't give up on that door after the first wave... :)


    The position tracking really takes things to the next level. I almost never forget my IRL position/reality while using the Rift but at least twice in that second area I reached out to the small wall to help pull myself up haha

    I get motion sick easy so I was eager to try this out. It wasn't bad. Still have nausea when using the stick to move from cover to cover of course, but overall it was better than a lot of demos for not getting sick. I did seem to be getting a bit of lag in my position movement and my rift wasn't syncing up 1:1 with the scale of my movements which made me a bit woozy, but we're talking way way less than most demos where the disconnect between movement and visuals is 100%.
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    Please let me open the door and fight up the staircase after I've finished the first waves off. I'll give you money today. It was so stoked when shot the lock and thought the door was going to open for more.
    Try it again. You only found the first part of the puzzle :-)
    Let me adjust the gun position to my hand. A fudge button, that reduces movement and rotation by 50% while it is held. This would let me adjust orientation to make the weapon feel just right in my hand, and allow me to grip the hydra any way I want and still aim hand-forward.
    That's a very interesting concept. Well to start with I could add a rotation offset to the .ini files pretty easily if you'd like to try that out. For the positioning, which direction is it feeling wrong when you're facing the hydra base? Too high, too low, too far left, etc?
    Any chance of an OSX build? (I haven't used UDK but can't it export as an OSX application quite simply?)
    I don't think it's possible to get the UDK Hydra dlls to work on OSX, or if there's an equivalent. A quick search of the interwebs shows up nothing :(
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    320x200 wrote:
    I get motion sick easy so I was eager to try this out. It wasn't bad. Still have nausea when using the stick to move from cover to cover of course, but overall it was better than a lot of demos for not getting sick. I did seem to be getting a bit of lag in my position movement and my rift wasn't syncing up 1:1 with the scale of my movements which made me a bit woozy, but we're talking way way less than most demos where the disconnect between movement and visuals is 100%.
    Interesting. Did you use the run button at all? I'm guessing slower movements are easier to handle if you're prone to motion sickness?

    Also, did you configure your IPD in the ini settings? UDK doesn't work with the Oculus profile tool yet, so you'll need to enter it manually. And did your PC get 60 fps? You probably need a pretty beefy machine to get good framerate too. Both these things should help a little with the lag and disconnect
  • 320x200320x200 Posts: 125
    Hiro Protagonist
    Oops, I mean my hydra wasn't syncing up 1:1, not the rift.

    Yeah, no run button at all. Best movement for motion sickness is an absolute crawl straight forward with no strafing.

    I did set the IPD but I am far from 60fps, looks like about 30. I think I was getting a bit of sway in the way I had attached the hydra the first time (the glamorous "sock duct taped sidways to the t-shirt" method). It seemed better a second time around with more tape for a tighter mount.
  • grafixgrafix Posts: 3
    Teddy0k wrote:
    Oh my god, hi grafix! Long time no see! Time to make another Dystopia?! ;)
    Hell freakin' yes. With our current skill levels I reckon it's a helluva lot more achievable :)

    Until you're ready to get cracking on that - I have a super-simple & accessible one-button VR game design I'm building in Unity - I'd like to run past you & hear your thoughts? :)
    -- Fix
  • This is the best Demo I have tried.

    This control scheme is EXACTLY what I have been after in a game. You're a LEGEND TeddyOK.

    I'm just having trouble getting my gun to aim correctly. If we could get a reset for the gun that would be awesome.I'll keep playing around with it though.

    I can't tell how many frames I am getting. It seems a little slow. I tried stat fps but it didn't work.

    This has convinced me to keep the theatre room in my new house clear for VR. This will be my mrs ----> :evil: Hahaha. :D

    Please keep going with this mate. Set up a paypal and I'm sure a few of us ill buy you a few beers for your efforts.
  • JamesMcCraeJamesMcCrae Posts: 208
    Hiro Protagonist
    This was AWESOME.

    My comments (just trying to be helpful, the demo is really fantastic):

    - the left hydra controller seems to affect the yaw (orientation about the y-axis). I found a physical action such as leaning over would tend to significantly re-orient your character, which I did not think would happen (you can watch the black arrow which indicates torso direction rotate). Thus when you hit "forward" on the right thumbstick while leaned, you go in an unexpected direction. Does this controller need to be oriented completely vertically on your body (I had it "mounted" diagonally using a scarf to hold it, which may account for this unintended rotation)? I initially had expected only position (and not orientation data) was coming from the controller, but it seems not to be the case. I think some others have may have responded pointing this issue out (of the thumb stick's forward sometimes not being forward).

    - the re-calibration controls (to account for drift) seemed a bit strange to use, as if the two central buttons on either controller did different things. The right controller's central button alone did not do what I expected - it seemed to match torso/head directions, while the left central button seemed to match (torso/"forward in level") directions. Either way - I found that I had to reach into the scarf, press the left central button, then subsequently press the right central button, to recalibrate head and torso back to the forward direction (done while head/torso face hydra base). Perhaps it would be easier to assume the player always faces with both torso and head toward the base station, and solely the right central button re-orients everything (presently, it's a pain to reach inside the "scarf compartment" to hit the left central button in there). Alternatively, use the other buttons on the right controller if you believe the independent calibration steps to be necessary. Regardless, having all controls for the demo on the right controller may be beneficial, since people will have the left controller tucked away and inaccessible.

    - for the short term (at least), we will all be "wired up" to our machines via rift, hydra and headphones, I would envision the "level layouts" being principally linear (exactly as you have it), where there is generally progression in one principal direction, but you have some freedom in moving side to side. In retrospect, I think many of those "cover-style arcade games" also did things this way. This avoid tangling issues - and I found as you have it, I did not run into that at all, which was a bit surprising given the level of physical freedom.

    - aiming feedback. I found given the rift's limited resolution, players would agree that aiming at distant enemies can be a difficult task (even with the "laser sighting" effect). Have you considered some exaggerated visual effect when the bullets hit geometry - the player can observe this over time ("oh, I'm aiming a bit high and to the right"), and then adjust aim accordingly? Right now it can be a bit of a random search when you are in the general area but looking to get the aim just right. Not at all a critical one - but gives the player more feedback. For instance, the "green ooze" and "ugh" effects when you do hit are great feedback ;)

    All that said, incredibly fantastic work. The people who are going nuts for this demo are not exaggerating :) Definitely one of my top 3 now :) With this additional element of physical interaction, tying together the physical and virtual worlds, it really does make you feel like you're there (and concerned about getting shot or snuck up on! Anyone else paranoid about "baddies" sneaking up behind you through the doors in the atrium? :) )
  • whoisonlinewhoisonline Posts: 415
    NerveGear
    What can I say .. ! .. fantastic work .. i was left begging for more .. i need more levels!
    I hope you expand on this one. The configuration process is a bit off .. but not by much, obviously going wireless is essential for this game, I'm thinking of suspending the rift and controllers from the ceiling. I didn't want to go there, but I think its now essential :-)

    Would you mind if I put some youtube videos up of me playing your demo?
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    Thanks for the kind comments guys, much appreciated!
    I'm just having trouble getting my gun to aim correctly. If we could get a reset for the gun that would be awesome.I'll keep playing around with it though. I can't tell how many frames I am getting. It seems a little slow. I tried stat fps but it didn't work.
    You can recalibrate the Oculus when it drifts off (which seems to happen every 3-4 minutes) by standing still, looking straight ahead and press start on the right Hydra.

    If you're having a hard time getting good FPS, try changing ScreenPercentage to 100 in DefaultSystemSettings.ini. That reduces the "resolution" of the screen, but will improve the frame rate quite a bit.
    This has convinced me to keep the theatre room in my new house clear for VR. This will be my mrs ----> :evil: Hahaha. :D
    Tell her I'm sorry!

    Will your new room look like this?
    tumblr_lxxitszH9J1r2cfvxo1_500.gif
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    This was AWESOME.

    My comments (just trying to be helpful, the demo is really fantastic)
    Regarding the calibration issues, I'm redoing the math, so the calibration will work no matter which way you attach the hydra to your chest. In the v0.1 release, it assumes you'll have it with the buttons facing the ceiling and only uses the yaw rotation from the hydra.

    Regarding the recalibration, you should never need to recalibrate the Left Hydra (provided it was attached properly when you started). The buttons on the Left Hydra calibrate it, the Start button on the Right Hydra calibrates the Oculus Rift. You should only need to do the Oculus recalibrate I think.
    - for the short term (at least), we will all be "wired up" to our machines via rift, hydra and headphones, I would envision the "level layouts" being principally linear (exactly as you have it), where there is generally progression in one principal direction, but you have some freedom in moving side to side
    You've hit the nail on the head there, this time I'm building all my levels so the player progresses down the X axis (which is towards their computer/desk). This is quite different to my HydraDeck demo, which I found had many more issues with cable tangling, etc.
    - aiming feedback. I found given the rift's limited resolution, players would agree that aiming at distant enemies can be a difficult task (even with the "laser sighting" effect). Have you considered some exaggerated visual effect when the bullets hit geometry - the player can observe this over time ("oh, I'm aiming a bit high and to the right"), and then adjust aim accordingly?
    Thanks for this feedback, I've just implemented this as you suggested and it's made a really big difference. It's a very exaggerated spark, but it really does the job!
    Anyone else paranoid about "baddies" sneaking up behind you through the doors in the atrium? :)
    Ok, you asked for it! I'm going to add some baddies to sneak up on you in the next build :P
  • Teddy0k wrote:
    That's a very interesting concept. Well to start with I could add a rotation offset to the .ini files pretty easily if you'd like to try that out. For the positioning, which direction is it feeling wrong when you're facing the hydra base? Too high, too low, too far left, etc?

    I believe it's about 4 inches to the left usually, but shifts around over time.
  • SteelClawzSteelClawz Posts: 110
    This was incredible... really good job... some concerns... sometimes in the middle of the game the orientation gets reversed for standing and sitting and i have to shut down the game and restart it cause the start button doesnt fix that problem. and i havent seen anyone else mention that yet. and the gun never wants to aim straight... i kinda found a fix for that... if you keep aiming to the right and hitting the start button it will keep changing the position of the gun until its perfect. We really need a wireless rift, kept finding the wires gettings tangled, what with the 3 wires on the rift in conjunction with the Hydra and my headphones, then getting turned around in the game, man it was a beast... but i got a score of 977 and almost beat the top score. Also i love the secret passage to the next room, which is just incredible, love it, the enemies remind me of Halo.

    Hope your working on the next version cause im ready to hit the download button
  • dead4suredead4sure Posts: 263
    Nexus 6
    I'm clearly being a bit special here because I can't get past the "point at base" stage!

    I have tried every damn combination of pointing/waving/flailing I can think of lol! :oops:
  • 320x200320x200 Posts: 125
    Hiro Protagonist
    dead4sure wrote:
    I'm clearly being a bit special here because I can't get past the "point at base" stage!
    If that happens I was able to clear it out by pointing both controllers roughly at the base and not pressing anything (including turning so the chest controller points at the base).
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    dead4sure wrote:
    I'm clearly being a bit special here because I can't get past the "point at base" stage!
    Is your Hydra base setup with the cables coming out of the back? Like in this setup vid? http://www.youtube.com/watch?v=Ki_55urw2KQ

    Does your Hydra work ok for other demos?
  • Teddy0kTeddy0k Posts: 205
    Hiro Protagonist
    I believe it's about 4 inches to the left usually, but shifts around over time.
    I'm starting to find that Hydras have some inbuilt inaccuracy for position that varies depending on the room. In my kitchen, I've got some big ass metal shelves to one side, which seem to wreak havoc on the Hydra positioning and rotation.

    I'm trying to find more info about this, but there's not a lot of info out there. Not sure if there's much that can be done for this using calibration alone...
Sign In or Register to comment.