This commit is contained in:
lifestorm
2024-08-05 18:40:29 +03:00
parent c4d91bf369
commit 324f19217d
8040 changed files with 1853423 additions and 21 deletions

View File

@@ -0,0 +1,32 @@
--[[
| 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/
--]]
AddCSLuaFile("shared.lua")
include('shared.lua')
/*-----------------------------------------------
*** Copyright (c) 2012-2023 by DrVrej, All rights reserved. ***
No parts of this code or any of its contents may be reproduced, copied, modified or adapted,
without the prior written consent of the author, unless otherwise indicated for stand-alone materials.
-----------------------------------------------*/
ENT.StartHealth = 40
ENT.HullType = HULL_HUMAN
ENT.Behavior = VJ_BEHAVIOR_PASSIVE
ENT.Weapon_NoSpawnMenu = true -- If set to true, the NPC weapon setting in the spawnmenu will not be applied for this SNPC
ENT.HasGrenadeAttack = false -- Should the SNPC have a grenade attack?
---------------------------------------------------------------------------------------------------------------------------------------------
function ENT:CustomOnPreInitialize()
if self.Human_Gender == 0 or (self.Human_Gender == nil && math.random(1, 2) == 1) then
self.Human_Gender = 0
self.Model = {"models/Humans/Group01/male_01.mdl","models/Humans/Group01/male_02.mdl","models/Humans/Group01/male_03.mdl","models/Humans/Group01/male_04.mdl","models/Humans/Group01/male_05.mdl","models/Humans/Group01/male_06.mdl","models/Humans/Group01/male_07.mdl","models/Humans/Group01/male_08.mdl","models/Humans/Group01/male_09.mdl"}
else
self.Human_Gender = 1
self.Model = {"models/Humans/Group01/female_01.mdl","models/Humans/Group01/female_02.mdl","models/Humans/Group01/female_03.mdl","models/Humans/Group01/female_04.mdl","models/Humans/Group01/female_06.mdl","models/Humans/Group01/female_07.mdl"}
end
end

View File

@@ -0,0 +1,18 @@
--[[
| 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/
--]]
ENT.Base = "npc_vj_hlr2_rebel"
ENT.Type = "ai"
ENT.PrintName = "Citizen"
ENT.Author = "DrVrej"
ENT.Contact = "http://steamcommunity.com/groups/vrejgaming"
ENT.Purpose = "Spawn it and fight with it!"
ENT.Instructions = "Click on the spawnicon to spawn it."
ENT.Category = "Half-Life Resurgence"