Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Weapons: Manual (WIP)

A revolutionary game integrating R&D and fun gameplay. · By simulacrum_games

Control Scheme (v1) Sticky

A topic by simulacrum_games created Nov 28, 2023 Views: 228 Replies: 4
Viewing posts 1 to 3
Developer (5 edits)

In response to requests to be able to try out the controls in their current state, I have uploaded a file called InputTest which will allow you to do just that.

While the controls are highly subject to change based on feedback and new features, keep in mind that it is intentional for the controls to have some amount of “jank”. Specifically, where restrictions or awkwardness add to the “feel” of operating a weapon.

The controls shouldn’t be anywhere near as bad as something like Surgeon Simulator or QWOP, where fighting the controls is the point. But they also shouldn’t be expected to live up to twitch shooter standards either.

The current control scheme is as follows:

   Default:
      Quit Game - Escape
      Load Single Action Revolver Level - 1
      Load Double Action Revolver Level - 2
      Jump - Space
      Use Left Hand - LMB (Hold)
      Use Right Hand - RMB (Hold)
      Look - Mouse
      Movement - WASD
      Sprint - Shift (Hold)

   Using Hand:
      Pick up/Put down Object - F

   Holding Object:
      Ready Left Object - LMB (Hold)
      Ready Right Object - RMB (Hold)

   Readying Object:
      Aim Mode - Caps Lock (Hold) Note: LMB/RMB can be released
      Manip Mode - X (Hold) Note: LMB/RMB can be released
      Cock Hammer - Mouse Scroll
      Toggle Safety - Mouse Middle Click

   Aiming:
      Activate Object - LMB/RMB (Tap) Note: The off-hand will operate the hammer, the main-hand will operate the trigger
      Cock Hammer - Mouse Scroll
      Toggle Safety - Mouse Middle Click

   Manipulating:
      Rotate Object - Mouse
      Toggle Pitch/Roll - Shift (Hold)
      Touch Object - LMB/RMB (Hold) Note: Only the off-hand can be used to touch, the main-hand will operate the trigger
      Grab Component/Object - F (Hold) Note: LMB/RMB can be released
      Cock Hammer - Mouse Scroll
      Toggle Safety - Mouse Middle Click

   Holding Component:
      Move/Rotate - Mouse

The hand orientation problem you mentioned when grabbing things and the thumbs pointing in the right direction. It might be solved by having an invisible real body constraining the hand movements to be realistic via inverse kinematics, so that all movements are constrained. It might be enough to just do shoulder, elbow, wrist joints. Then the hands won't go into unrealistic positions, and you could try to lessen the constrains to get things to snap easier to objects if necessary. Also, I haven't done unreal, but wrt. to the game lagging when doing manual collision detection, you should be able to spawn a thread which does work without blocking the main render loop and see if slowly adjusting the position in realtime would be subtle and short enough to not be noticeable (like you do in online fps games). Otherwise you could allocate a budget to the computational time of the collision detection between each loop, if there's no async callbacks which could work of the main render loop immediately available. Just a suggestion I thought about, when I watched your video. Love your idea of modular weapons and using them in battle! I think it is challenging to combine slow methodical gameplay of constructing weapons with fast paced shooters for the same player segment, but I'm curious what you come up with :-) 

Developer

Thanks for the feedback! If you check out some of my newer videos I was actually able to fix the two bugs mentioned, though I will need to add arms and joints with IK eventually anyway.

Have a good one!

How am I supposed to reload the revolver? I just manually unloaded the single action revolver but I cant seem to get the shells inside

Developer

If you have a round in your hand, tap F when your hand is over a slot in the cylinder to put that round in that slot.

You can also use this video as a reference: https://youtu.be/3ymioifL76k?t=241 The keys and mouse buttons I’m pressing are in the bottom left.