Raised This Month: $32 Target: $400
 8% 

FF2 AMS sound distribution


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SpookyToad
Member
Join Date: May 2019
Location: dr_berlin_redux
Old 05-21-2019 , 03:47   AMS sound distribution
Reply With Quote #1

I'm unable to setup specific sound for each of the abilites from AMS, how i'm able to-do this? For example, Salmon Summon System with support of AMS, when i'm trying to-do sound of it with just "sound_ability" at config, it applies on all abilites which boss haves.
SpookyToad is offline
Batfoxkid
Senior Member
Join Date: Nov 2018
Location: ''On the map''
Old 05-21-2019 , 09:51   Re: AMS sound distribution
Reply With Quote #2

AMS can't do sound_ability, instead some abilities provide a place where you can place your sounds.
Salmon uses sound_salmon_summon when it's triggered through AMS.
__________________
Batfoxkid is offline
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 05-21-2019 , 13:02   Re: AMS sound distribution
Reply With Quote #3

Yeah, AMS can't actually hook "random sounds" that default abilities does. If you're trying to setup sounds for any AMS abilities you should search for instructions first or you can edit source code (if you have one) and compile it yourself.

In your case, Salmon System uses "sound_salmon_summon" for minion spawn.
It looks like that:

Code:
	if(AMSOnly[client])
	{
		char sound[PLATFORM_MAX_PATH];
		if(FF2_RandomSound("sound_salmon_summon", sound, sizeof(sound), boss))
		{
			EmitSoundToAll(sound);
		}		
	}
But Salmon CAN use "sound_ability" if you're not using AMS.

There's also "sound_minion_catchphrase" for minions only if you put "arg8" "4" (for "summon_minions" ability) or "arg15" "4" (for "charge_summon_minions" ability)
__________________
MAGNAT2645 is offline
SpookyToad
Member
Join Date: May 2019
Location: dr_berlin_redux
Old 05-22-2019 , 01:41   Re: AMS sound distribution
Reply With Quote #4

Thanks!
SpookyToad is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode