..:D&G:.. Posted February 28, 2014 Share Posted February 28, 2014 Hello, I want to know how to I change the skin of a vehicle upgrade. Is it like changing the skin of an object? Link to comment
Karuzo Posted February 28, 2014 Share Posted February 28, 2014 Yeah just like replacing Car Mods. Here is a List of the IDs. https://wiki.multitheftauto.com/wiki/Vehicle_Upgrades Link to comment
..:D&G:.. Posted February 28, 2014 Author Share Posted February 28, 2014 Ok, thanks. And now, how do I replace the paintjobs of a car? Cause in the pack I have elegy.txd, elegy1.txd, elegy2.txd etc.. And they are paintjobs Link to comment
Wei Posted February 28, 2014 Share Posted February 28, 2014 You may need to use shaders as far I checked on forum... Link to comment
..:D&G:.. Posted February 28, 2014 Author Share Posted February 28, 2014 I found this: if (getElementData(veh, "dbid") == 341) then local shader, tec = dxCreateShader ( "texreplace.fx" ) local tex = dxCreateTexture ( "textures/theno_monster.png" ) engineApplyShaderToWorldTexture(shader, "monstera92body256a", veh) dxSetShaderValue(shader, "gTexture", tex) end But it seems like I need the id code of the texture engineApplyShaderToWorldTexture(shader, "monstera92body256a", veh) Where can I find this codes? Link to comment
Ren_712 Posted March 1, 2014 Share Posted March 1, 2014 use shader_tex_names resource to determine the texture name of the custom model. Link to comment
Hell-Mate Posted March 2, 2014 Share Posted March 2, 2014 [quote name=..&G:..]Ok, thanks. And now, how do I replace the paintjobs of a car? Cause in the pack I have elegy.txd, elegy1.txd, elegy2.txd etc.. And they are paintjobs use this > setVehiclePaintJob 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