Mr.unpredictable. Posted May 12, 2015 Share Posted May 12, 2015 (edited) Hey, I replaced all the col files from gta sa liberty city with my custom made col files. Original gta sa liberty city was bugged so i re created all the col files. My problem is that replaced col files doesn't get applied to world objects. Like when i create an object from the liberty city the collision works but the collision doesn't work with the world models of liberty city. 2 possible ways i thought to fix them 1.Attaching the col files with .dff and then replacing them. It's working fine but it will increase the download size. 2.Then i though of exporting the file levelmap.ipl from GTA San Andreas\data\maps\leveldes and then converting it into .map file then removing all world models with removeWorldModel function but i don't know why it is creating lag for me. If you guys have any other solution for this then please post. Edited May 13, 2015 by Guest Link to comment
myonlake Posted May 12, 2015 Share Posted May 12, 2015 I am not certain, but I guess you cannot replace the collisions of world models (only create new objects with those model IDs). Or perhaps there is a special case for those specific world models that disable all collisions on those models? Maybe MTA team knows about this? Link to comment
Mr.unpredictable. Posted May 16, 2015 Author Share Posted May 16, 2015 Thanks for the reply myonlake. #Bump Link to comment
Mr.unpredictable. Posted May 18, 2015 Author Share Posted May 18, 2015 #bump again Sorry for double posting Link to comment
tosfera Posted May 22, 2015 Share Posted May 22, 2015 If I'm not mistaken, you can only change the collision of an object which as been placed by you. Not by the game. If you want to add collisions to Liberty, you should copy the entire liberty city, and rebuild it somewhere in the air in the same interior/dimension. That will enable your custom collisions. Well.. at least that worked for me with various objects. Link to comment
Mr.unpredictable. Posted May 22, 2015 Author Share Posted May 22, 2015 Custom collision does work for some world objects but it is only getting bugged with liberty city objects. Link to comment
tosfera Posted May 22, 2015 Share Posted May 22, 2015 Even if you place them at another location? Also, try to enable the collision by code and as an object itself. Turn on the collisions with SetElementCollisionsEnabled. Link to comment
Mr.unpredictable. Posted May 22, 2015 Author Share Posted May 22, 2015 Even if you place them at another location? Also, try to enable the collision by code and as an object itself. Turn on the collisions with SetElementCollisionsEnabled. Ik and i did that but has i said before it is creating lag for me. Anyway, I'm attaching the col files with dff and the replacing them. Link to comment
tosfera Posted May 22, 2015 Share Posted May 22, 2015 There is an easy way to solve that lag, well not really easy but it's a possible thing. Grab all the objects and import them into your 3D program. Attach them all to each other and export it as 1 big object. It might increase your download size a bit more but I'm not sure if it's more than replacing all of them as col and dff files. When it's 1 big object, your MTA won't have to load it all the time. this will give you another problem, if it turns out bigger than I'm expecting, the object might get out of reach for your streamer. You might want to increase your stream distance in that area to avoid it from happening. And if you're unable to do so, create 3 or 4 big objects out of Liberty. That should resolve your problem. Link to comment
myonlake Posted May 23, 2015 Share Posted May 23, 2015 There is an easy way to solve that lag, well not really easy but it's a possible thing.Grab all the objects and import them into your 3D program. Attach them all to each other and export it as 1 big object. It might increase your download size a bit more but I'm not sure if it's more than replacing all of them as col and dff files. When it's 1 big object, your MTA won't have to load it all the time. this will give you another problem, if it turns out bigger than I'm expecting, the object might get out of reach for your streamer. You might want to increase your stream distance in that area to avoid it from happening. And if you're unable to do so, create 3 or 4 big objects out of Liberty. That should resolve your problem. Can also disable streaming on the objects. Then when you get out of range just put the streamer back on. Hacky but works. Link to comment
Mr.unpredictable. Posted May 23, 2015 Author Share Posted May 23, 2015 Well, Adding all the object into 3ds max, Placing them in the correct order and attaching them with be really very time consuming. It's not worth to spend that much on that. Anyway, I've just created few fake col's and deleted some of the collision files and it has reduced the lag. Thanks for your suggestion guys. 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