Jump to content

custom objects ?


pcisoft

Recommended Posts

Posted

Hello everyone,

I want to create a custom object in my server

and replace any other useless object ID with it

so what function I need to use ?

THANKS!

Posted

All what you need is:

engineLoadTXD() 
engineImportTXD() 
engineLoadDFF() 
engineReplaceModel() 
engineLoadCOL() 
engineReplaceCOL() 
engineSetModelLODDistance() 

Posted
All what you need is:
engineLoadTXD() 
engineImportTXD() 
engineLoadDFF() 
engineReplaceModel() 
engineLoadCOL() 
engineReplaceCOL() 
engineSetModelLODDistance() 

@_@

tnajem tzid tfasarli ?

(Can you explain more?)

Posted
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?

Posted
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!

Posted
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)

Posted
Then use the functions Walid put originally, I explained how to use each of them..

yes but I need the original object to change DFF in autodesk!

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