Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Vuthakral committed Aug 5, 2024
1 parent 6c213bd commit 0d42a43
Show file tree
Hide file tree
Showing 96 changed files with 6,075 additions and 3,414 deletions.
72 changes: 8 additions & 64 deletions lua/autorun/!drc_shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ list.Set( "DesktopWindows", "Draconic Menu", {
icon = "icon64/draconic_base.png",
init = function( icon, window )
DRCMenu(LocalPlayer())
RunConsoleCommand("-menu_context")
end
} )

-- Defining useful globals for content developers
SNDLVL_TALKING = 80
SNDLVL_VEHICLE = 105
SNDLVL_ENERGYFIRESILENCED = 90
SNDLVL_ENERGYFIRE = 100
SNDLVL_GUNFIRESILENCED = 115
SNDLVL_GUNFIRE = 140

-- Any code beyond this point is considered legacy and should NOT be used as reference, or at all.
Expand Down Expand Up @@ -57,67 +64,4 @@ function GetSF2LightLevel(limiter)
return SF2Scalar
end
else return 1 end
end

--[[
function GetDRCColours(ent)
local tbl = {}
tbl.Player = ent:GetNWVector("PlayerColour_DRC")
tbl.Weapon = ent:GetNWVector("WeaponColour_DRC")
tbl.Eye = ent:GetNWVector("EyeTintVec")
tbl.Energy = ent:GetNWVector("EnergyTintVec")
tbl.Tint1 = ent:GetNWVector("ColourTintVec1")
tbl.Tint2 = ent:GetNWVector("ColourTintVec2")
return tbl
end
function DRCNotify(source, type, severity, msg, enum, time, sound)
DRC:Notify(source, type, severity, msg, enum, time, sound)
end
function DRCSound(source, near, far, distance, listener)
if CLIENT then return end
if !IsValid(source) then return end
DRC:EmitSound(source, near, far, distance, listener)
end
--]]

--[[
hook.Add( "PopulateToolMenu", "DraconicSWEPSettings", function()
spawnmenu.AddToolMenuOption( "Options", "Draconic", "SWEP Base", "SWEP Base", "", "", function( panel )
panel:ClearControls()
local button = panel:Button("Open Menu")
function button:OnMousePressed()
drc_settings()
end
-- panel:ControlHelp( "" )
-- panel:ControlHelp( "Server / Admin-only Settings" )
-- panel:CheckBox( "Enable Draconic Movement", "sv_drc_movement")
-- panel:CheckBox( "Enable Draconic Movement Sounds", "sv_drc_movesounds")
-- panel:CheckBox( "Allow Call of Duty Spread", "sv_drc_callofdutyspread")
-- panel:NumSlider( "NPC Accuracy Handicap", "sv_drc_npc_accuracy", 0, 10, 1 )
-- panel:Help( "0 = Seal Team Six" )
-- panel:Help( "2 = HL2 Accuracy" )
-- panel:Help( "10 = Can't hit shit." )
-- panel:ControlHelp( "" )
-- panel:ControlHelp( "Client Settings" )
-- panel:NumSlider( "Viewmodel sway", "cl_drc_sway", 0, 2, 1 )
-- panel:CheckBox( "Enable Debug HUD", "cl_drc_debugmode")
-- panel:CheckBox( "Sell your soul to Vuthakral", "cl_drc_sell_soul")
end )
spawnmenu.AddToolMenuOption( "Options", "Draconic", "Playermodel Extensions", "Playermodel Extensions", "", "", function( panel )
local button2 = panel:Button("Open Menu")
function button2:OnMousePressed()
PEXMenu( LocalPlayer() )
end
end )
end )
function drc_GetPlayerColours(ply)
DRC:GetColours(ply)
end
--]]
end
117 changes: 32 additions & 85 deletions lua/autorun/drc_sounds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ sound.Add( {
volume = 0.32,
level = 80,
pitch = { 95, 105 },
sound = { "weapons/bat_draw.wav",
"player/taunt_surgeons_squeezebox_draw_clothes.wav",
"weapons/melee_inspect_movement3.wav",
"weapons/melee_inspect_movement4.wav",
"weapons/movement1.wav",
"weapons/movement2.wav",
"weapons/movement3.wav" }
sound = { "draconic/foley/generic7.wav ",
"draconic/foley/generic6.wav",
"draconic/foley/generic4.wav",
"draconic/foley/generic5.wav",
"draconic/foley/generic0.wav",
"draconic/foley/generic1.wav",
"draconic/foley/generic2.wav" }
} )

sound.Add( {
Expand All @@ -80,102 +80,59 @@ sound.Add( {
volume = 0.32,
level = 80,
pitch = { 95, 105 },
sound = { "weapons/bat_draw_swoosh1.wav",
"weapons/melee_inspect_movement2.wav",
"weapons/melee_inspect_movement2.wav",
"weapons/movement1.wav",
"weapons/movement2.wav",
"weapons/movement3.wav" }
sound = { "draconic/foley/generic9.wav",
"draconic/foley/generic3.wav",
"draconic/foley/generic3.wav",
"draconic/foley/generic0.wav",
"draconic/foley/generic1.wav",
"draconic/foley/generic2.wav",
"draconic/foley/generic8.wav" }
} )

sound.Add( {
name = "draconic.BladeSwingSmall",
channel = CHAN_WEAPON,
volume = 0.96,
level = 60,
pitch = { 95, 105 },
sound = { "physics/flesh/fist_swing_01.wav",
"physics/flesh/fist_swing_02.wav",
"physics/flesh/fist_swing_03.wav",
"physics/flesh/fist_swing_04.wav",
"physics/flesh/fist_swing_05.wav",
"physics/flesh/fist_swing_06.wav" }
} )

sound.Add( {
name = "draconic.BladeStabSmall",
channel = CHAN_WEAPON,
volume = 0.92,
level = 80,
pitch = { 95, 105 },
sound = { "weapons/boxing_gloves_swing1.wav",
"weapons/melee_inspect_movement2.wav",
"weapons/movement1.wav",
"weapons/movement2.wav",
"weapons/movement3.wav" }
} )

sound.Add( {
name = "draconic.BladeSmallHitWorld",
name = "draconic.BatteryDepleted",
channel = CHAN_AUTO,
volume = 0.62,
volume = 0.47,
level = 80,
pitch = { 95, 105 },
sound = { "weapons/knife/knife_hitwall1.wav",
"weapons/knife/knife_hitwall4.wav",
"weapons/knife/knife_hit_05.wav",
"weapons/knife/knife_hit_02.wav",
"weapons/knife/knife_hit_01.wav",
"weapons/knife/knife_hit_03.wav",
"weapons/knife/knife_hitwall2.wav",
"weapons/knife/knife_hitwall3.wav",
"weapons/knife/knife_hit_04.wav" }
sound = { "draconic/weapons/dry_battery.wav" }
} )

sound.Add( {
name = "draconic.BladeSmallHitFlesh",
name = "draconic.EmptyGeneric",
channel = CHAN_AUTO,
volume = 0.62,
level = 80,
pitch = { 95, 105 },
sound = { "weapons/knife/knife_hit1.wav",
"weapons/knife/knife_hit2.wav",
"weapons/knife/knife_hit3.wav",
"weapons/knife/knife_hit4.wav",
"weapons/spy_assassin_knife_impact_02.wav",
"weapons/spy_assassin_knife_impact_01.wav" }
volume = 0.69,
level = 90,
pitch = { 99, 102 },
sound = { "weapons/clipempty_pistol.wav",
"weapons/clipempty_rifle.wav" }
} )

sound.Add( {
name = "draconic.BladeSmallStabFlesh",
name = "draconic.dryfire_pistol",
channel = CHAN_AUTO,
volume = 0.62,
volume = 0.47,
level = 80,
pitch = { 95, 105 },
sound = { "weapons/knife/knife_hit1.wav",
"weapons/knife/knife_hit2.wav",
"weapons/knife/knife_hit3.wav",
"weapons/knife/knife_hit4.wav",
"weapons/axe_hit_flesh1.wav" }
sound = { "draconic/weapons/dry_pistol.wav" }
} )

sound.Add( {
name = "draconic.BatteryDepleted",
name = "draconic.dryfire_rifle",
channel = CHAN_AUTO,
volume = 0.47,
level = 80,
pitch = { 95, 105 },
sound = { "weapons/sniper_railgun_dry_fire.wav",
"weapons/widow_maker_dry_fire.wav" }
pitch = { 100, 105 },
sound = { "draconic/weapons/dry_rifle.wav" }
} )

sound.Add( {
name = "draconic.PewPew",
channel = CHAN_WEAPON,
name = "draconic.dryfire_heavy",
channel = CHAN_AUTO,
volume = 0.47,
level = 80,
pitch = { 95, 105 },
sound = { "weapons/capper_shoot.wav" }
sound = { "draconic/weapons/dry_heavy.wav" }
} )

sound.Add( {
Expand Down Expand Up @@ -238,16 +195,6 @@ sound.Add( {
sound = { "weapons/barret_arm_zap.wav" }
} )

sound.Add( {
name = "draconic.EmptyGeneric",
channel = CHAN_AUTO,
volume = 0.69,
level = 90,
pitch = { 99, 102 },
sound = { "weapons/clipempty_pistol.wav",
"weapons/clipempty_rifle.wav" }
} )

sound.Add( {
name = "draconic.vFireStopGeneric",
channel = CHAN_AUTO,
Expand Down
Loading

0 comments on commit 0d42a43

Please sign in to comment.