chainsaw script
#1
i am having some trouble with the script of the Chainsaw mod by a_slow_old_man.every time that i go play it says "sounds not registred".
someone help me!it's a very coll mod but it don't work right...
pic:
[Image: chainsaw.jpg]
sorry for this "noob" question.
Thanks given by:
#2
put the sound for the chainsaw in your sounds folder.
It should replace the knife sound and have the same name. (This is the easiest way I can think to do this, but I don't have the mod and I don't know if that slow old man provided an alternative method.)
Thanks given by:
#3
Read below
Thanks given by:
#4
If I remember right, it did work, though it's quite complicated to get it working. You should have made use of the MOD-funcition. ;)
Thanks given by:
#5
I apologize to all players who downloaded the latest version of this mod.
I've forgot to add a important line to the script.

If you have the "broken version", you can either redownlaod it (its fixed now) or add this to your autoexec.cfg

registersound "weapon/chainsaw.wav" 85
registersound "weapon/chainsaw_start" 86
registersound "weapon/chainsaw_die"87


The harder part will be to get rid of the sounds, when you dont want to play with a chainsaw anymore.
You'll have to delete your whole safed.cfg (then you need to fill your name in again, your binds etc. just like when you first started the game)
Or open the safed.cfg and search for this lines and delete them:

alias KS_SOUND_NUM 85;          //the sound number
alias KS_SOUND_LEN 560.8;        //the sound length (milliseconds)
alias KS_STARTSOUND_NUM 86; //the sound number for the startup sound
alias KS_STARTSOUND_LEN 2545.2; //the length of the startsound (milliseconds)
alias KS_DIESOUND_NUM 87;       //the number of the die sound (length not required)

The rest of the script will be useless and just junk your sfed.cfg, but dont worry, its small, so you wont notice it.
Thanks given by:
#6
omg...
i already did love that chainsaw before but now...
it's even more cool.
thank you a_slow_old_man.
Thanks given by: