@@ -443,7 +443,7 @@ if VJExists == true then
443443 local colorYellow = VJ_Color2Byte (Color (255 , 221 , 35 ))
444444 local colorRed = VJ_Color2Byte (Color (130 , 19 , 10 ))
445445 hook .Add (" EntityTakeDamage" , " VJ_HLR_EntityTakeDamage" , function (target , dmginfo )
446- if target .HLR_Corpse && !target .Dead && CurTime () > target .HLR_Corpse_StartT then
446+ if target .HLR_Corpse && !target .Dead && CurTime () > target .HLR_Corpse_StartT && target : GetColor (). a > 50 then
447447 local dmgForce = dmginfo :GetDamageForce ()
448448
449449 -- Blood hit effects & decals
@@ -471,6 +471,7 @@ if VJExists == true then
471471 end
472472 end
473473
474+ -- Damage & Gibs
474475 if GetConVar (" vj_hlr1_corpse_gibbable" ):GetInt () == 1 && !dmginfo :IsBulletDamage () && target .HLR_Corpse_Gibbable then
475476 local noDamage = false
476477 local dmgType = dmginfo :GetDamageType ()
@@ -618,6 +619,7 @@ VJ.AddConVar("vj_hlr1_osprey_deploysoldiers", 1, {FCVAR_ARCHIVE})
618619VJ .AddConVar (" vj_hlr1_assassin_cloaks" , 1 , {FCVAR_ARCHIVE })
619620-- Source
620621VJ .AddConVar (" vj_hlr2_merkava_gunner" , 1 , {FCVAR_ARCHIVE })
622+ VJ .AddConVar (" vj_hlr2_custom_skins" , 1 , {FCVAR_ARCHIVE })
621623
622624VJ .AddConVar (" vj_hlr_autoreplace" , 0 , {FCVAR_ARCHIVE , FCVAR_NOTIFY })
623625VJ .AddConVar (" vj_hlr_autoreplace_hl1" , 1 , {FCVAR_ARCHIVE , FCVAR_NOTIFY })
@@ -637,7 +639,7 @@ if CLIENT then
637639 return
638640 end
639641 Panel :AddControl ( " Label" , {Text = " #vjbase.menu.general.admin.only" })
640- Panel :AddControl (" Button" , {Text = " #vjbase.menu.general.reset.everything" , Command = " vj_hlr1_gonarch_babylimit 20\n vj_hlr1_bradley_deploygrunts 1\n vj_hlr1_osprey_deploysoldiers 1\n vj_hlr2_merkava_gunner 1\n vj_hlr1_assassin_cloaks 1\n vj_hlr1_corpse_effects 1\n vj_hlr1_corpse_gibbable 1" })
642+ Panel :AddControl (" Button" , {Text = " #vjbase.menu.general.reset.everything" , Command = " vj_hlr1_gonarch_babylimit 20\n vj_hlr1_bradley_deploygrunts 1\n vj_hlr1_osprey_deploysoldiers 1\n vj_hlr2_merkava_gunner 1\n vj_hlr1_assassin_cloaks 1\n vj_hlr1_corpse_effects 1\n vj_hlr1_corpse_gibbable 1 \n vj_hlr2_custom_skins 1" })
641643 Panel :AddControl ( " Label" , {Text = " GoldSrc Engine:" })
642644 Panel :AddControl (" Checkbox" , {Label = " Corpses Create Effects & Decals" , Command = " vj_hlr1_corpse_effects" })
643645 Panel :AddControl (" Checkbox" , {Label = " Corpses Can Be Dismembered" , Command = " vj_hlr1_corpse_gibbable" })
@@ -647,6 +649,8 @@ if CLIENT then
647649 Panel :AddControl (" Slider" , {Label = " Gonarch Baby Headcrab Limit" , min = 0 , max = 100 , Command = " vj_hlr1_gonarch_babylimit" })
648650 Panel :AddControl ( " Label" , {Text = " Source Engine:" })
649651 Panel :AddControl (" Checkbox" , {Label = " Merkava Spawns With a Gunner" , Command = " vj_hlr2_merkava_gunner" })
652+ Panel :AddControl (" Checkbox" , {Label = " Allow Custom NPC Skins" , Command = " vj_hlr2_custom_skins" })
653+ Panel :ControlHelp (" Ex: Custom skins for Rebels & Refugees" )
650654 end )
651655
652656 spawnmenu .AddToolMenuOption (" DrVrej" , " SNPC Configures" , " HL Resurgence (AutoReplace)" , " HL Resurgence (AutoReplace)" , " " , " " , function (Panel )
0 commit comments