Jump to content

custom objects ?


pcisoft

Recommended Posts

txd = engineLoadTXD() -- Load up the txd, in () put the name of the txd file 
    engineImportTXD(txd,model) -- Import the txd replace model with the model ID 
    dff =  engineLoadDFF() -- Load up the dff, as before in () put the name of the dff file 
    engineReplaceModel(dff,model)  -- Replace the dff, replace model with the model ID 
    col = engineLoadCOL() -- Put col file name in () 
    engineReplaceCOL(col,model) -- Replace model with the model ID. 
    engineSetModelLODDistance(model,300) -- Use this to set a custom lod distance 300 max.. 

Questions?

Link to comment
txd = engineLoadTXD() -- Load up the txd, in () put the name of the txd file 
    engineImportTXD(txd,model) -- Import the txd replace model with the model ID 
    dff =  engineLoadDFF() -- Load up the dff, as before in () put the name of the dff file 
    engineReplaceModel(dff,model)  -- Replace the dff, replace model with the model ID 
    col = engineLoadCOL() -- Put col file name in () 
    engineReplaceCOL(col,model) -- Replace model with the model ID. 
    engineSetModelLODDistance(model,300) -- Use this to set a custom lod distance 300 max.. 

Questions?

Yes Please,

where to find objects files in GTA:SA folder ?

and what is COL and LODDistance

Thanks!

Link to comment
If you just want to add objects that are already there use

https://wiki.multitheftauto.com/wiki/CreateObject

http://dev.prineside.com/en/gtasa_samp_model_id/

Col = Collision file, it's what allows you to stand/ hit the object

LODDistance = The distance you are able to see the object from, but it needs a LOD assigned to it for better results.

I want to replace the default GTA object with a custom one (like CIT2 Spawn Vehicle custom object)

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