mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 05:43:46 +03:00
Upload
This commit is contained in:
54
lua/entities/npc_vj_hlrsv_garg_baby/init.lua
Normal file
54
lua/entities/npc_vj_hlrsv_garg_baby/init.lua
Normal file
@@ -0,0 +1,54 @@
|
||||
--[[
|
||||
| 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.Model = {"models/vj_hlr/sven/babygarg.mdl"} -- The game will pick a random model from the table when the SNPC is spawned | Add as many as you want
|
||||
ENT.StartHealth = 500
|
||||
ENT.HullType = HULL_HUMAN
|
||||
ENT.VJ_IsHugeMonster = false -- Is this a huge monster?
|
||||
ENT.VJC_Data = {
|
||||
ThirdP_Offset = Vector(15, 0, -15), -- The offset for the controller when the camera is in third person
|
||||
}
|
||||
ENT.CustomBlood_Particle = {"vj_hlr_blood_yellow"}
|
||||
|
||||
ENT.MeleeAttackDamage = 20 -- How close does it have to be until it attacks?
|
||||
ENT.MeleeAttackDamageType = DMG_SLASH -- How close does it have to be until it attacks?
|
||||
ENT.MeleeAttackDistance = 35 -- How close does it have to be until it attacks?
|
||||
ENT.MeleeAttackDamageDistance = 125 -- How far does the damage go?
|
||||
|
||||
ENT.WorldShakeOnMoveAmplitude = 6 -- How much the screen will shake | From 1 to 16, 1 = really low 16 = really high
|
||||
ENT.WorldShakeOnMoveRadius = 750 -- How far the screen shake goes, in world units
|
||||
ENT.WorldShakeOnMoveDuration = 0.4 -- How long the screen shake will last, in seconds
|
||||
-- ====== Sound File Paths ====== --
|
||||
-- Leave blank if you don't want any sounds to play
|
||||
ENT.SoundTbl_FootStep = {"vj_hlr/hl1_npc/babygarg/gar_step1.wav","vj_hlr/hl1_npc/babygarg/gar_step2.wav"}
|
||||
ENT.SoundTbl_Idle = {"vj_hlr/hl1_npc/babygarg/gar_breathe1.wav","vj_hlr/hl1_npc/babygarg/gar_breathe2.wav","vj_hlr/hl1_npc/babygarg/gar_breathe3.wav","vj_hlr/hl1_npc/babygarg/gar_idle1.wav","vj_hlr/hl1_npc/babygarg/gar_idle2.wav","vj_hlr/hl1_npc/babygarg/gar_idle3.wav","vj_hlr/hl1_npc/babygarg/gar_idle4.wav","vj_hlr/hl1_npc/babygarg/gar_idle5.wav"}
|
||||
ENT.SoundTbl_Alert = {"vj_hlr/hl1_npc/babygarg/gar_alert1.wav","vj_hlr/hl1_npc/babygarg/gar_alert2.wav","vj_hlr/hl1_npc/babygarg/gar_alert3.wav"}
|
||||
ENT.SoundTbl_BeforeMeleeAttack = {"vj_hlr/hl1_npc/babygarg/gar_attack1.wav","vj_hlr/hl1_npc/babygarg/gar_attack2.wav","vj_hlr/hl1_npc/babygarg/gar_attack3.wav"}
|
||||
ENT.SoundTbl_MeleeAttackExtra = {"weapons/cbar_hitbod1.wav","weapons/cbar_hitbod2.wav","weapons/cbar_hitbod3.wav"}
|
||||
ENT.SoundTbl_MeleeAttackMiss = {"vj_hlr/hl1_npc/zombie/claw_miss1.wav","vj_hlr/hl1_npc/zombie/claw_miss2.wav"}
|
||||
ENT.SoundTbl_Pain = {"vj_hlr/hl1_npc/babygarg/gar_pain1.wav","vj_hlr/hl1_npc/babygarg/gar_pain2.wav","vj_hlr/hl1_npc/babygarg/gar_pain3.wav"}
|
||||
ENT.SoundTbl_Death = {"vj_hlr/hl1_npc/babygarg/gar_die1.wav","vj_hlr/hl1_npc/babygarg/gar_die2.wav"}
|
||||
|
||||
ENT.BreathSoundPitch = VJ_Set(130, 130)
|
||||
|
||||
-- Custom
|
||||
ENT.Garg_Type = 1
|
||||
/*-----------------------------------------------
|
||||
*** 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.
|
||||
-----------------------------------------------*/
|
||||
18
lua/entities/npc_vj_hlrsv_garg_baby/shared.lua
Normal file
18
lua/entities/npc_vj_hlrsv_garg_baby/shared.lua
Normal 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_hlr1_garg"
|
||||
ENT.Type = "ai"
|
||||
ENT.PrintName = "Baby Gargantua"
|
||||
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"
|
||||
Reference in New Issue
Block a user