Jump to content

Recommended Posts

Posted (edited)

 

Draw distance v1.0.2

This resource improves the draw distance of all your resources that make use of map files. It makes your maps 10x more beautiful in my opinion!

spacer.png

  • Greatly improves the draw distance of map objects
  • Maxed out the draw-distance for peds and vehicles. (See MTA settings > video: Render vehicles always in high detail + Render peds always in high detail )
  • Multi-resources support (this effect is applied on every mapRoot element)
  • Parallel loading method is used, but the loading speed is in that case reduced to improve performance.
  • The effect is not only applied on resources that are starting, but also resources that are already running.

 

  Download here  

This resource is uncompiled!

Repository: https://gitlab.com/IIYAMA12/draw-distance


 

 

Video - Created by @Anx1ty

 

 


Comparison

31085.png

Starting at 200 units distance

 

31084.png

400 units distance (this is the distance where a lot of objects will be unloaded, but in this case switched with lowLOD objects)

 

31083.png

And even on 600 units distance, it is technically visible -> (while the fog is slowly eating it up... :eating:)

 

  Download here  

 

Can all hardware run this? --> I have no idea... most likely 😷. Just give it a try.

 

 

Edited by IIYAMA
  • Like 13
Link to post
21 minutes ago, Hades4 said:

This have cpu issues?

 

I am not sure, I don't have anybody that I can test it with. For hardware that can run basic GTA properly, it should be fine.

If anybody that has an old computer, I would be very happy if that person could make a benchmark.

Link to post

Nice! But I will use it only for screenshots or similar because with all that timers and checks I think that it will be fatal for potato PC's.

  • Like 1
Link to post
Posted (edited)
59 minutes ago, aka Blue said:

Nice! But I will use it only for screenshots or similar because with all that timers and checks I think that it will be fatal for potato PC's.

That part is only used for the initialization (loading the lowLOD objects). When that is over, there will be hardly any Lua activity what so ever except for the break-able objects. I highly recommend to check how the code actually works. 👍

 

And a nice fact, there is only 1 timer active at the same time in the whole resource. That is the whole purpose of the second Lua file timer_c.Lua = Timer lag reduction.

Edited by IIYAMA
Link to post
On 09/05/2020 at 13:22, IIYAMA said:

I am not sure, I don't have anybody that I can test it with. For hardware that can run basic GTA properly, it should be fine.

If anybody that has an old computer, I would be very happy if that person could make a benchmark.

The CPU usage was normal (average 0.62% in IPB when flying around the map) on my Intel Celeron E3200 (2.40 GHz)

This PC only have a integrated video card with 128 MB dedicated video memory, so the only problem is the lower fps because a lot of objects drawed. (Tested on a green venturas map with the forest generator publiced by Essle ~ Total 2124 tree objects created)

But yeah, this is a great work :)

 

  • Like 2
Link to post

I'll try to test the CPU usage in future, but with R5 3600@RX 5600 XT I don't know if I can test anything, cause It won't cause any drops on my rig

  • Like 1
Link to post
  • 2 weeks later...
  • 2 weeks later...
  • 2 weeks later...
3 hours ago, SanMartin said:

Hey guys. Please tell me why I can not start the resource? Installed in the folder, loaded, but through the admin panel it is not possible to start.

Make sure that you did not change the file name, or that when you changed it, you did not place spaces in the name

Link to post
39 minutes ago, MrKAREEM said:

Make sure that you did not change the file name, or that when you changed it, you did not place spaces in the name

spacer.png

if I’m not mistaken, I haven’t changed anything since the moment I downloaded the script ¯\_(ツ)_/¯

Link to post
3 minutes ago, SanMartin said:

spacer.png

if I’m not mistaken, I haven’t changed anything since the moment I downloaded the script ¯\_(ツ)_/¯

Have you ever tried to start the script via the START command in F8

  • Thanks 1
Link to post
18 minutes ago, SanMartin said:

if I’m not mistaken, I haven’t changed anything since the moment I downloaded the script

  • The resource has been unpacked, which is already a change. (not required to unpack, except in special cases)
  • The resource name has been changed, since it original is written lowercase.

Which are not really changes that can cause big problems... but you definitely did make changes.


What happens if you use the /refreshall command as administrator?

Check the server window to see if there are any errors and if the resource is available.

 

Link to post

Thanks more for the comments, all methods have been tried. The result is as follows:

[01:50:10] Not starting resource draw-distance as this server version is too low (1.5.4 required)
[01:50:10] start: Failed to start resource 'draw-distance'

Does this mean that I need to install an older version of the MTA, or is it somehow necessary to update the server?

Sorry for my bad english)

Link to post
1 minute ago, SanMartin said:

Thanks more for the comments, all methods have been tried. The result is as follows:

[01:50:10] Not starting resource draw-distance as this server version is too low (1.5.4 required)
[01:50:10] start: Failed to start resource 'draw-distance'

Does this mean that I need to install an older version of the MTA, or is it somehow necessary to update the server?

Sorry for my bad english)

 

I am not sure which version you are using. But the resource might be working fine for your server, if you do the following:

Remove the following line from your meta.xml

<min_mta_version server="???" client="???" />

 

But be aware that you might see some warnings, which are related to functions that are not available inside of your server (version).

  • setPedsLODDistance = available ???
  • setVehiclesLODDistance = available ???

 


 

Updating your server, might be handy if you want to be able to use the resources that use the newest features.

 

 

 

 

 

  • Thanks 1
Link to post

When I deleted the line, I received an error that indicated to me that there was no line. So I just reinstalled the mta client to a new one. As it turned out, I used the old modified client. Everything works, the script is just perfect.
I don’t understand where you have so much patience to bail out fools like me. Thank)

  • Like 1
Link to post

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...