Залив

This commit is contained in:
Refosel
2026-03-30 10:39:52 +03:00
commit 2b57c019cb
2010 changed files with 185745 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
include("shared.lua")
killicon.Add("mg_arrow_gas", "VGUI/entities/mg_crossbow", Color(255, 0, 0, 255))

View File

@@ -0,0 +1,14 @@
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
ENT.Model = Model("models/viper/mw/attachments/crossbow/attachment_vm_sn_crossbow_mag_stunbolt.mdl")
ENT.AoeEntity = "mg_aoe_arrow_gas"
local BaseClass = baseclass.Get(ENT.Base)
function ENT:Impact(tr, phys, bHull)
BaseClass.Impact(self, tr, phys, bHull)
ParticleEffectAttach("arrow_gas_ejection", PATTACH_ABSORIGIN_FOLLOW, self, 0)
end

View File

@@ -0,0 +1,5 @@
ENT.Base = "mg_arrow"
ENT.Type = "anim"
game.AddParticles("particles/mw19_attachments.pcf")
PrecacheParticleSystem("arrow_gas_ejection")