About this mod
This lua-only script directly modifies the area of bases in memory, bypassing any other restrictions put on the value in Settings. This means you can theoretically make the base area as large as you want.
- Requirements
- Permissions and credits
- Changelogs
- Donations
IMPORTANT UPDATE AS OF PATCH v0.4.15
As of 0.4.15, the default branch of UE4SS is BROKEN. They mucked around with the engine edits and it requires a custom branch of UE4SS to accommodate those edits. In order to use this mod in the meantime, you must install the Experimental Palworld release of UE4SS. Do not complain about crashes if you are using the old version of UE4SS!
Hi! This super simple Lua script increases the area of bases in memory rather than changing the value in settings. For old bases, the value will be updated ~15 seconds after login. For new bases, it will be updated ~15 seconds after the base is placed. That has two useful effects:
1) Bypasses other limitations that are normally placed on the value when set in PalWorldSettings (which seems to have a 10k limit)
2) Allows it to be done after the base is placed, meaning you can have overlapping bases and don't need to remove old bases to change their size.
In the latest update, I've also added the ability to edit various base-size-related game settings directly in the config.lua. I went against doing this for a while because I'm sure there will be conflicts with other mods that also edit these values, but it seems that more and more people want the option to do this wrapped up into a singular mod so here it is.
IMPORTANT: The blue line in-game is a VISUAL component meaning it must be done on the CLIENT side. The rest of the mod (changing base size) is done HOST side. Hosts need the main mod file. Clients, if they want the blue line to move, need the CLIENT file.
Compatibility:
- This mod should be compatible with both local play and dedicated servers, and the host is the only one who needs to have the mod installed in order to actually increase the base size. Clients will need the client file if they want the blue line to change.
- That said, it is untested on servers with many bases, so there may be unforeseen issues with people having overlapping bases.
- There may be compatibility issues with any mod that also interacts with PalGameSetting. Namely, anything that is also touching any of the base-size related settings, or base worker ranges. If that's the case, you can disable EditGameSettings in the config and just do the edits in the other mod, no problem.
The newest version of UE4SS (v3.0.0) no longer requires an injector for PalServer.exe to load it, meaning the installation process is mostly the same regardless of local or dedicated server
Installation (Windows):
- Download the mod
- Download the latest version of UE4SS
- Extract the UE4SS folder contents into Pal/Binaries/Win64
- Extract the mod into the /Mods folder extracted from UE4SS
- Edit the AreaRange in TehExtraBaseAreaMod/Scripts/config.lua
- That's it!
Linux: As of now I don't know of any consistent solution beyond using Wine. I don't personally have a Linux server to test mods on, and as such I don't intend to cover how to install/if the mod is even compatible on Linux systems at the moment.
Known Issues:
- You will be able to place a base just outside of the range of another base and then have them overlap. This may be a good thing or a bad thing depending on your use-case. In most cases, players will not be able to build in the overlapped area.
- Pals don't like it if the base range includes a dungeon. Not much I can do about that, it's why the game normally doesn't let you build next to them.
if you want to support me and my mods, feel free to buy me a coffee