mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
59
lua/entities/wolf_freos/init.lua
Normal file
59
lua/entities/wolf_freos/init.lua
Normal file
@@ -0,0 +1,59 @@
|
||||
--[[
|
||||
| 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-2017 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/spitball_medium.mdl"} -- The models it should spawn with | Picks a random one from the table
|
||||
ENT.DoesRadiusDamage = true -- Should it do a blast damage when it hits something?
|
||||
ENT.RadiusDamageRadius = 40 -- How far the damage go? The farther away it's from its enemy, the less damage it will do | Counted in world units
|
||||
ENT.RadiusDamage = 200000 -- How much damage should it deal? Remember this is a radius damage, therefore it will do less damage the farther away the entity is from its enemy
|
||||
ENT.RadiusDamageUseRealisticRadius = true -- Should the damage decrease the farther away the enemy is from the position that the projectile hit?
|
||||
ENT.DirectDamage = 0
|
||||
ENT.RadiusDamageForce = 0
|
||||
ENT.RadiusDamageForce_Up = 0
|
||||
ENT.ShakeWorldOnDeathAmplitude = 0
|
||||
ENT.RadiusDamageType = DMG_SLASH -- Damage type
|
||||
//ENT.DecalTbl_DeathDecals = {"BeerSplash"}
|
||||
ENT.SoundTbl_Startup = {"senator/controller_final_hit.ogg"}
|
||||
|
||||
|
||||
---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
function ENT:CustomPhysicsObjectOnInitialize(phys)
|
||||
phys:Wake()
|
||||
phys:EnableDrag(false)
|
||||
phys:EnableGravity(false)
|
||||
phys:SetBuoyancyRatio(0)
|
||||
end
|
||||
------------------------------------------------------------------------------------------
|
||||
function ENT:CustomOnInitialize()
|
||||
self:SetNoDraw(true)
|
||||
|
||||
|
||||
|
||||
end
|
||||
---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
function ENT:DeathEffects(data,phys)
|
||||
|
||||
|
||||
end
|
||||
--------------------------------------------------------------------------------------
|
||||
function ENT:CustomOnThink()
|
||||
|
||||
end
|
||||
/*-----------------------------------------------
|
||||
*** Copyright (c) 2012-2017 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.
|
||||
-----------------------------------------------*/
|
||||
26
lua/entities/wolf_freos/shared.lua
Normal file
26
lua/entities/wolf_freos/shared.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
--[[
|
||||
| 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.Type = "anim"
|
||||
ENT.Base = "obj_vj_projectile_base"
|
||||
ENT.PrintName = "Leste"
|
||||
ENT.Author = "SOMEBODY SAY HO!"
|
||||
ENT.Contact = "http://steamcommunity.com/profiles/76561198180831682/"
|
||||
ENT.Information = "Projectiles for my addons"
|
||||
ENT.Category = "Projectiles"
|
||||
|
||||
if (CLIENT) then
|
||||
local Name = "Leste"
|
||||
local LangName = "wolf_fr"
|
||||
language.Add(LangName, Name)
|
||||
killicon.Add(LangName,"HUD/killicons/default",Color(255,80,50,255))
|
||||
language.Add("#"..LangName, Name)
|
||||
killicon.Add("#"..LangName,"HUD/killicons/default",Color(255,80,50,255))
|
||||
end
|
||||
Reference in New Issue
Block a user