Jump to content

[Help] LODs? Streaming Memory? what's the problem?


Recommended Posts

Hello Guys!
I'm runing a local server to use editor map with some tools, after mapping, I started having some problems with objects disappearing depending on the distance.
on MTA's official discord they told me that the problem would be having too many objects in the same place and that it would be a streaming memory problem.

my goal is find a way to prevent visible objects from disappearing without needing any resource running on the server.

here some videos showing the problem.
https://imgur.com/a/ULjayBz

Link to comment
  • Moderators

There is also a baked in option in the map editor (extension).

Make sure your editor is up to date and your map contains the latest extension file.image.png.ea2a2de9470fdd2438bfa430a9d31ff3.pngimage.png.db80193383766ffb2da8f95473b3e097.png

For manual upgrades:

Example map meta.xml with useLODS option enabled:

Spoiler
<meta>
    <min_mta_version server="1.5.8-9.20957"></min_mta_version>
    <info type="map" version="1.0.0"></info>
    <map src="test-lod.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="#locked_time" value="[ false ]"></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>

 

 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...