Author Topic: Is it possible to make a player that cant crouch?  (Read 952 times)

Is it possible to make a player type that is unable to crouch?
If so please tell me how.

I have attempted this but I don't have a full understanding on how crouching works.

It should be as simple as making a package to disable crouching but when you move while trying to crouch, you still do.



You'd need some alternate mDTS TSShapeConstructor with no crouching animation and the crouch-moving animations replaced with standard run.

Couldn't you package the playThread function? It'd be hacky but as far as I know it would work.

I think the walking, running, crouching, etc. threads are automatically handled by the engine, not through code.

You could make the crawl speed of the player 0, that would keep them from crawling around, but not much more.

Aren't there multiple crouch animations? You'd need to take care of all of them and replace them with the corresponding upright walking animations.

There's the crouch root, crouch forward, crouch backwards, crouch strafe animations (not the exact names I know). You can knock down the root one by packaging the upright root function over it but that wouldn't eliminate the other movements. You'd need to do the same for those as well.