mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
43
gamemodes/terrortown/entities/weapons/weapon_zm_molotov.lua
Normal file
43
gamemodes/terrortown/entities/weapons/weapon_zm_molotov.lua
Normal file
@@ -0,0 +1,43 @@
|
||||
--[[
|
||||
| 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()
|
||||
|
||||
SWEP.HoldType = "grenade"
|
||||
|
||||
if CLIENT then
|
||||
SWEP.PrintName = "grenade_fire"
|
||||
SWEP.Slot = 3
|
||||
|
||||
SWEP.ViewModelFlip = false
|
||||
SWEP.ViewModelFOV = 54
|
||||
|
||||
SWEP.Icon = "vgui/ttt/icon_nades"
|
||||
SWEP.IconLetter = "P"
|
||||
end
|
||||
|
||||
SWEP.Base = "weapon_tttbasegrenade"
|
||||
|
||||
SWEP.Kind = WEAPON_NADE
|
||||
SWEP.WeaponID = AMMO_MOLOTOV
|
||||
|
||||
SWEP.UseHands = true
|
||||
SWEP.ViewModel = "models/weapons/cstrike/c_eq_flashbang.mdl"
|
||||
SWEP.WorldModel = "models/weapons/w_eq_flashbang.mdl"
|
||||
|
||||
SWEP.Weight = 5
|
||||
SWEP.AutoSpawnable = true
|
||||
SWEP.Spawnable = true
|
||||
-- really the only difference between grenade weapons: the model and the thrown
|
||||
-- ent.
|
||||
|
||||
function SWEP:GetGrenadeName()
|
||||
return "ttt_firegrenade_proj"
|
||||
end
|
||||
Reference in New Issue
Block a user