Gugure Posted August 28, 2012 Share Posted August 28, 2012 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? Link to comment
Castillo Posted August 28, 2012 Share Posted August 28, 2012 I don't think you can do that. Link to comment
Faw[Ful] Posted August 28, 2012 Share Posted August 28, 2012 MTA read the first col in the col librairy. So each elements need a single col file. Link to comment
Gugure Posted August 28, 2012 Author Share Posted August 28, 2012 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? Link to comment
Faw[Ful] Posted August 28, 2012 Share Posted August 28, 2012 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. Link to comment
Gugure Posted August 29, 2012 Author Share Posted August 29, 2012 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? Link to comment
Faw[Ful] Posted August 29, 2012 Share Posted August 29, 2012 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 ? Link to comment
Gugure Posted August 29, 2012 Author Share Posted August 29, 2012 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) Link to comment
Faw[Ful] Posted September 3, 2012 Share Posted September 3, 2012 -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 Link to comment
Gugure Posted September 3, 2012 Author Share Posted September 3, 2012 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? 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