Sl1mShady Posted April 25, 2013 Posted April 25, 2013 Hi, I've been facing this problem since long time ago every time I placed too many objects. My map editor draw distance becomes low after I placed too many objects. Is there any way to fix it?
Waileer Posted April 25, 2013 Posted April 25, 2013 First, it can be your settings (draw distance settings) or, I have same problem, it's MTA bug or something, I have draw distance on 100% but still when putting many objects, it draw after while.
Sl1mShady Posted April 25, 2013 Author Posted April 25, 2013 I have draw distance on 100% but still when putting many objects, it draw after while. Same here. If it's a bug, I hope it will be fixed on the next version(or whatever you call it here).
Moderators IIYAMA Posted April 25, 2013 Moderators Posted April 25, 2013 This helps a little: for i, o in pairs (getElementsByType ("object")) do engineSetModelLODDistance ( getElementModel(o), 300 ) end If you want a specific object to be loaded very very fast, you can also choose for a LOW lod object + a normal object. object createObject ( int modelid, float x, float y, float z, [ float rx, float ry, float rz, bool isLowLOD = false ] ) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Sl1mShady Posted April 25, 2013 Author Posted April 25, 2013 This helps a little: for i, o in pairs (getElementsByType ("object")) do engineSetModelLODDistance ( getElementModel(o), 300 ) end Where should I put that codes?
Moderators IIYAMA Posted April 25, 2013 Moderators Posted April 25, 2013 in a .lua file. (client side) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Sl1mShady Posted April 26, 2013 Author Posted April 26, 2013 in a .lua file. (client side) mmm.. where is it?
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