Hello everyone! Since the developers decided to break the sounds of SCAR-L, SPAS-12, etc., we need to do something to fix it ourselves.
Here I am going to share the codes of my version of the fix. This is for anyone who is working (or going to work) with modern conflict weapons. Add the code below to your entities.blk and the fixes will be applied
// Modern weapon sound fix originally by @Yopsius at https://forum.enlisted.net/en/t/map-ancient-canyon/148847/21
// Modified and updated by Gamer_Victorch
//hk_ump_45_gun////
hk_ump_45_gun{
_override:b=yes
_group{
_tags:t="sound"
gun_sound__forceOneshot:b=yes
}
"gun_sound__shotPath:shared:object"{
_tags:t="sound"
path:t="/weapon/mgun/ppsh_41_german"
}
"sound_irqs:shared:object"{
_tags:t="sound"
"reload1:object"{
path:t="/weapon/mgun/pps_42/reload1/change_ammo"
}
"reload2:object"{
path:t="/weapon/mgun/yazikov_smg/reload_mag_out"
}
"reload3:object"{
path:t="/weapon/mgun/yazikov_smg/reload_mag_in"
}
"reload4:object"{
path:t="/weapon/mgun/yazikov_smg/reload_shutter_in"
}
}
}
//hk_mp5n_gun////
hk_mp5n_gun{
_override:b=yes
_group{
_tags:t="sound"
gun_sound__forceOneshot:b=yes
}
"gun_sound__shotPath:shared:object"{
_tags:t="sound"
path:t="/weapon/mgun/mp18"
}
"sound_irqs:shared:object"{
_tags:t="sound"
"reload1:object"{
path:t="/weapon/mgun/pps_42/reload1/change_ammo"
}
"reload2:object"{
path:t="/weapon/mgun/yazikov_smg/reload_mag_out"
}
"reload3:object"{
path:t="/weapon/mgun/yazikov_smg/reload_mag_in"
}
"reload4:object"{
path:t="/weapon/mgun/yazikov_smg/reload_shutter_in"
}
}
}
//steyr_aug_a1_gun////
steyr_aug_a1_gun{
_override:b=yes
_group{
_tags:t="sound"
gun_sound__forceOneshot:b=yes
}
"gun_sound__shotPath:shared:object"{
_tags:t="sound"
path:t="/weapon/rifle/berthier_m16"
}
"sound_irqs:shared:object"{
_tags:t="sound"
"reload1:object"{
path:t="/weapon/rifle/type_hei_automatic_rifle/reload_mag_shutter_out"
}
"reload2:object"{
path:t="/weapon/rifle/type_hei_automatic_rifle/reload_mag_in"
}
"reload3:object"{
path:t="/weapon/rifle/vstg_1_5/reload3/change_ammo"
}
}
}
//fn_scar_gun////
fn_scar_gun{
_override:b=yes
_group{
_tags:t="sound"
gun_sound__forceOneshot:b=yes
}
"gun_sound__shotPath:shared:object"{
_tags:t="sound"
path:t="/weapon/mgun/lahti_saloranta_m26"
}
"sound_irqs:shared:object"{
_tags:t="sound"
"reload1:object"{
path:t="/weapon/rifle/t20_early_rifle/reload_mag_out"
}
"reload2:object"{
path:t="/weapon/rifle/type_hei_automatic_rifle/reload_mag_in"
}
"reload3:object"{
path:t="/weapon/mgun/mp18/reload3/change_ammo"
}
}
}
//spas_12_gun////
spas_12_gun{
_override:b=yes
_group{
_tags:t="sound"
gun_sound__forceOneshot:b=yes
}
"gun_sound__shotPath:shared:object"{
_tags:t="sound"
path:t="/weapon/rifle/ithaca_37"
}
"sound_irqs:shared:object"{
_tags:t="sound"
"boltAction:object"{
path:t="/weapon/rifle/spas_12/bolt_action"
}
"reload1:object"{
path:t="player/walker/ww2_soldier/foley_mov/common/riffle/aim_on"
}
"reload2:object"{
path:t="/weapon/rifle/browning_auto_5/reload2/change_ammo"
}
"reload3:object"{
path:t="/weapon/rifle/spas_12/bolt_action"
}
}
}
//
Here is the video for the sounds in mod editor (not all sounds are the same as the final version you see above though):