kieran Posted August 9, 2017 Share Posted August 9, 2017 (edited) Hey, so making some vehicle skins etc on 3Ds Max, one of the big things I can't get my head around is how to move where a player enters a vehicle. The best example I can think of is on the huge cargo ships so many servers have, usually you enter the vehicle from the top on these custom ships, when you'd usually enter close to the water on normal ship. If you know of the function(s) that I'd need please leave them. Thanks for reading, if this is wrong place to post I'm sorry and please move to trash or something. Edited August 9, 2017 by kieran Link to comment
NeXuS™ Posted August 9, 2017 Share Posted August 9, 2017 I suppose they use setVehicleHandling and the seatOffsetDistance attribute. 1 Link to comment
kieran Posted August 9, 2017 Author Share Posted August 9, 2017 9 hours ago, NeXuS™ said: I suppose they use setVehicleHandling and the seatOffsetDistance attribute. Was looking for a way to actually make one, as you could climb into it from far away if it was a big ship.... Thanks anyway! Link to comment
NeXuS™ Posted August 9, 2017 Share Posted August 9, 2017 What you could do @kieran, is make just a vehicle at the position where you want the entering position for the ship to be. Set that vehicle's alpha to 0, and then whenever a player enters the vehicle, it'd get teleported into the ship. Link to comment
_DrXenon Posted August 9, 2017 Share Posted August 9, 2017 Or a great colshpere around the ship and whenever you press Enter while inside the shape, You get teleported. (so you can enter it from anywhere around the ship.) - I am sorry if that is not your need, since I did not totally get your idea. Link to comment
kieran Posted August 10, 2017 Author Share Posted August 10, 2017 1 hour ago, SuperCroz said: Or a great colshpere around the ship and whenever you press Enter while inside the shape, You get teleported. (so you can enter it from anywhere around the ship.) - I am sorry if that is not your need, since I did not totally get your idea. Not quite, you know when you press F and run? Basically that! haha.... But these ideas are good, thanks guys! And I am making stuff then replacing the models and collision files @NeXuS™ I am not just chucking it in randomly lmao.... Using example from another resource, but is for cars that have same dimensions, my ships dimensions are different to that of all others, I could raise the ship when it's spawned, but that would mean it would sink when ever it is hit or someone starts to enter it..... But col shapes are a great idea! I can just do it so cancels event if player is out of col shape is long way but may work... Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now