TheGameCreators / GameGuruRepo

The GameGuru Repository For Community Collaboration
http://www.game-guru.com
137 stars 56 forks source link

GameGuru MAX - Request - Crawl Added to Player #3035

Open MonkeyFrogStudio opened 2 years ago

MonkeyFrogStudio commented 2 years ago

Currently, we have Crouch, but it's not low enough if we want the player to traverse a vent system, for example, where we want to simulate them crawling or doing a bit more than crouching down a bit. Would it be possible to get something closer to a crawl added or be able to adjust crouch if we need it to be even lower?

synchromesh62 commented 2 years ago

Currently, we have Crouch, but it's not low enough if we want the player to traverse a vent system, for example, where we want to simulate them crawling or doing a bit more than crouching down a bit. Would it be possible to get something closer to a crawl added or be able to adjust crouch if we need it to be even lower?

I reported this some time back when creating my Trapped Demo. The tunnel behind the picture in the demo and the height below the fireplace has to be around 4ft, 6 inches to clear which i agree is far to to high. In fact my fireplace is the limit i can crawl under which is just below the height of the Zombie. I redesigned my level to incorporate the fireplace as my original idea for a crawlspace did not work.

height

AmenMoses commented 2 years ago

There is a Lua command to control the player capsule but it is limited: ControlDynamicCharacterController(iObj, -- controls the physics capsule of the player fAngleY fAngleX fSpeed fJump fDucking fPushAngle fPushForce fThrustUpwards )

The fDucking I believe is simply a on/off flag, in order to have proper crawl control would need additional control over capsule height and orientation.

Of course this would then lead to all sorts of other issues, like how does the crawl get triggered, same button with multiple presses? Different button?

For full VR of course the player should mimic what the RL player is doing, driven by the height and orientation of the headset!

Oh and Don't hard code it! Put it all under Lua control so it can be customised!

MonkeyFrogStudio commented 2 years ago

I think what we need is a special instance for "crawl spaces". Like they use in games like Alien Isolation. When you come to an area you can crawl in, like a vent or other crawl space, you get a prompt (press "E" to enter the crawl space) and that moves the camera/player into that space until they exit. It's a lot like getting onto a ladder and exiting a ladder. But this way, you don't need an extra key to control it. You just use whatever the action key is (like "E").

Necrym59 commented 2 years ago

Can a command to rotate the capsule to a lying down position be done with the fAngleX be used? ive never looked at these commands.

synchromesh62 commented 2 years ago

Had a clean-up Guys and just left main the issue at hand. The Github Its not a forum. Please just stick to the reported issue if you have any input.

MonkeyFrogStudio commented 1 year ago

I really want to emphasize that it's pretty important in FPS games to have the ability to crawl through tight spaces, like vents. It's a staple of the genre. The fact that MAX cannot accommodate this is ... strange ... to say the least, imo. Please add the ability for the player to crawl in spaces like vents (where the end-user designates that crawling should take place).