mtasa-blue icon indicating copy to clipboard operation
mtasa-blue copied to clipboard

setMapsize

Open delusionalismHQ opened this issue 1 year ago • 6 comments

Is your feature request related to a problem? Please describe.

The GTA SA map is limited to 6000x6000 so the createBuilding command does not work outside this limit.

Describe the solution you'd like

We should be able to set the map border in a controlled manner by adding the setMapsize command or another command.

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

  • [x] I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.

delusionalismHQ avatar Oct 13 '24 20:10 delusionalismHQ

What should happen when you do setMapSize(1)?

TracerDS avatar Oct 13 '24 21:10 TracerDS

What should happen when you do setMapSize(1)?

Maybe let's make the minimum map size 6000x6000

PlatinMTA avatar Oct 13 '24 21:10 PlatinMTA

Its possible to place buildings outside the map if you remove this check from source code, but the game wont render it as it should. If render issue could be solved there is no need of setMapSize etc. I've talk with @TheNormalnij in the past about this.

Xenius97 avatar Oct 13 '24 21:10 Xenius97

What should happen when you do setMapSize(1)?

The map size can't be less than 6000x6000.

If render issue could be solved there is no need of setMapSize etc.

We still need it for createWater

TheNormalnij avatar Oct 14 '24 16:10 TheNormalnij

Can it be used for this, since we can't remove water and ground in specific places outside the boundary?

delusionalismHQ avatar Mar 29 '25 21:03 delusionalismHQ

If render issue could be solved there is no need of setMapSize etc.

There are some bugs outside of the 6000x6000 boundary, one of them is melee not working for example (but im pretty certain this is related to the bandwidth reduction setting). I don't know what's the issue exactly

PlatinMTA avatar Mar 29 '25 23:03 PlatinMTA