Palworld
0 of 0

File information

Last updated

Original upload

Created by

xTeh

Uploaded by

xTeh

Virus scan

Safe to use

Tags for this mod

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
Disclaimer: As with any mod, please backup your world before using this mod! While you technically should be able to revert any changes done by this mod by changing the AreaRange back, never take that risk! This mod is still in its early stages and may have unforeseen bugs.

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.

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.
  • This mod should still be compatible with any other mod that changes base settings, such as GameplayTweaks, since it does this in memory after the fact. Just know that the value set in those mods will do nothing except for when you go to place the base originally. 


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!
Important Note: You must be the host of the game/server for the script to work correctly! This will not work if you are not the host, and any of your friends playing with you do not need to also install the script. 


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.
  • You may need another mod to control the worker range, otherwise they will go to the ends of the earth trying to mine iron ore and such.
  • 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