mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 05:43:46 +03:00
Upload
This commit is contained in:
33
lua/entities/npc_vj_hlrof_penguin/init.lua
Normal file
33
lua/entities/npc_vj_hlrof_penguin/init.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
--[[
|
||||
| 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/opfor/penguin.mdl"} -- The game will pick a random model from the table when the SNPC is spawned | Add as many as you want
|
||||
ENT.EntitiesToNoCollide = {"npc_vj_hlrof_penguin"} -- Entities to not collide with when HasEntitiesToNoCollide is set to true
|
||||
ENT.VJC_Data = {
|
||||
FirstP_Bone = "Bone22", -- If left empty, the base will attempt to calculate a position for first person
|
||||
FirstP_Offset = Vector(4, 0, 30), -- The offset for the controller when the camera is in first person
|
||||
}
|
||||
---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
ENT.VJ_NPC_Class = {"CLASS_PENGUIN"} -- NPCs with the same class with be allied to each other
|
||||
ENT.BloodColor = "Red" -- The blood type, this will determine what it should use (decal, particle, etc.)
|
||||
ENT.CustomBlood_Particle = {"vj_hlr_blood_red"}
|
||||
ENT.CustomBlood_Decal = {"VJ_HLR_Blood_Red"} -- Decals to spawn when it's damaged
|
||||
---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
function ENT:Snark_CustomOnInitialize()
|
||||
self:SetCollisionBounds(Vector(7, 7, 25), Vector(-7, -7, 0))
|
||||
self.Snark_Type = 1
|
||||
end
|
||||
Reference in New Issue
Block a user