As you probably already know, all textures and
sounds are
client side files.
This means that it is not posible to change textures or sounds
server sided.
However, if you are creating a
custom map/mod which requires clients to download, then
yes, it is possible to change the texture or sounds of any object, vehicle or weapon you like.
To change the sound of the No4 Rifle to that of a MG42 machine gun, you would have to create an objects folder within the map directory which points to the sound script of the MG42 machine gun or just copy the contents of the MG42 sounds folder ( \Objects\Stationary_Weapons\MG42_unlimited\Sounds ) and put it into the No4 Rifles's Sounds folder and then you can use the code ;
ObjectTemplate.loadSoundScript Sounds/mg42.ssc in the No4 Rifle's objects.con.
If you need more help, let me know.
![Wink ;-)](./images/smilies/icon_wink.gif)