Jump to content

[WIP] GTA V like tuning shop


Recommended Posts

Good job as always you'll share it for community?

It's far from being finished as you probably might have seen in the video.

Anyways, I don't know if I should release it or not, this script is going to be huge. But who knows? Perhaps I will release it someday.

Link to comment

I suggest you make the camera look at wheels, spoilers or NOS when changing them. I wanted to add it to my old modshop but for some reason I can't get myself to get back to it.

You can use getVehicleComponentPosition to get the position of upgrade components that way you can get camera's target (look at position). Their names can be found here: http://www.gtaforums.com/index.php?showtopic=158088 I'm not sure if they all work with MTA because as far as I remember, that function worked with components which have meshes attached to them. To get the camera position you can use getElementMatrix and the position of the component to find out the position of the camera.

I like things to be dynamic not hardcoded so this will work with every garage, no matter what angle the vehicle is facing. I like the simplicity of UI in GTA V's mod shop.

Good luck.

Link to comment
I suggest you make the camera look at wheels, spoilers or NOS when changing them. I wanted to add it to my old modshop but for some reason I can't get myself to get back to it.

You can use getVehicleComponentPosition to get the position of upgrade components that way you can get camera's target (look at position). Their names can be found here: http://www.gtaforums.com/index.php?showtopic=158088 I'm not sure if they all work with MTA because as far as I remember, that function worked with components which have meshes attached to them. To get the camera position you can use getElementMatrix and the position of the component to find out the position of the camera.

I like things to be dynamic not hardcoded so this will work with every garage, no matter what angle the vehicle is facing. I like the simplicity of UI in GTA V's mod shop.

Good luck.

Thanks 50p, I was about to make a table with all the upgrade offsets for each vehicle, thank god you replied to my post.

Also, about the simplicity part; I totally agree with you, I like it when things are being done automatically, in such way I only have to edit a table, or something similar.

Anyways, I'll try to make this working, and use interpolateBetween on the camera so it moves to the specified coordinates with an OutQuad effect thus slowing down when it has almost reached it's point.

Link to comment
  • 3 weeks later...
Will do you release it to community?

Definitely.

I'm currently rewriting the tuningshop from scratch because I want the scripts to look nice and sleek, though I'm going on vacation tomorrow so you guys will have to wait a bit longer. Also, the tuningshop will be released opensource. (Thanks to Qais) That way everybody can contribute and make it even better.

Link to comment
Will do you release it to community?

Definitely.

I'm currently rewriting the tuningshop from scratch because I want the scripts to look nice and sleek, though I'm going on vacation tomorrow so you guys will have to wait a bit longer. Also, the tuningshop will be released opensource. (Thanks to Qais) That way everybody can contribute and make it even better.

This is the worst i have ever seen hahaha

Mesing

But Serously

Good job bro looks good i remember when you barly knew anything you have came along way

God Bless You man and God Bless All !!!!!!!

( Jesus Christ is Lord and Savior )

Oh and call my skype my messaging is messed up on it

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...