Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

Seats "standing" parameter broken

PlumePack opened this issue ยท 4 comments

commented

For seat parts, the parameter "standing" which allowed to get the player to stand while being in a seat doesn't work anymore (since V20 I believe)

commented

What does your seat JSON look like? I could've sworn both the coremod's and my own standing seats worked fine...

commented

I had something like that in one of my vehicles, and up to V20 it worked fine

"parts": [
	{//Gunner Seat
        "pos": [0,-0.4,-0.8],
        "dismountPos": [0,0,-1.5],
        "types": ["seat", "seat_pilot"],
		"standing": true,
        "widthScale": 1,
        "heightScale": 1,
        "defaultPart": "ww1:invisibench",
        "additionalParts" : [
            { // Gun
                "pos" : [0, 0.125, 0.475],
                "types" : ["gun_tripod"],
                "defaultPart": "ww1:mg08",
                "minValue" : 5,
                "maxValue" : 15,
                "animations": [
                    {
                    "animationType": "rotation",
                    "variable": "gun_yaw",
                    "centerPoint": [0,0,0],
                    "axis": [0.0,1.0,0.0]
                    },
                    {
                    "animationType": "rotation",
                    "variable": "gun_pitch",
                    "centerPoint": [0,0,0],
                    "axis": [1.0,0.0,0.0]
                    }
                ]
            }
        ]
    }	
    ],
commented

If I'm not mistaken, the standing variable is supposed to be on the seat part itself.

You can either create your own custom "invisibench standing" or you can use MTS's internal "mts:invisible_standing" part for the same effect.

commented

You are correct: standing is part of the seat itself, not the part slot that the seat goes into. This makes this invalid.