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!

[CAG]PcIsOft

Posted

All what you need is:

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

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

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

@_@

tnajem tzid tfasarli ?

(Can you explain more?)

[CAG]PcIsOft

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?

Wolf Inc Discord

Youtube channel
Github

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!

[CAG]PcIsOft

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)

[CAG]PcIsOft

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!

[CAG]PcIsOft

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