Jump to content
  • 0

R3F Arty and Logistics


Lanmanfm

Question

Does anyone know where the height distance is set for the lifting portion of this script? If I could read French, I might be able to figure it out, but...

 

I think it is about 30m default and I want it to be really short so that people can't fly over an enclosed base and just scroll around until they find a vehicle and pluck it out.

 

It would also be nice to make it so that locked vehicles couldn't be towed or lifted, but I figure that will be a lot of work.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Skimming through the scripts it seems this is where the vehicle is attached (remorquer_deplace.sqf):

// Attacher à l'arrière du véhicule au ras du sol
_objet attachTo [_remorqueur, [
	0,
	(boundingBox _remorqueur select 0 select 1) + (boundingBox _objet select 0 select 1) + 3,
	(boundingBox _remorqueur select 0 select 2) - (boundingBox _objet select 0 select 2)
]];

I believe the "+ 3" is what needs to be changed to increase the distance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...