Залив
This commit is contained in:
53
lua/weapons/mg_hdromeo/customization.lua
Normal file
53
lua/weapons/mg_hdromeo/customization.lua
Normal file
@@ -0,0 +1,53 @@
|
||||
AddCSLuaFile()
|
||||
|
||||
function SWEP:doSuppressorStats()
|
||||
self.Primary.Sound = Sound("weap_hdromeo_fire_plr_sup")
|
||||
self.Reverb = {
|
||||
RoomScale = 50000,
|
||||
Sounds = {
|
||||
Outside = {
|
||||
Layer = Sound("Atmo_Sniper_Sup.Outside"),
|
||||
Reflection = Sound("Reflection_Sniper.Outside")
|
||||
},
|
||||
|
||||
Inside = {
|
||||
Layer = Sound("Atmo_DMR_Sup.Inside"),
|
||||
Reflection = Sound("Reflection_ARSUP.Inside")
|
||||
}
|
||||
}
|
||||
}
|
||||
self.ParticleEffects.MuzzleFlash = "mw_fas2_muzzleflash_suppressed"
|
||||
end
|
||||
|
||||
SWEP.Customization = {
|
||||
{"att_perk", "attachment_vm_sn_hdromeo_perk_soh",
|
||||
"att_perk_steadywalk", "att_perk_nodrop", "att_perk_scopesway"},
|
||||
|
||||
{"attachment_weapon_vm_sn_hdromeo_stock", "attachment_vm_sn_hdromeo_stockl",
|
||||
"attachment_vm_sn_hdromeo_stockh"},
|
||||
|
||||
{"attachment_weapon_vm_sn_hdromeo_mag", "attachment_vm_sn_hdromeo_xmag", "attachment_vm_sn_hdromeo_xmag2"},
|
||||
|
||||
{"attachment_weapon_vm_sn_hdromeo_receiver"},
|
||||
|
||||
{"attachment_weapon_vm_sn_hdromeo_barrel", "attachment_vm_sn_hdromeo_barrel_short",
|
||||
"attachment_vm_sn_hdromeo_barrel_mid", "attachment_vm_sn_hdromeo_barrel_long"},
|
||||
|
||||
{"att_muzzle", "att_vm_hdromeo_compensator01", "att_vm_hdromeo_flashhider01", "att_vm_hdromeo_muzzlebrake01",
|
||||
"att_vm_hdromeo_muzzlebrake02", "att_vm_hdromeo_silencer01", "att_vm_hdromeo_silencer02", "att_vm_hdromeo_silencer03"},
|
||||
|
||||
{"att_sight", "att_vm_2x_west02_holo", "att_vm_2x_west02", "att_vm_reflex_02", "attachment_vm_sn_hdromeo_snprscope",
|
||||
"att_vm_minireddot01_tall", "att_vm_minireddot02_tall", "att_vm_minireddot03_tall",
|
||||
"att_vm_holo_west01", "att_vm_holo_west02", "att_vm_holo_east01", "att_vm_reflex_east01",
|
||||
"att_vm_reflex_east02_tall", "att_vm_reflex_west02_tall", "att_vm_reflex_west03",
|
||||
"att_vm_thermal_east01", "att_vm_thermal_west01", "att_vm_4x_east01_tall", "att_vm_2x_west01",
|
||||
"att_vm_4x_west01_tall", "att_vm_4x_west02_tall", "att_vm_reflex_west04",
|
||||
"att_vm_scope_hdromeo", "att_vm_scope_vz"},
|
||||
|
||||
{"att_laser", "attachment_vm_sn_hdromeo_laser01", "attachment_vm_sn_hdromeo_laser02",
|
||||
"attachment_vm_sn_hdromeo_laser03"},
|
||||
}
|
||||
|
||||
--NECESSARY: it loads custom attachments from other authors
|
||||
require("mw_utils")
|
||||
mw_utils.LoadInjectors(SWEP)
|
||||
Reference in New Issue
Block a user