The correct path would be "test.wav". When are you trying to precache the sound? It probably isn't going to work on plugin load.
On 7/10/05, Ratman2000 <[EMAIL PROTECTED]> wrote: > Hello, > > i cant find a way to precache an extern sound... Tested it with this ways: > > EngineSounds->PrecacheSound( "cstrike/sound/test.wav", true ); > EngineSounds->PrecacheSound( "sound/test.wav", true ); > EngineSounds->PrecacheSound( "test.wav", true ); > > EngineSounds->PrecacheSound( "cstrike\\sound\\test.wav", true ); > EngineSounds->PrecacheSound( "sound\\test.wav", true ); > > EngineSounds->PrecacheSound( "cstrike/sound/test.wav", false); > EngineSounds->PrecacheSound( "sound/test.wav", false); > EngineSounds->PrecacheSound( "test.wav", false); > > EngineSounds->PrecacheSound( "cstrike\\sound\\test.wav", false); > EngineSounds->PrecacheSound( "sound\\test.wav", false); > > I have placed the Sound in the cstrike/sound folder... > Bit i become every time this error: > > Host_Error: CEngineSoundServer::PrecacheSound: 'test.wav' overflow > > And my server crashs... > > Has anybody finnished an Precache allready??? > > Please help me! > > With friendly greatings from germany! > > ----- Original Message ----- > From: "LDuke" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Saturday, July 09, 2005 6:58 PM > Subject: Re: [hlcoders] Is there no way to Precache extern Sounds? > > > > Don't include the cstrike part of the path. > > > > Also, if this is a plugin, use IEngingeSound to precache and not > > IVEngineServer. > > > > > > > > On 7/9/05, Ratman2000 <[EMAIL PROTECTED]> wrote: > >> Hello, > >> > >> I like to precache an file like this: > >> > >> cstrike/sound/test/test.wav > >> > >> But when i do this i become overflows and the server crashs... Whats > >> wrong? > >> Has anybody a way to precache extern sound files? > >> > >> Thanks from Germany! > >> > >> With friendly reguards > >> > >> _______________________________________________ > >> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > >> > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

