WorthlessCynomys Posted May 8, 2017 Share Posted May 8, 2017 Hello there! I have replaced some cars with DFF files and such and I want to put GTA license plate on them, but I don't really know, how to do that. I'd really appreciate if someone could help me with this. Thank you! Link to comment
Addlibs Posted May 8, 2017 Share Posted May 8, 2017 I'm pretty sure all you need to do is assign a material of a specific name to the plate geometry. You should open up a standard GTASA model and check the license plate there. Its also worth mentioning that you need two faces - one for the background of the plate (like LS plate, SF plate, LV plate) and another face for the actual auto-generated number. Link to comment
3aGl3 Posted May 8, 2017 Share Posted May 8, 2017 The most obvious and best way would be to edit the dff files and add a license plate with these two materials: carpback - the background of the carplate, depending on the location the car is created in this will show an LS, LV, etc. license plate carplate - the actual letters of the carplate, this will show the 8 character license plate the car is assigned Now if you don't have access to the models, can't model etc. there would be a different way. As long as the model has a material for any kind of license plate you could use a shader to replace that with anything you want, that said you could use e.g. a HD license plate background and use a render target and dxDrawText to draw the license plate text onto that, then apply it to the model with a shader. This second way will work, however it's a good bit of scripting and could potentially have quite an impact on performance. Link to comment
WorthlessCynomys Posted May 8, 2017 Author Share Posted May 8, 2017 Thank you for your help, it was really helpful. 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