mirror of
https://github.com/Fesiug/Fesiug-Utilities.git
synced 2025-03-04 03:03:08 -05:00
add "Hide Death Notice"
This commit is contained in:
parent
b1c3a04c07
commit
4e8054fe1e
@ -8,6 +8,10 @@ hook.Add( "HUDShouldDraw", "HideHUD", function( name )
|
||||
end
|
||||
end )
|
||||
|
||||
hook.Add("DrawDeathNotice", "FES_HIDE_NOTICE", function()
|
||||
if GetConVar("fes_plymod_deathnotice"):GetBool() then return true end
|
||||
end)
|
||||
|
||||
|
||||
hook.Add( "PopulateToolMenu", "FES_NPC_DMG", function()
|
||||
spawnmenu.AddToolMenuOption( "Options", "Fesiug's Utilities", "FES_NPC_DMG", "Settings", "", "", FES_NPC_DMG)
|
||||
@ -30,31 +34,31 @@ function FES_NPC_DMG( CPanel )
|
||||
combobox:AddChoice( "Counter-Strike: Source", "css" )
|
||||
combobox:AddChoice( "Left 4 Dead 2", "l4d2" )
|
||||
combobox:AddChoice( "Day of Defeat: Source", "dods" )
|
||||
|
||||
|
||||
CPanel:AddControl("Header", {Description = "> - Damage Multipliers" })
|
||||
CPanel:AddControl("Slider", {Label = "Player to NPC", Command = "fes_ply2npc_mult", min = 0, max = 3, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "NPC to Player", Command = "fes_npc2ply_mult", min = 0, max = 3, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "Fall Damage Mult", Command = "fes_gra2ply_mult", min = 0, max = 3, Type = "float" })
|
||||
|
||||
|
||||
CPanel:AddControl("Header", {Description = "> - Player Modifiers" })
|
||||
CPanel:AddControl("Slider", {Label = "Max Health", Command = "fes_ply_health_max", min = 1, max = 300, Type = "int" })
|
||||
CPanel:AddControl("Slider", {Label = "Max Armor", Command = "fes_ply_armor_max", min = 1, max = 300, Type = "int" })
|
||||
CPanel:AddControl("Slider", {Label = "Max Armor", Command = "fes_ply_armor_max", min = 1, max = 300, Type = "int" })
|
||||
CPanel:AddControl("Slider", {Label = "Start Health", Command = "fes_ply_health_start", min = 1, max = 300, Type = "int" })
|
||||
CPanel:AddControl("Slider", {Label = "Start Armor", Command = "fes_ply_armor_start", min = 1, max = 300, Type = "int" })
|
||||
|
||||
|
||||
CPanel:AddControl("Header", {Description = "" })
|
||||
|
||||
|
||||
CPanel:AddControl("Slider", {Label = "Duck Enter", Command = "fes_plyspeed_duckenter", min = 0, max = .99, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "Duck Exit", Command = "fes_plyspeed_duckexit", min = 0, max = .99, Type = "float" })
|
||||
|
||||
|
||||
CPanel:AddControl("Header", {Description = "> - Player Speed" })
|
||||
CPanel:AddControl("Slider", {Label = "Walk Speed", Command = "fes_plyspeed_walkslow", min = 1, max = 300, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "Normal Speed", Command = "fes_plyspeed_walk", min = 100, max = 500, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "Run Speed", Command = "fes_plyspeed_run", min = 100, max = 500, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "Crouching Mult", Command = "fes_plyspeed_crouchedmult", min = 0, max = 1, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "Ladder Speed", Command = "fes_plyspeed_ladder", min = 100, max = 500, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "Ladder Speed", Command = "fes_plyspeed_ladder", min = 100, max = 500, Type = "float" })
|
||||
CPanel:AddControl("Slider", {Label = "Jump Power", Command = "fes_plyspeed_jumppower", min = 1, max = 500, Type = "float" })
|
||||
|
||||
|
||||
CPanel:AddControl("Checkbox", {Label = "No-Collide with Team", Command = "fes_plymod_collideteam" })
|
||||
CPanel:AddControl("label", {text = "Only works with team IDs 1 through 4" })
|
||||
CPanel:AddControl("Checkbox", {Label = "Avoid Players", Command = "fes_plymod_avoidplayers" })
|
||||
@ -69,15 +73,17 @@ function FES_NPC_DMG( CPanel )
|
||||
CPanel:AddControl("label", {text = "Disallow picking up HL2 weapons." })
|
||||
CPanel:AddControl("Checkbox", {Label = "Hide Zoom HUD", Command = "fes_plymod_zoom" })
|
||||
CPanel:AddControl("label", {text = "Hide HL2 Zoom HUD." })
|
||||
|
||||
CPanel:AddControl("Checkbox", {Label = "Hide Death Notice", Command = "fes_plymod_deathnotice" })
|
||||
CPanel:AddControl("label", {text = "Hide top-right popups on NPC/player death." })
|
||||
|
||||
CPanel:AddControl("Button", {Label = "Apply", Command = "fes_ply_apply" })
|
||||
CPanel:AddControl("Button", {Label = "Return to GMod Defaults", Command = "fes_ply_defaults" })
|
||||
end
|
||||
|
||||
list.Set( "DesktopWindows", "SquadOrder", {
|
||||
title = "Order Squad",
|
||||
icon = "icon32/hand_property.png",
|
||||
init = function()
|
||||
title = "Order Squad",
|
||||
icon = "icon32/hand_property.png",
|
||||
init = function()
|
||||
LocalPlayer():ConCommand("impulse 50")
|
||||
end
|
||||
end
|
||||
})
|
@ -29,10 +29,12 @@ local convars = {
|
||||
["fes_plymod_avoidplayers"] = { def = 1, desc = "Player squirms away from other players when haves no personal space?" },
|
||||
["fes_plymod_dmgindicator"] = { def = 0, desc = "Disable the damage indicator?" },
|
||||
["fes_plymod_abarmor"] = { def = 0, desc = "Enable Arctic's Ablative Armor?" },
|
||||
["fes_plymod_zoom"] = { def = 0, desc = "Disable the zoom HUD?" },
|
||||
["fes_plymod_zoom"] = { def = 0, desc = "Disable the zoom HUD?" },
|
||||
["fes_plymod_onlysprintforward"] = { def = 0, desc = "Only allow players to sprint when moving forward, JUST LIKE MODERN WARFARE!!!" },
|
||||
|
||||
|
||||
["fes_plymod_nohl2weps"] = { def = 0, desc = "" },
|
||||
["fes_plymod_deathnotice"] = { def = 0, desc = "Hide player death notices." },
|
||||
|
||||
}
|
||||
|
||||
local god = {
|
||||
|
Loading…
Reference in New Issue
Block a user