UGX-Mods

Call of Duty: Black Ops 3 => Help Desk => Modding => Topic started by: wumbi on November 26, 2016, 07:01:16 pm

Title: Gun sound aliases not working?
Post by: wumbi on November 26, 2016, 07:01:16 pm
I have created some weapon sound aliases in my user_aliases.csv for my ported gun, the Olympia. I have defined the sounds on the bulletweapon file and in the reload anims, and I have exported the sounds in 48000Hz, but they still won't work. Here is the code from my user_aliases.csv

Code Snippet
Plaintext
# Fire Plr,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
olympia_fire_plr,,,olympia\shot_plr.wav,,,WPN_SHOT_PLR,,,,,BUS_FX,,,wpn_cmn_shot_plr,,,,,,,,,,,,,,,,,,,,,,,2d,,,NONLOOPING,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# Fire Npc,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
olympia_fire,,,olympia\shot_plr.wav,,,WPN_SHOT_NPC,,wpn_fire_npc_dist,,,BUS_FX,,,wpn_cmn_shot_3p,,,,,500,5000,6000,,,,,,,3,oldest,-300,200,,,,,,3d,,,NONLOOPING,,,,,,,0.3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
olympia_fire_npc_dist,,,olympia\dist.wav,,,WPN_DIST_NPC,,,,,BUS_FX,,,,,,97,97,250,,,,,,,10,oldest,3,oldest,0,0,,,,,,3d,,,NONLOOPING,pitch,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# Foley,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
olympia_open,,,olympia\reload\fly_rott_open.wav,,,WPN_RELOAD_PLR,,,,,BUS_FX,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
olympia_close,,,olympia\reload\fly_rott_close.wav,,,WPN_RELOAD_PLR,,,,,BUS_FX,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
olympia_switch,,,olympia\reload\fly_rott_switch.wav,,,WPN_RELOAD_PLR,,,,,BUS_FX,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
olympia_shellin,,,olympia\reload\fly_rott_shell_in.wav,,,WPN_RELOAD_PLR,,,,,BUS_FX,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# Pap Plr,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# wpn_fire_plr_pap,,,weapons\pap\pap.wav,,,WPN_PAP_SHOT_PLR,,wpn_flux_l_plr_pap,,,BUS_FX,,,,,,,,,,,,,,,,,,,,,,,,,,2d,,,NONLOOPING,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# wpn_flux_l_plr_pap,,,weapons\pap\pap_flux_left.wav,,,WPN_PAP_FLUX_L,,wpn_flux_r_plr_pap,,,BUS_FX,,,,,,,,,,,,,,,,,,,,,,,,,,2d,,,NONLOOPING,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
# wpn_flux_r_plr_pap,,,weapons\pap\pap_flux_right.wav,,,WPN_PAP_FLUX_R,,wpn_fire_plr,,,BUS_FX,,,,,,,,,,,,,,,,,,,,,,,,,,2d,,,NONLOOPING,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
#,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

I am also using a custom template_mod.csv. Here is that:

Code Snippet
Plaintext
Name,FileSpec,Template,Loadspec,Secondary,VolumeGroup,VolMin,VolMax,DistMin,DistMaxDry,DistMaxWet,DryMaxCurve,WetMaxCurve,DryMinCurve,WetMinCurve,LimitCount,LimitType,EntityLimitCount,EntityLimitType,PitchMin,PitchMax,PriorityMin,PriorityMax,PriorityThresholdMin,PriorityThresholdMax,PanType,Storage,Looping,RandomizeType,Probability,StartDelay,ReverbSend,Duck,Pan,CenterSend,EnvelopMin,EnvelopMax,EnvelopPercent,OcclusionLevel,IsBig,DistanceLpf,FluxType,FluxTime,Subtitle,Doppler,Futz,ContextType,ContextValue,Compression,Timescale,IsMusic,FadeIn,FadeOut,Pauseable,StopOnEntDeath,Bus,FutzPatch,NeverPlayTwice,WiiUMono,IsCinematic,DuckGroup,DopplerScale,GPAD,GPADOnly
#  UIN - USER INTERFACE TEMPLATES,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
UIN_MOD,,,,,grp_menu,86,86,,,,,,,,2,oldest,,,0,0,100,100,0,1,2d,,,,,,0,,front,,,,,,,,,,,,,,,,,,,,no,,bus_ui,,,yes,,snp_never_duck,,,
WPN_SHOT_PLR,,,,,grp_weapon,100,100,,,,,,,,2,oldest,,,0,0,90,90,0.25,1,2d,,,,,,100,,wpn_all,,,,,,,no,,,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_1p_shot,,,
WPN_ACT_PLR,,,,,grp_weapon,100,100,,,,,,,,3,oldest,,,0,0,90,90,0.25,1,2d,,,,,,100,,wpn_fnt,,,,,,,no,,,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_1p_act,,,
WPN_RING_PLR,,,,,grp_weapon,100,100,,,,,,,,3,oldest,,,0,0,90,90,0.25,1,2d,,,,,,100,,wpn_fnt,,,,,,,no,,,,,,ringoff_plr,outdoor,,yes,,,,,,bus_fx,,,,,snp_wpn_1p,,,
WPN_PLR_FLUX_L,,,,,grp_weapon_decay_3p,96,97,50,1800,,rcurve2,,,,3,oldest,,,-200,200,20,90,0.25,1,3d,,,pitch,,,0,,,,,,,,,no,left_shot,2000,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_1p,,,
WPN_PLR_FLUX_R,,,,,grp_weapon_decay_3p,96,97,50,1800,,rcurve2,,,,3,oldest,,,-200,200,20,90,0.25,1,3d,,,pitch,,,0,,,,,,,,,no,right_shot,2000,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_1p,,,
WPN_RELOAD_PLR,,,,,grp_weapon,100,100,,,,,,,,,,,,-88,84,70,70,0.25,1,2d,,,,,,88,,,,,,,,,,,,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_1p,,,
WPN_SHOT_NPC,,,,,grp_weapon_3p,100,100,500,4000,5000,rcurve3,rcurve2,,,10,priority,3,oldest,-100,100,40,90,0.25,1,3d,,,pitch,,,100,,,,,,,,,no,,,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_3p,,,
WPN_ACT_NPC,,,,,grp_weapon_3p,1,1,250,750,1000,rcurve2,rcurve1,,,10,priority,3,oldest,-100,100,40,90,0.25,1,3d,,,pitch,,,90,,,,,,,,,no,,,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_3p,,,
WPN_DIST_NPC,,,,,grp_weapon_decay_3p,99,99,1200,20000,25000,cos,,sin,,10,priority,3,oldest,-100,100,40,90,0.25,1,3d,,,pitch,,,100,,,,,,,,,no,,,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_3p_decay,,,
WPN_NPC_FLUX_L,,,,,grp_weapon_decay_3p,96,97,50,1800,,rcurve1,,,,,,8,oldest,-200,350,20,90,0.25,1,3d,,,pitch,,,0,,,,,,,,,no,left_shot,3000,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_3p_decay,,,
WPN_NPC_FLUX_R,,,,,grp_weapon_decay_3p,96,97,50,1800,,rcurve1,,,,,,8,oldest,-200,350,20,90,0.25,1,3d,,,pitch,,,0,,,,,,,,,no,right_shot,3000,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_3p_decay,,,
WPN_PAP_SHOT_PLR,,,,,grp_weapon,100,100,,,,rcurve3,,,,1,oldest,,,0,0,90,90,0.25,1,2d,,,,,,100,,wpn_all,,,,,,,no,,,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_1p_shot,,,
WPN_PAP_SHOT_NPC,,,,,grp_weapon_3p,98,98,150,2500,,rcurve2,rcurve2,,,10,priority,3,oldest,-100,100,50,90,0.35,1,3d,,,pitch,,,100,,,,,,,,,no,,,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_3p,,,
WPN_PAP_FLUX_L,,,,,grp_weapon_decay_3p,95,95,50,1800,,rcurve2,,,,4,priority,,,-34,34,90,90,0.25,1,3d,,,pitch,,,94,,,,,,,,,no,left_shot,4000,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_1p,,,
WPN_PAP_FLUX_R,,,,,grp_weapon_decay_3p,95,95,50,1800,,rcurve2,,,,4,priority,,,-34,34,90,90,0.25,1,3d,,,pitch,,,94,,,,,,,,,no,right_shot,4000,,,,,,,yes,,,,,,bus_fx,,,,,snp_wpn_1p,,,

Here are some screenshots of the weapon in APE:

(https://i.gyazo.com/ba182721926f2e28a9ad04f484bfb671.png)
   
(https://i.gyazo.com/7ed1bf9c72fa16ccdd58741d8d7b459d.png)
 
(https://i.gyazo.com/428444898653d63042fe8047941825ad.png)

The modtools console gives me no errors relating to the sounds. Help is greatly appreciated!
Title: Re: Gun sound aliases not working?
Post by: hajhaka on November 26, 2016, 08:34:12 pm
u have setup the sounds in alias wrong use this as an example
Code Snippet
Plaintext
ak47_fire,,,wpn\ak47\ak47_fire.wav,,,UIN_MOD,,,,,,,,,,,100,100,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Title: Re: Gun sound aliases not working?
Post by: wumbi on November 27, 2016, 02:12:05 am
u have setup the sounds in alias wrong use this as an example
Code Snippet
Plaintext
ak47_fire,,,wpn\ak47\ak47_fire.wav,,,UIN_MOD,,,,,,,,,,,100,100,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
I tried this and it worked for one of my other weapons but not the Olympia? I also replaced the template_mod with the default one