Charan Posted April 25, 2017 Share Posted April 25, 2017 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 Link to comment
3aGl3 Posted April 25, 2017 Share Posted April 25, 2017 It's done by applying shaders to the vehicle when it's spawned. Link to comment
Charan Posted April 25, 2017 Author Share Posted April 25, 2017 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 ? Link to comment
3aGl3 Posted April 25, 2017 Share Posted April 25, 2017 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. Link to comment
Charan Posted April 25, 2017 Author Share Posted April 25, 2017 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? Link to comment
3aGl3 Posted April 25, 2017 Share Posted April 25, 2017 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... 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