Voxel Turf

Voxel Turf

View Stats:
H2 15 Oct, 2017 @ 10:09pm
Could we get an example script?
Iv been trying to add new perks and modify the current ones with a script, but it does not load or crashes the game every time. I have the client_script.txt in the mod folder, outside the script folder with the script name inside the file.

A simple tutorial would really save a lot of trial and error.
< >
Showing 1-1 of 1 comments
SnapperTheTwig  [developer] 16 Oct, 2017 @ 3:53am 
I've given several example scripts already on the workshop.

You want:
mods/MOD_NAME/scripts/client_scripts.txt
mods/MOD_NAME/scripts/server_scripts.txt
mods/MOD_NAME/scripts/your_script.lua

Adding a perk will require both a client and server script.

Errors will be logged to logs/lua_errors.txt (or similar)

Head over to the discord if you want realtime help
< >
Showing 1-1 of 1 comments
Per page: 1530 50