Raised This Month: $51 Target: $400
 12% 

Say Sounds (including Hybrid Edition) (4.0.8)


Post New Thread Reply   
 
Thread Tools Display Modes
thearz
New Member
Join Date: Dec 2009
Old 01-09-2010 , 09:32   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #351

Hi,

i need some help.

I installed the Plugin and its works -

The Plugin is loaded - The Soundsfiles gets downloaded -

and the cvars works !sounds !soundlist

But the server will not play any sound - Evertime i get the error -

That the Sound will not found -

"Sound Combinations"
{
"JoinSound"
{
"file" "misc/welcome.wav"

}

And the soundfiles are in sound/misc -

The names are correct - welcome.wav - comeagain.wav

Maybe this plugin wont works on LEFT 4 Dead 2 ?

Did anybody test it?
thearz is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 01-09-2010 , 09:45   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #352

Custom Soundfiles do not work in L4D2 unless you use snd_rebuildaudiocache.
AtomicStryker is offline
Yanush
Junior Member
Join Date: Dec 2009
Old 01-09-2010 , 11:33   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #353

Quote:
Originally Posted by AtomicStryker View Post
Custom Soundfiles do not work in L4D2 unless you use snd_rebuildaudiocache.
Custom sounds DONT WORK in l4d2 even after putting in client console snd_rebuildaudiocache command.
Yes, this command will get rid of the error "That the Sound will not found" but still, the sound will not be played.

I was searching for any way to play custom sounds with different plugins, and its not possible (i mean plugin makers dont know how to do it in l4d2).
Yanush is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 01-11-2010 , 15:55   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #354

@ freeze4hct & _Radon: look at post #338

Quote:
Originally Posted by Miraculix View Post
I tried to adapt the plugin for our server a little bit.

It is not tested further, but it works on our server.
We're running a CSS Server with SM 1.2.4

I've added some features:
- turn sounds on/off to clientprefs (!settings)
- possibility to interrupt the current sound when a new start
- possibility alive players do not hear sounds triggered by dead players (like mani's)

added 2 new cvars:
- sm_saysoundhe_interrupt_sound 1 // If set, interrupt the current sound when a new start
- sm_saysoundhe_filter_if_dead 0 // If set, alive players do not hear sounds triggered by dead players

If anyone is interested, he may try it.
But I give no guarantee that it works and do not know whether it works with other mods.

It's shown as Version 3.2.1-unofficial
__________________
greeetz Miraculix ;-)
Miraculix is offline
InFaility Ward
Member
Join Date: Jan 2010
Old 01-11-2010 , 18:09   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #355

I dont have a sounds directory in my l4d2 server directory?? Help please..
InFaility Ward is offline
_Radon
Junior Member
Join Date: Jan 2010
Old 01-13-2010 , 15:28   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #356

@M: Ah thx. Will try that.
_Radon is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 01-13-2010 , 16:05   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #357

Quote:
Originally Posted by Yanush View Post
Custom sounds DONT WORK in l4d2 even after putting in client console snd_rebuildaudiocache command.
Yes, this command will get rid of the error "That the Sound will not found" but still, the sound will not be played.
It does work for some sounds, i have a Darth Vader "NOOOOOOOO" sound on my server
AtomicStryker is offline
Sir_knumskull
Junior Member
Join Date: Jan 2009
Old 01-17-2010 , 11:40   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #358

Are there really no end-round-sounds possible in css?

Should be like here in this Plugin (damage report) or the full function in SoundSound++ (but there are only 3 sounds, not customable)

Code:
// Check if there are any living players. If so, trigger a timer for them so they will see their damage report
// Calculate who did max damage and display it as a hint.
// clear global damage done/taken arrays
public Event_RoundEnd (Handle:event, const String:name[], bool:dontBroadcast)
{
  // Make sure that we have a normal round end
  // reason 16 is game commencing
  // other reasons are real round ends
  new reason = GetEventInt(event, "reason");
  if(reason == 16) {
    return;
  }

  new damage, hits, mostDamage, mostDamagePlayer, mostHits, kills, mostKills, mostKillsPlayer;

  // Display damage report to living players
  // -1 in the damage string will make sure noone will be shown as the (Killer)
  for (new i=1; i<=g_maxClients; i++)
  { 
    if(IsClientInGame (i)) {
      if (IsClientConnected (i) && !IsFakeClient (i) && IsPlayerAlive (i)) {
        BuildDamageString(i, -1);        
      }
    }
  }
  
  // Finding out who did the most damage
  for (new i=1; i<=g_maxClients; i++)
  {
    damage = 0;
    hits = 0;
    for (new j=1; j<=g_maxClients; j++)
    { 
      damage = damage + g_DamageDone[i][j];
      hits = hits + g_HitsDone[i][j];
    }
    if (damage > mostDamage) {
      mostDamage = damage;
      mostDamagePlayer = i;
      mostHits = hits;
    }
  }
 
  mostKills = 0;
  for (new i=1; i<=g_maxClients; i++)
  {
    kills = 0;
    for (new j=1; j<=g_maxClients; j++)
    {
      kills = kills + g_KilledPlayer[i][j];
    }
    if (kills > mostKills) {
      mostKills = kills;
      mostKillsPlayer = i;
    }
  }

  // Display to all the player that did the most damage this round
  if(mostDamage > 0) {
    PrintToChatAll("\x04%s inflicted most damage, %d dmg in %d hits!", g_PlayerName[mostDamagePlayer], mostDamage, mostHits);
  }
  if(mostKills > 0) {
    PrintToChatAll("\x04Most kills: %s with %d kills" ,g_PlayerName[mostKillsPlayer], mostKills);
  }
}
I am not that familiar in writing the code, but i think i can read it correctly ;)
Perhaps someone can include end_round sounds for css at least

Sir_knumskull

Last edited by Sir_knumskull; 01-17-2010 at 12:04.
Sir_knumskull is offline
usla
Senior Member
Join Date: Jul 2009
Old 01-17-2010 , 14:42   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #359

there is another plugin for end round sounds
usla is offline
Sir_knumskull
Junior Member
Join Date: Jan 2009
Old 01-18-2010 , 08:51   Re: Say Sounds (including Hybrid Edition) (3.2.0)
Reply With Quote #360

Please tell me wich one you think of (css, multiple endsounds, sounds changable per config)
Sir_knumskull 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 21:25.


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