mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
Upload
This commit is contained in:
37
lua/terrortown/menus/gamemode/addons/arccw.lua
Normal file
37
lua/terrortown/menus/gamemode/addons/arccw.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
CLGAMEMODESUBMENU.base = "base_gamemodesubmenu"
|
||||
|
||||
CLGAMEMODESUBMENU.priority = 0
|
||||
CLGAMEMODESUBMENU.title = "ArcCW"
|
||||
|
||||
local TTTPanel = {
|
||||
{ type = "h", text = "#arccw.ttt_clienthelp" },
|
||||
{ type = "b", text = "#arccw.cvar.ttt_inforoundstart", var = "arccw_ttt_rolecrosshair"},
|
||||
{ type = "b", text = "#arccw.cvar.ttt_rolecrosshair", var = "arccw_ttt_inforoundstart"},
|
||||
}
|
||||
|
||||
local clientpanels = {
|
||||
"ArcCW_Options_Client",
|
||||
"ArcCW_Options_Crosshair",
|
||||
"ArcCW_Options_HUD",
|
||||
"ArcCW_Options_Viewmodel",
|
||||
"ArcCW_Options_Perf",
|
||||
--"ArcCW_Options_Binds",
|
||||
}
|
||||
|
||||
function CLGAMEMODESUBMENU:Populate(parent)
|
||||
ArcCW.TTT2_PopulateSettings(parent, "arccw.menus.ttt_client", TTTPanel)
|
||||
for _, pnlname in pairs(clientpanels) do
|
||||
local pnl = ArcCW.ClientMenus[pnlname]
|
||||
ArcCW.TTT2_PopulateSettings(parent, pnl.text, pnl.tbl)
|
||||
end
|
||||
end
|
||||
42
lua/terrortown/menus/gamemode/server_addons/arccw.lua
Normal file
42
lua/terrortown/menus/gamemode/server_addons/arccw.lua
Normal file
@@ -0,0 +1,42 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
CLGAMEMODESUBMENU.base = "base_gamemodesubmenu"
|
||||
|
||||
CLGAMEMODESUBMENU.priority = 0
|
||||
CLGAMEMODESUBMENU.title = "ArcCW"
|
||||
|
||||
local TTTPanel = {
|
||||
{ type = "h", text = "#arccw.ttt_serverhelp" },
|
||||
{ type = "b", text = "#arccw.cvar.ttt_replace", var = "arccw_ttt_replace", sv = true },
|
||||
{ type = "b", text = "#arccw.cvar.ammo_replace", var = "arccw_ttt_ammo", sv = true },
|
||||
{ type = "b", text = "#arccw.cvar.ttt_atts", var = "arccw_ttt_atts", sv = true },
|
||||
{ type = "o", text = "#arccw.cvar.ttt_customizemode", var = "arccw_ttt_customizemode", sv = true,
|
||||
choices = {[0] = "#arccw.cvar.ttt_customizemode.0", [1] = "#arccw.cvar.ttt_customizemode.1", [2] = "#arccw.cvar.ttt_customizemode.2", [3] = "#arccw.cvar.ttt_customizemode.3"}},
|
||||
{ type = "o", text = "#arccw.cvar.ttt_bodyattinfo", var = "arccw_ttt_bodyattinfo", sv = true,
|
||||
choices = {[0] = "#arccw.combobox.disabled", [1] = "#arccw.cvar.ttt_bodyattinfo.1", [2] = "#arccw.cvar.ttt_bodyattinfo.2"}},
|
||||
{ type = "c", text = "#arccw.cvar.ttt_bodyattinfo.help"},
|
||||
}
|
||||
|
||||
local serverpanels = {
|
||||
"ArcCW_Options_Server",
|
||||
"ArcCW_Options_Atts",
|
||||
"ArcCW_Options_Ammo",
|
||||
"ArcCW_Options_Mults",
|
||||
"ArcCW_Options_Bullet",
|
||||
}
|
||||
|
||||
function CLGAMEMODESUBMENU:Populate(parent)
|
||||
ArcCW.TTT2_PopulateSettings(parent, "arccw.menus.ttt_server", TTTPanel)
|
||||
for _, pnlname in pairs(serverpanels) do
|
||||
local pnl = ArcCW.ClientMenus[pnlname]
|
||||
ArcCW.TTT2_PopulateSettings(parent, pnl.text, pnl.tbl)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user