Jump to content

car replacement 2 problems


JeViCo

Recommended Posts

Posted (edited)

61qlqVO.png

Here is 2 problems. 1 - when i change this car, vehicle interior is white(like no textures but txd loaded)// 2 - when i change car paintjobs - changes only spoiler color. Tried to find other models - same thing

car paintjob replace

paintjob1 = engineLoadTXD ( "jester/jester1.txd" ) 
engineImportTXD ( paintjob1, 559 )

paintjob2 = engineLoadTXD ( "jester/jester2.txd" ) 
engineImportTXD ( paintjob2, 559 )

paintjob3 = engineLoadTXD ( "jester/jester3.txd" ) 
engineImportTXD ( paintjob3, 559 )

paintjob4 = engineLoadTXD ( "jester/jester4.txd" ) 
engineImportTXD ( paintjob4, 559 )

 

Edited by JeViCo
Posted (edited)
function addPaintjob(paintjobID,player)
if paintjobID == 1 then
    myTexture = dxCreateTexture( "1.png" )

For Paintjobs the above code and then create your own paintjob and import it, simple. And for vehicles use both DFF and TXD 

Edited by Unknown-guy
Posted (edited)

no i meaned i replace default paintjobs - not add new one(

supratxd = engineLoadTXD("jester/jester.txd")
engineImportTXD(supratxd, 559)
supradff = engineLoadDFF("jester/jester.dff", 559)
engineReplaceModel(supradff, 559)

supra - toyota supra model(i have 20+ cars in code)

Edited by JeViCo
Posted (edited)

BUMP!! i opened txd and it works, but not in-game. No conflicts( i use gta sa car models. Half of them works - other have white textures.

Edited by JeViCo
Posted

You need to use the provided TXD that's included with the mod's DFF that you download.
Also try typing /debugscript 3 to check errors while testing scripts in game.

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