anumaz Posted August 21, 2014 Posted August 21, 2014 Adding the possibility of creating hitch points for vehicles/trailers. This feature exists for the Utility Truck, which has attached a Utility Trailer. However, if creating hitch points to any vehicle could be done, that'd be sick. Something like createHitchPoint(vehelement, offX, offY, offZ)
DiSaMe Posted August 21, 2014 Posted August 21, 2014 setElementPosition setElementRotation setElementVelocity setVehicleTurnVelocity Not saying the suggestion is useless, I'm just saying it can already be scripted.
anumaz Posted August 21, 2014 Author Posted August 21, 2014 setElementPosition setElementRotation setElementVelocity setVehicleTurnVelocity Not saying the suggestion is useless, I'm just saying it can already be scripted. That's a good suggestion, however, that wouldn't follow GTA physics just like a normal trailer.
rain_gloom Posted September 1, 2014 Posted September 1, 2014 AFAIK, you can do this by using custom models in single-player, not sure if loading those would work in MTA though. There was a mod that added such points to the ends of trailers, letting the player create chains of trailers. (sry, I can't find it) I think you just add a dummy object with the appropriate name to the appropriate parent. But if this was possible from scripts, that would indeed be better. (no dff downloads)
Blast3r Posted September 3, 2014 Posted September 3, 2014 I might sound dumb... But shouldn't attachTrailerToVehicle do the trick? I don't think that the function is limited to only truck trailers, should work on all of them.
Forrest Posted September 3, 2014 Posted September 3, 2014 I might sound dumb... But shouldn't attachTrailerToVehicle do the trick? I don't think that the function is limited to only truck trailers, should work on all of them. Nope, since the vehicles need a trailer hitch dummy.
Woovie Posted September 7, 2014 Posted September 7, 2014 I might sound dumb... But shouldn't attachTrailerToVehicle do the trick? I don't think that the function is limited to only truck trailers, should work on all of them. Nope, since the vehicles need a trailer hitch dummy. And without the dummy, it would try to attach to the vehicle's parent node which is typically at the bottom of the car in the center.
Forrest Posted September 7, 2014 Posted September 7, 2014 I might sound dumb... But shouldn't attachTrailerToVehicle do the trick? I don't think that the function is limited to only truck trailers, should work on all of them. Nope, since the vehicles need a trailer hitch dummy. And without the dummy, it would try to attach to the vehicle's parent node which is typically at the bottom of the car in the center. I never tried to get it that far. I had not realized it would do as such. Though I do know that even if you were to move the parent dummy to the trailer hitch position you would then have a car with broken handling & very buggy. Personally I feel this suggestion could open up a tonne of possibilities.
Guedes747 Posted September 9, 2014 Posted September 9, 2014 +1 for this suggestion. I was just thinking about this a couple weeks ago when testing out a few mods on my server, I took notice that the vehicle mod I had replaced the Utility Truck with did not support trailer attachment. It would be nice to have a work around this.
Recommended Posts