Jump to content

[HELP] creating a new plate


djharbi2

Recommended Posts

Posted (edited)

Hi,
creating a new plate
I want users to create a new plate using the pictures below, how can I do?

example: 
83593137_692886704449258_2100663951808266240_o.png?_nc_cat=102&_nc_sid=730e14&_nc_ohc=87u6RE-DEUsAX8UpixD&_nc_ht=scontent.fada2-1.fna&oh=14d60359752b22505db96762d415cb8c&oe=5EA733A6

 

Edited by djharbi2
Posted

Hello djharbi2,

did you know that you can use shaders to replace ingame textures? With shaders you can write text into a DX render-target and then attach it to a shader that would replace your license plate texture! With this technique you can create a custom license plate GUI like in your picture above. Here are some hints to lead you in the right direction:

Have you already looked at the resource community for sample scripts? It is always a good idea to learn from already existing code :) 

  • customvehplate - seems to do what you want; you just have to adjust it to fit your style + extend for GUI!

Feel free to post any questions.

- Martin

Posted
2 hours ago, The_GTA said:

Hello djharbi2,

did you know that you can use shaders to replace ingame textures? With shaders you can write text into a DX render-target and then attach it to a shader that would replace your license plate texture! With this technique you can create a custom license plate GUI like in your picture above. Here are some hints to lead you in the right direction:

Have you already looked at the resource community for sample scripts? It is always a good idea to learn from already existing code :) 

  • customvehplate - seems to do what you want; you just have to adjust it to fit your style + extend for GUI!

Feel free to post any questions.

- Martin

Thank you for your answer, this adds pictures on the existing plate. but I want to add a picture separately. Think like a sticker.

Posted
8 minutes ago, djharbi2 said:

Thank you for your answer, this adds pictures on the existing plate. but I want to add a picture separately. Think like a sticker.

Is the problem that the resource does just replace the text but not the surrounding plate texture? Then you could take a look at the following thread:

WASSIm. did provide a really interesting answer. There are texture of vehicles called "plateback1", "plateback2", "plateback3" which should be replaced using shaders.

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