-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtweaks.lua
More file actions
63 lines (63 loc) · 1.37 KB
/
tweaks.lua
File metadata and controls
63 lines (63 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Tweaks = {
RELOAD = true,
SAVECHANGES = false,
{
MENU = "ItemTweaks",
{
NAME = "Item offset (right direction)",
CVAR = "i_offset_right",
DELTA = "0.01"
},
{
NAME = "Item offset (up direction)",
CVAR = "i_offset_up",
DELTA = "0.01"
},
{
NAME = "Item offset (front direction)",
CVAR = "i_offset_front",
DELTA = "0.01"
}
},
{
MENU = "Debug",
{
NAME = "time_scale - slow the game down or speed it up",
CVAR = "time_scale",
DELTA = "0.125"
},
{
NAME = "set p_draw_helpers from the console to show physics helpers",
CVAR = "p_draw_helpers"
},
{
MENU = "AI Debug",
{
NAME = "Enable AI debug drawing",
CVAR = "ai_DebugDraw",
DELTA = "1"
},
{
NAME = "set ai_drawpath to an entity name to draw its path",
CVAR = "ai_DrawPath"
},
{
NAME = "set ai_stats_target to the name of the entity to track, or all",
CVAR = "ai_StatsTarget"
}
}
},
{
NAME = " * Reload Tweak Menu *",
LUA = "MTJ.Test",
INCREMENTER = function()
Script.ReloadScript("Scripts/Tweaks.lua")
end
},
{
NAME = " * Save LUA Tweak changes *",
LUA = "Tweaks.SAVECHANGES"
}
}
Script.ReloadScript("Scripts/TweaksSave.lua")
Script.ReloadScript("Scripts/SaveUtils.lua")