Better building - Instant and automatic

Better building - Instant and automatic

3.8k Downloads

Buildings are now either automatically or instantly built, can toggle between both building modes. Can also tap buildings to build them instantly while maintaining the default holding behaviour. Can also toggle the mod on/off.

Automatic building mode

Buildings are automatically built when placed down. You can also tap the interact button to build them instantly or hold the button for the default behavior.




Instant building mode

Building are instantly built when placed down. (Using my mod Disable overlap checkers in the gif)




Settings

Open the mod's file main.lua with Notepad to find:



If you want to change the default building mode to instant you do: defaultBuildingMode = "instant" -- Change "automatic" to "instant" and vice versa.

if you want to change the automatic building speed you do autoBuildingSpeed = 500.0 -- Change 75.0 to whatever value you want.

If you want the mod to be disabled on game launched you do: enabled = false -- Change true to false and vice versa.


Keybinds

Open the mod's file main.lua with Notepad to find:



If you want to change the toggle mode keybind to F3 you do: toggleMode = Key.F3 -- Change "F9" with whatever you want.

Valid keybinds

https://pastebin.com/Ur1btYV


Installation 

  1. Read "Correct folder and file structure".
  2. Delete xinput1_3.dll in \Palword\Pal\Binaries\Win64 if you installed the xinput version of REUE4SS.
  3. Download REUE4SS: Releases · UE4SS-RE/RE-UE4SS (github.com). Latest version is 3, direct link to 3: Release v3.0.0 · UE4SS-RE/RE-UE4SS (github.com). File name: "UE4SS_v3.0.0.zip".
  4. Drop its files to \Palword\Pal\Binaries\Win64.
  5. Download the mod.
  6. Drop its folder in \Palword\Pal\Binaries\Win64\Mods.
  7. Read "Notes".

Correct folder and file structure

  1. \Palword\Pal\Binaries\Win64\UE4SS.dll
  2. \Palword\Pal\Binaries\Win64\UE4SS-settings.ini
  3. \Palword\Pal\Binaries\Win64\dwmapi.dll
  4. \Palword\Pal\Binaries\Win64\Mods\BetterBuilding\Scripts\main.lua



Installation for dedicated server

  1. Read "Correct folder and file structure".
  2. Download REUE4SS: Releases · UE4SS-RE/RE-UE4SS (github.com). Latest version is 3, direct link to 3: Release v3.0.0 · UE4SS-RE/RE-UE4SS (github.com). File name: "UE4SS_v3.0.0.zip".
  3. Drop its files to <wherever your server is>/Pal/Binaries/Win64.
  4. Download the server variant of the mod.
  5. Drop its folder in <wherever your server is>/Pal/Binaries/Win64/Mods.

Correct folder and file structure

  1. <wherever your server is>/Pal/Binaries/Win64/UE4SS.dll
  2. <wherever your server is>/Pal/Binaries/Win64/UE4SS-settings.ini
  3. <wherever your server is>/Pal/Binaries/Win64\dwmapi.dll
  4. <wherever your server is>/Pal/Binaries/Win6/Mods/BetterBuilding/Scripts/main.lua


Notes

Tested on singleplayer and dedicated server. Works fine on both so I would assume it works fine on co op as well. Needs to be installed on both the server and the clients if you want to use this with your server.

I suggest using Notepad++ since its way better than Notepad. Makes messing with all kinds of text files easier. 

If you want help, info on modding the game and your server you can join the Palworld modding discord server: Invite for Palworld modding discord  

REUE4SS generates a log file named UE4SS.log in \Palword\Pal\Binaries\Win64\. You can open it with Notepad to see for errors.

If you installed everything correctly you should something like "Mod 'Pause' has enabled.txt, starting mod." in your log file.

If the mod isn't working for you or if you have any errors you can share the contents of your log file on Pastebin.com and share the link in the bugs section of the mod.

To help with crashes open UE4SS-settings.ini in \Pal\Binaries\Win64 and set bUseUObjectArrayCache to false.