Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

[Suggestion] Allow animations based on the currently selected gun's variables

gyrohero opened this issue ยท 1 comments

commented

Currently, using gun variables in the vehicle JSON requires using a number at the end to refer to a specific gun. I propose that if you omit the gun number in the vehicle JSON, the animation system will get the variable from whichever gun is currently selected. In the case that multiple guns are selected (e.g. there are multiple of the same type of gun), it can simply get the first of these.

This will allow cameras that rotate with whichever gun is selected, not just one specific gun.

commented

Done in commit 244e348. Forgot to add issue number to commit.