pcisoft Posted June 15, 2016 Share Posted June 15, 2016 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! Link to comment
Walid Posted June 15, 2016 Share Posted June 15, 2016 All what you need is: engineLoadTXD() engineImportTXD() engineLoadDFF() engineReplaceModel() engineLoadCOL() engineReplaceCOL() engineSetModelLODDistance() Link to comment
pcisoft Posted June 15, 2016 Author Share Posted June 15, 2016 All what you need is: engineLoadTXD() engineImportTXD() engineLoadDFF() engineReplaceModel() engineLoadCOL() engineReplaceCOL() engineSetModelLODDistance() @_@ tnajem tzid tfasarli ? (Can you explain more?) Link to comment
Captain Cody Posted June 16, 2016 Share Posted June 16, 2016 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
pcisoft Posted June 18, 2016 Author Share Posted June 18, 2016 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
Captain Cody Posted June 18, 2016 Share Posted June 18, 2016 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. Link to comment
pcisoft Posted June 18, 2016 Author Share Posted June 18, 2016 If you just want to add objects that are already there usehttps://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
Captain Cody Posted June 18, 2016 Share Posted June 18, 2016 Then use the functions Walid put originally, I explained how to use each of them.. Link to comment
pcisoft Posted June 18, 2016 Author Share Posted June 18, 2016 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! Link to comment
Captain Cody Posted June 19, 2016 Share Posted June 19, 2016 Then convert them already... If you don't know how or some thing email me with the files and I will. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now