Author Topic: Disable crouch (Solved)  (Read 2012 times)

Anyway to disable crouching on a player?
« Last Edit: April 17, 2014, 03:57:01 PM by Advanced Bot »

The only way to do this is to set the crouchBoundingBox the same as the regular bounding box. The crouch animation will still play though, so you may want to make a new TSShapeConstructor with the crouch animation taken out. I've tried doing the new TSShapeConstructor thing, but the textures and a lot of animations got messed up for unknown reasons.
« Last Edit: April 14, 2014, 10:21:05 PM by jes00 »


I think I have done this using a TSShapeConstructor. But someone told me that the face and decals were messing up, so ill take a look into it and see if i can release it as an add-on.

The Player_speeds mod has a RunOnly playertype - it makes it so that you can crouch but you can't move while crouching.

The Player_speeds mod has a RunOnly playertype - it makes it so that you can crouch but you can't move while crouching.
Link?


I think I have done this using a TSShapeConstructor. But someone told me that the face and decals were messing up, so ill take a look into it and see if i can release it as an add-on.

I think its because you forgot to supply an IFL file. Look in the default player folder for it.

I think its because you forgot to supply an IFL file. Look in the default player folder for it.
It has one, the faces and decals are visible to the host, but not to any other player. When a player spawns, I get missing texture console errors for base/data/shapes/player/[dir to face/decal]. Eg base/data/shapes/player/Add-Ons/Face_Default/Whatever.png

I've taken a look at Player_Beta, as that has similar functionality, but as far as I can tell there is nothing different, so I think that it has the same issue, however it was released anyway. I've found a topic with the same problem, but there were no solutions posted.

Thanks for the tips guys.