From 0100387bcfcefb1cb0f893362b7c9993a69d650d Mon Sep 17 00:00:00 2001 From: Teabone <35990109+Teabone3@users.noreply.github.com> Date: Thu, 19 Mar 2026 00:05:48 -0400 Subject: [PATCH] Create lutzone.lua A LUT changing script to show an example of how to use the SetLutTo() command --- .../scriptbank/lutzone.lua | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 GameGuru Core/GameGuru/Shaders and Scripts/scriptbank/lutzone.lua diff --git a/GameGuru Core/GameGuru/Shaders and Scripts/scriptbank/lutzone.lua b/GameGuru Core/GameGuru/Shaders and Scripts/scriptbank/lutzone.lua new file mode 100644 index 00000000..b9649bd7 --- /dev/null +++ b/GameGuru Core/GameGuru/Shaders and Scripts/scriptbank/lutzone.lua @@ -0,0 +1,21 @@ +-- LUA Script - precede every function and global member with lowercase name of script + '_main' +--by T-Bone + +function lutzone_init(e) + +--Starting LUT +SetLutTo("none") +end + +function lutzone_init_name(e,name) + end + +function lutzone_main(e) + if g_Entity[e]['plrinzone'] == 1 then + +--Change LUT to +SetLutTo("ps_night1") + +Destroy(e) + end +end