add sborka
This commit is contained in:
35
garrysmod/addons/tacrp/lua/weapons/tacrp_nade_charge.lua
Normal file
35
garrysmod/addons/tacrp/lua/weapons/tacrp_nade_charge.lua
Normal file
@@ -0,0 +1,35 @@
|
||||
AddCSLuaFile()
|
||||
|
||||
SWEP.Base = "tacrp_base_nade"
|
||||
SWEP.Spawnable = TacRP.AreTheGrenadeAnimsReadyYet
|
||||
SWEP.IconOverride = "entities/tacrp_ammo_charge.png"
|
||||
|
||||
|
||||
// names and stuff
|
||||
SWEP.PrintName = "Взрывной заряд"
|
||||
SWEP.Category = "[FT] Специальное Оружие"
|
||||
|
||||
SWEP.ViewModel = "models/weapons/tacint/v_throwable_breach.mdl"
|
||||
SWEP.WorldModel = "models/weapons/tacint/w_frag.mdl"
|
||||
|
||||
SWEP.ViewModelFOV = 65
|
||||
|
||||
SWEP.Slot = 4
|
||||
|
||||
SWEP.PrimaryGrenade = "charge"
|
||||
|
||||
SWEP.FiremodeName = "Throw"
|
||||
|
||||
SWEP.AnimationTranslationTable = {
|
||||
["prime_grenade"] = "pullpin",
|
||||
["throw_grenade"] = "throw",
|
||||
["throw_grenade_underhand"] = "throw",
|
||||
}
|
||||
|
||||
SWEP.TTTReplace = {} // {["weapon_ttt_confgrenade"] = 0.5}
|
||||
|
||||
SWEP.Attachments = {}
|
||||
|
||||
SWEP.HoldType = "melee"
|
||||
SWEP.HoldTypeSprint = "normal"
|
||||
SWEP.HoldTypeBlindFire = false
|
||||
Reference in New Issue
Block a user