I'm planning to write a paintjob system. I already have a theory, and some of the work is already done, but I'm not sure that I'm doing it right.
I involved the following stuff:
- shader, engineApplyShaderToWorldTexture (on vehicle)
- element data (for vehicle)
- png files (the paintjobs)
- render target + dxDrawImage
When you select a paintjob (on client side, gui menu) it triggers a server side event (client sends the vehicle and the paintjob's id to server) Then server side sets an element data for the vehicle, the data is the paintjob's id. After that it trigg