Files
wnsrc/lua/entities/obj_vj_destroyed_rocket_z.lua
lifestorm 9c918c46e5 Upload
2024-08-04 23:12:27 +03:00

29 lines
1.4 KiB
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 = "obj_vj_projectile_base"
ENT.Type = "anim"
ENT.PrintName = "Destroyed Missile"
ENT.Author = "Zippy"
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function ENT:CustomOnInitialize()
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function ENT:CustomPhysicsObjectOnInitialize(phys)
phys:Wake()
phys:EnableGravity(true)
phys:EnableDrag(false)
phys:SetBuoyancyRatio(0)
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------