#~Scared Posted January 16, 2020 Posted January 16, 2020 (edited) hi i makes new map and Load it on my server. when im within 50 meters of this map objects i can see it. but when im within 100+ meters of this map objects , i can not see it. this is a problem ? can it be fix ? Edited January 16, 2020 by #~Scared
Moderators Patrick Posted January 16, 2020 Moderators Posted January 16, 2020 (edited) We can't say exactly because we can't see it. But, you can increase load distance with https://wiki.multitheftauto.com/wiki/EngineSetModelLODDistance Or try to disable occlusion with https://wiki.multitheftauto.com/wiki/SetOcclusionsEnabled Edited January 16, 2020 by stPatrick 1 community profile | map converters | map images | pDownloader | pAttach | model encrypter
#~Scared Posted January 16, 2020 Author Posted January 16, 2020 3 minutes ago, stPatrick said: We can't say exactly because we can't see it. But, you can increase load distance with https://wiki.multitheftauto.com/wiki/EngineSetModelLODDistance Or try to disable occlusion with https://wiki.multitheftauto.com/wiki/SetOcclusionsEnabled thank you bro!
Moderators IIYAMA Posted January 16, 2020 Moderators Posted January 16, 2020 (edited) @#~Scared In the editor there is a map setting called useLODs. (Also you can just edit the meta.xml of the map) <meta> <info type="map" version="1.0.0"></info> <map src="test-lods.map" dimension="0"></map> <settings> <setting name="#maxplayers" value="[ 128 ]"></setting> <setting name="#useLODs" value="[ true ]"></setting> <setting name="#gamespeed" value="[ 1 ]"></setting> <setting name="#minplayers" value="[ 0 ]"></setting> <setting name="#gravity" value="[ 0.0080000004 ]"></setting> <setting name="#waveheight" value="[ 0 ]"></setting> <setting name="#camera" value='[ [ [ "0", "0", "0" ], [ "0", "0", "0" ] ] ]'></setting> <setting name="#locked_time" value="[ true ]"></setting> <setting name="#weather" value="[ 0 ]"></setting> <setting name="#time" value="12:0"></setting> </settings> <script src="mapEditorScriptingExtension_s.Lua" type="server"></script> <script src="mapEditorScriptingExtension_c.Lua" type="client" validate="false"></script> </meta> This will enable a list of GTA san lowLOD elements. (but it doesn't include all, there for you have to script a little bit more to use default elements as lowLOD objects, edit the mapEditorScriptingExtension files for that. Keep performance in mind while making those tweaks.) Edited January 16, 2020 by IIYAMA 1 1 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
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