Author Topic: Bring legs up like "sit" emote?  (Read 1947 times)

(pretty sure Suggestions & Requests is the right place for this)

Requesting the code or the know-how in order to make my player's legs go up as if he was using the sit emote. I have my player mounted to a vehicle, as a playertype, but when I have my player do the emote (in the code) he sits on the ground and is phasing through the vehicle. I just need to make it look like he is sitting on the "vehicle" and not standing through it lol. Thanks.

The Jeep has both forms, most seats the player sits, but the back two stand

The Jeep has both forms, most seats the player sits, but the back two stand
Ok. How do I make the player sit higher above the vehicle, after mounting it?

Changing the mount point in the vehicle model may be the easiest way

Changing the mount point in the vehicle model may be the easiest way
That won't work, the player is sitting on the ground, but mounted to the object which is the vehicle. Can I mount the player to a mount point on the vehicle instead of the vehicle itself and where (I'm guessing) it meets the ground?

changing the mount point in the model is the only way to get the player to mount to a different spot on the vehicle. any other workarounds would take 10x as much effort to do, and have a lot of other problems with it as well.

just import the .dts using ports importer/exporter and modify the mountpoint, then reexport. note that you may have to adjust some animations or keyframes if the model is animated so that the new mountpoint location is saved

changing the mount point in the model is the only way to get the player to mount to a different spot on the vehicle. any other workarounds would take 10x as much effort to do, and have a lot of other problems with it as well.

Hmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmm I don't understand why it won't work then, lol. I'm not making a vehicle, mind you. I made a playertype. It uses the vehicle model/animations, with your player mounted to it. The player is standing though :\

You made a playertype, started driving the jeep, but it doesn't sit?
Does it sit with the sit command?
If it doesn't you might not have a sit animation

Nevermind, fixed it. Edited vehicle rather than playertype. Also the "vehicle" is actually a playertype as well so I guess that was good to realize :P

what do you mean the vehicle is a playertype?
do you mean it's a bot?
and did changing it for one vehicle fix it for all vehicles?

what do you mean the vehicle is a playertype?
do you mean it's a bot?
and did changing it for one vehicle fix it for all vehicles?

You have a lot of questions :P I may be confusing you with how I explain it, so take a look at the add-on I am tweaking for a minigame I'm making: https://forum.blockland.us/index.php?topic=312959.0

https://forum.blockland.us/index.php?topic=277608.0]
Get the Player + bots events. Then do OnActivate>Player>PlayAnimation>sit
« Last Edit: September 30, 2017, 09:26:27 PM by soldier101@ »