SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

Move entire map to the center #4390

Closed Lancer-TG closed 2 months ago

Lancer-TG commented 2 months ago

Hello i asked this about 2 years ago, im asking again in the case there is a easy fix now I changed the level dat of an insane map into a medium one and needed to redo all the trees, roads and other things on the new place of the terrain that is the lower left corner Is there any way to change everything under the bottom left square so it moves to the center square of insane size?

I changed the size so i can add isles but the world borders and openning the map and needing to zoom to the left square is a problem

image

Also any commands for the server for better physics on cars, cars colisions, rubber band and other gameplay elements? -ForceTrustClient helps right? What does it do and where do i add it?

DanielWillett commented 2 months ago

It would probably be easier for you to turn off legacy clip and water and add your own player clip, water volume, and cartography volume.

Include any/all of the following for that, mainly the top 2, then add all the volumes yourself.

// Config.json
{
    "Use_Legacy_Water": false,
    "Use_Legacy_Clip_Borders": false,

    "Use_Legacy_Snow_Height": false,
    "Use_Legacy_Oxygen_Height": false,
    "Use_Legacy_Fog_Height": false
}

you can then go and add/delete any tiles you want and the center of the map doesn't really matter that much, although keep in mind you still won't be able to go past the insane border because most things break after that limit is reached, so you will only be able to expand upwards (from this image) left and right.

you'll probably want to back up your map before doing this just in case.

Lancer-TG commented 2 months ago

So you are saying i can extend the barrier of the map until the very edge of the water? If thats the case it works for me, only need a little space so planes dont crash all the time

Lancer-TG commented 2 months ago

Any other experimental server commands like -ForceTrustClient or its the only one left?

GazziFX commented 2 months ago

Any other experimental server commands like -ForceTrustClient or its the only one left?

Increase allowed sqrDelta is better solution than completely removing checks

Lancer-TG commented 2 months ago

any negative aspect other than hackers flying with -ForceTrustClient?

DanielWillett commented 2 months ago

Is the movement a problem to begin with?

DanielWillett commented 2 months ago

So you are saying i can extend the barrier of the map until the very edge of the water? If thats the case it works for me, only need a little space so planes dont crash all the time

You can put the clip barriers wherever you want, even rotated, or not at all. Example:

Here is an example of clip volumes, a water volume, and a cartography and foliage volume (hidden, covers the same area as the clip volumes). Note this is 6 clip volumes forming a cube, not one.

The setup in this picture mimics the ones created when you use legacy settings for a small map. image

Here's the same setup on a large map image

SDGNelson commented 2 months ago

Thanks DanielWillett!

Also, past some point -ForceTrustClient only applies to vehicle movement (no longer player movement). Enabling it will allow vehicles to noclip without any speed limit.