Jump to content

tank turret rotation system


Xwad

Recommended Posts

Hi. I have downloaded this resource: https://community.multitheftauto.com/in ... s&id=12651

(download the 1.00 version!!!)

This resource is an unfinished world of tanks gamemode. The script contains a turret rotation system <-- This is what i need..

This resource has a lot of lua files with long codes, so my question is: can you help me please take out the turret rotation system part of the script? Thanks in advance,

Edited by Guest
Link to comment

if you mean the game then here are the screenshots: http://imgur.com/a/7nBLu

you can see that its not a tuzrret towered vehicle.. You can see one of the pőicture an admin panel where you can see the vehicles id! So yeah, i need the script from the gamemode, the script that adds a rotetable turret for the car. the tank is just a skin.

Link to comment
  • 1 year later...
  • 1 year later...
  • 1 month later...
  • 1 year later...

This is a long dead thread but nobody ever actually explained how to accomplish turret rotation.

It doesn't get mentioned a lot but setVehicleComponentRotation is a very useful function that allows you to rotate any component on a vehicle model. There's probably more roundabout ways to go about it but that should be a decent starting point for attempting that sort of thing.

Link to comment

You can also check out the Epic Apc by Chemical Light (buylink in youtube video description).

That's a heavily modified SWAT car. I bought it and I have it on my server. It works great. 

 

Edited by Nixon
Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...