Charan

different texture for same vehicle for individual player

Recommended Posts

so there is this server called Grafuroam 

and it has a specific hydra skin for specific clan and not the same one for all clans

and also everyone can SEE the texture 

i just want to know how to do this :/ 

 

Share this post


Link to post

It's done by applying shaders to the vehicle when it's spawned.

Share this post


Link to post
1 minute ago, 3aGl3 said:

It's done by applying shaders to the vehicle when it's spawned.

can you tell me how like a example script ? :/ 

Share this post


Link to post

The script would be quite lengthy for a full system like the one in your example.
You will need to create a shader for every paintjob and apply the texture as a variable to it. Then apply the shader to all vehicles that have the paintjob.

To make it usable on a server you probably want to destroy and create the elements as needed, when vehicles stream in and out.

Share this post


Link to post
8 minutes ago, 3aGl3 said:

The script would be quite lengthy for a full system like the one in your example.
You will need to create a shader for every paintjob and apply the texture as a variable to it. Then apply the shader to all vehicles that have the paintjob.

To make it usable on a server you probably want to destroy and create the elements as needed, when vehicles stream in and out.

is there an exisiting example? :? 

Share this post


Link to post

They are probably all private, at least I don't know of a public one.
It's been a bit but I did search for one too...

Share this post


Link to post

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.