PDA

View Full Version : server-side sound "mod"? - am i SOL?


barneco2000
11-04-2002, 02:45 PM
Hey folx,

Here's the deal. I'm pretty familiar with basic tik editing, i.e.
changing the ammo of a weapon, damage characteristics..etc. However,
now i'm trying to change the sound that the sniper rifles play when
they fire. Now I know that your basic sound mod doesn't work server
side, since it's actually changing the wav files in the pk3, so it'll
only work locally. what i'm trying to do, is instead of just
overriding the wav files for the sniper fire sound, i'd just like to
make that event use the silencedpistol wav instead, since everyone
already has that file. so what i've done is edited the springfield.tik
file in models/weapons, and changed the following:

//barneco entry stopaliaschannel springfield_snd_fire
entry stopaliaschannel silencer_snd_fire
//barneco entry sound springfield_snd_fire
entry sound silencer_snd_fire

i think what this does is tell it to use the silencer_snd_fire
event(prolly not the right term, but i'm still learning) instead of
the springfield_snd_fire event in ubersound.scr, which in turn points
it to the silencer wav file instead of the springfield wav file. I
started up my server and tested it and it worked beautifully for me.
however, when my buddy joined, the sniper sounded normal to him. He's
using a sound mod(awesome_sounds i think), but i don't think that
should make any difference since it shouldn't be going after the
modified springfield wav anyway, it should be going after the silencer
wav.

Does anyone have any idea why this isn't working? It's a bit
perplexing to me, since mods to the same tik file, i.e. ammo mods,
work just fine. the clients do what my server-side tik file tells them
they get. What gives?

TIA,
Conan

fyi, I've been wrestling with this for months and just found mohadmin.com. i posted this question on modtheatre for some discussion a while back and had some decent discussion, unfortunately with little results. if anyone is interested in the previous discussion, check out this thread http://www.modtheater.com/forum/showthread.php?threadid=621&referrerid=249

barneco2000
11-07-2002, 05:09 PM
Hey guys,

No one has any clue about what's going on here? Have I posted this question to the wrong forum? Any advice would be immensely appreciated.

Thanks!
Conan

barneco2000
11-12-2002, 04:45 PM
If I'm being a pain here guys, just tell me and I'll shut up about this :). This thing has been bugging me for ages now. At this point, I'd be satisfied if someone could tell me for sure(or with a reasonable certainty) that this WON'T work. Thanks again!

btw, kdja, i noticed a few postings here from you. I'd just like to thank you again for your previous help over on tmt. your advice helped my understanding immensely.

floundering in modland,
Conan

Redsoccerdevil
11-19-2002, 06:40 PM
I think it would work.
Sounds like a good idea for a sniper-only mod.
Good luck,
:arrow: Red

jv_map
11-21-2002, 01:44 PM
Not exactly where you were looking for, but perhaps this might help a bit:
http://www.planetmedalofhonor.com/map/tutorials/ubersound.html