Ysui Posted May 25, 2012 Share Posted May 25, 2012 I did it, my buildingis removed,. It was easy. But now, when i'm near my removed building , i cant see the others Buldings/World item... Only my building is removed, but my map is ugly with this bug. I rode this on Mta Wiki There are two types of world objects Binary IPL (anything not in data/maps and in gta3.img) and data IPL (anything in data/maps) Binary IPL removal requires a stream out if you are deleting anything within 300 units (anything visible) you can just move the camera to do this. Data IPL are removed instantly and this is not required What can i do? Here is my res: addEventHandler ("onResourceStart",resourceRoot, function() removeWorldModel(4019, 1000, 1775.9000244141, -1807.9000244141, 27.89999961853) -- Model removeWorldModel(4025, 1000, 1775.9000244141, -1807.9000244141, 27.89999961853) -- LOd end) function restoreall() restoreAllWorldModels() end addCommandHandler("restore", restoreall) Can you help me please ? Thank you very much Link to comment
Jaysds1 Posted May 25, 2012 Share Posted May 25, 2012 try lowering the range. Plus the model wasn't removed, I just tested it. Link to comment
Ysui Posted May 25, 2012 Author Share Posted May 25, 2012 Thank you for your response. But the problem does not come from the range. I found the problem. But I do not know how to solve it ( the Model is removed) you need to move your camera from 300 feets and come back. I found this ( i changed the clock, so now we can see a second LOD i guess) I already deleted the first LOD, How can i find this second LOD? Thank you Link to comment
Jaysds1 Posted May 25, 2012 Share Posted May 25, 2012 While in map editor, go into objects and go in to catergory Lights, That LOD is a light LOD, I'm not sure if you could remove it but it's in there. Good luck Link to comment
Ysui Posted May 25, 2012 Author Share Posted May 25, 2012 This seems likely to me. Thank you very much, I will try to find. Link to comment
Ysui Posted May 26, 2012 Author Share Posted May 26, 2012 I removed the lights, i changed my range, but i still have the same problem. Can somoene help me please Thank you Link to comment
arezu Posted May 26, 2012 Share Posted May 26, 2012 try this?: setOcclusionsEnabled(false) use it after removing world objects Link to comment
Ysui Posted May 26, 2012 Author Share Posted May 26, 2012 What can i say? A HUGE thank you! It works. I lost my time for hours trying to find. 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