mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
34 lines
888 B
Lua
34 lines
888 B
Lua
|
|
--[[
|
||
|
|
| 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()
|
||
|
|
|
||
|
|
ENT.Base = "arccw_ammo"
|
||
|
|
ENT.RenderGroup = RENDERGROUP_TRANSLUCENT
|
||
|
|
|
||
|
|
ENT.PrintName = "Plinking Ammo (Large)"
|
||
|
|
ENT.Category = "ArcCW - Ammo"
|
||
|
|
|
||
|
|
ENT.Spawnable = true
|
||
|
|
ENT.Model = "models/items/arccw/plinking_ammo.mdl"
|
||
|
|
ENT.Scale = 1.5
|
||
|
|
|
||
|
|
ENT.AmmoType = "plinking"
|
||
|
|
ENT.AmmoCount = 500
|
||
|
|
|
||
|
|
ENT.DetonationDamage = 10
|
||
|
|
ENT.DetonationRadius = 128
|
||
|
|
ENT.DetonationSound = nil
|
||
|
|
|
||
|
|
DEFINE_BASECLASS(ENT.Base)
|
||
|
|
function ENT:DetonateRound()
|
||
|
|
BaseClass.DetonateRound(self)
|
||
|
|
self:EmitSound("weapons/pistol/pistol_fire2.wav", 70, 175, 0.8)
|
||
|
|
end
|