Jump to content

Replace COLL collection?


Gugure

Recommended Posts

Posted

One last question: How do I replace a COLL collection ? (for exemple: lan_1.col which is basically an archive with more .col files)

How do I replace it? Becouse "engineReplaceCOL" seems that works only with specific models as it requires and model ID, but how do I replace a coll collection such as the one in the exemple?

Posted

And if I want to modify only one of the.col file from the coll collection? How I do it without affecting the others .col files in the coll collection?

Posted

the tool col editor 2 can extract single col file.

For now you need single col file.

Btw, I see this on bugtracker Multi Theft Auto : San Andreas - 1.3.2 :

[Maps] col library support - new.

So you need to wait for that support.

Posted

What is the ETA for the next update?

Also, I've did what you said (to extract the .col file I need with colledit) but when I replace it, it fucks up the other .col files in the coll library(you fell through the others roads/buildings from the same col library the one modified is). How can I fix the issue beside replacing the all .col files from the library cuz it takes ages?

Posted
beside replacing the all .col files from the library cuz it takes ages?

You need to do that lol or use or make a program to do it for you.

I see one on the forum,but I cant remember where.

You need to replace only the needed thing, why replacing all the other that you dont modify ?

Posted

If I modify ONLY ONE .col in the library it "deletes" all the other .col files from the library... and that's why I have to replace ALL.

These are the 2 lines I use to replace an object's .col:

local col = engineLoadCOL('files/lan_1.col files/Foodmart1_lan.col') 
engineReplaceCOL(col, 4022) 

Posted

-extract the needed col file with colEditor2 (single col file)

-edit it in a 3D program

-export it in .col format with a different name or the same name

-put it in a resource

-make the script & add the file in lua

Posted

What you mean by putting it in a resource?

"-make the script & add the file in lua" -> you mean to add the 2 lines of code I've mentioned in my last comment, in the .lua file - right?

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