mint3d Posted December 24, 2016 Share Posted December 24, 2016 Does anyone know anything in detail about this? https://wiki.multitheftauto.com/wiki/Vehicle_component_manipulation Link to comment
pa3ck Posted December 25, 2016 Share Posted December 25, 2016 Well, I think everything is explained there, what's your question? Link to comment
mint3d Posted December 25, 2016 Author Share Posted December 25, 2016 How to you physically use it within a script? Link to comment
pa3ck Posted December 25, 2016 Share Posted December 25, 2016 Oh, okay, I understand what you are looking for now. See the way every vehicle have moving parts, like doors, boot etc, these are all vehicle components. You can also add your own component with modeling. You can give these unique components name, like "rear_wing" and then you can use something like this to change it's position: setVehicleComponentPosition(vehicleElement, "rear_wing", 5, 5, 5) Don't ask me about modeling, unfortunately I have no idea about that part. But try to download a car model from the internet, chances are, there's a unique component already modeled in it and you can mess around with that to see how it actually works. You can also test the function by changing default GTA components' attributes. Link to comment
mint3d Posted December 25, 2016 Author Share Posted December 25, 2016 Ah right I see, now I understand it, that's quite cool yeah, gonna try it out later thanks for the help Link to comment
pa3ck Posted December 25, 2016 Share Posted December 25, 2016 Yea, it is really cool indeed, no problem. 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