Page MenuHomeFeedback Tracker

setMass no longer works to make vehicles (un slingable) slingable.
Closed, ResolvedPublic

Description

I noticed that when sling loading was first introduced in the dev build and if I wanted to say have a certain vehicle to be slingloaded I had to put in a command in it's init field: unitname setMass [10,0.5].

Using the setMass command in the init field allowed for you to pretty much be able to sling any type of vehicle (which would be good for mission makers).

Details

Legacy ID
1249535217
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Sling Loading
Steps To Reproduce
  1. Place any vehicle on the map that normally cannot be slingloaded.
  1. In the vehicle's init field put in "unitname/this setMass [10,0.5]".
  1. Place any helicopter that supports the sling load freature.
  1. Try to sling load the vehicle either yourself or AI via waypoints.

Event Timeline

Panicsferd edited Additional Information. (Show Details)
Panicsferd set Category to Sling Loading.
Panicsferd set Reproducibility to Always.
Panicsferd set Severity to None.
Panicsferd set Resolution to No Bug.
Panicsferd set Legacy ID to 1249535217.May 7 2016, 7:47 PM

There is no change in the behaviour of this scripting command or the sling loading feature.

Except the mass, vehicle needs to have set proper memorypoints and parameters in model/config as well. If you change the mass for a vehicle, which has these parameters properly set, it works fine. If you change the mass for a vehicle, which is not prepared to be sling loaded (=there are not memorypoints or/and paremeters in config), you won't be able to sling load it. It works this way from the beginning.