Jump to content

re-texture world objects


Rondawgb

Recommended Posts

Okay so im working on bringing the GTA 3 map to San Andreas, I did it years ago with vice city but I cant seem to get the model texture and collision to load into the world, can someone tell me where im going wrong here, code example below. Also I have left the col file out of this I will add it again when I can get the texture and model in game

addEventHandler('onClientResourceStart', resourceRoot,
    function()
         txd = engineLoadTXD('b1.txd', 17511)
         engineImportTXD(txd, 17511)
         dff = engineLoadDFF('b1.dff', 17511)
         engineReplaceModel(dff, 17511)
    end    

 

Nevermind its a problem with the TXD file ill need to fix it.

Edited by Rondawgb
Link to comment

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