Skip to content

feat(extra-natives-five): Add DISABLE_INFLATED_MAP_DATA_RANGE#3958

Open
manzarek123 wants to merge 1 commit into
citizenfx:masterfrom
manzarek123:maxLodScale
Open

feat(extra-natives-five): Add DISABLE_INFLATED_MAP_DATA_RANGE#3958
manzarek123 wants to merge 1 commit into
citizenfx:masterfrom
manzarek123:maxLodScale

Conversation

@manzarek123
Copy link
Copy Markdown
Contributor

Goal of this PR

When using extended distance scaling with any value other than 0 the game increase the range in which medium mapdata are loaded by 500.0

This make the limit of 65k registered archetypes being reached very fast in Los Santos with few custom content

This change adds a native to disable the increased range while keeping the lod scaling.

This will allow users to have more custom content on their servers

How is this PR achieving the goal

By adding the native DISABLE_INFLATED_MAP_DATA_RANGE

This PR applies to the following area(s)

FiveM

Successfully tested on

2699, 3095, 3258

Platforms: Windows

Checklist

  • Code compiles and has been tested successfully.
  • Code explains itself well and/or is documented.
  • My commit message explains what the changes do and what they are for.
  • No extra compilation warnings are added by these changes.

Fixes issues

workaround #3792

@github-actions github-actions Bot added the invalid Requires changes before it's considered valid and can be (re)triaged label May 2, 2026
@ook3D
Copy link
Copy Markdown
Contributor

ook3D commented May 2, 2026

Personally I dont think this is a good idea, this doesn't really solve the issue at hand but rather just pushes it to the side for a while, if the player drives around enough they will reach the limit with this also no?

@manzarek123
Copy link
Copy Markdown
Contributor Author

The number of available archetypes can be something near 2000 in some of the worst places in Los Santos

image

For example having Roxwood and a few other thing will make you reach this limit very fast

image

without extended distance scaling it can make more than 10k more archetypes available in the worst case

image

They will not reach the limit by driving around as ytyp will load and unload when needed

I don't personally need this workaround but it seems more and more users struggle with this limit and I had this workaround sitting in my git so I am sharing it
Some server now make tutorials to how to disable extended scaling so that you can play properly on their server
Of course a proper fix would be better but is it realistic at this point ? Feel free to close if this is not something wanted

@mickeygeecom
Copy link
Copy Markdown
Contributor

Just want to throw my PR into this mixture of this, as a reminder.
#3890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid Requires changes before it's considered valid and can be (re)triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants