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
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