Genie
06-01-2003, 11:45 AM
Adding in custom reload sounds is somthing that is very easy to do, and gives an incredable effect in-game.
What you need
_______________________
Kraisto's decompiler/compiler
A model you want to give new reload sounds to
The sounds you want to use.
-------------------------------------
If you don't have right click compile-recompile allready set up, read this quick tutorial, if you allready have, or are using Milkshape, skip ahead.
Adding right-click compile/decompile is very easy but make sure you do this properly or you could mess up somthing really badly.
Step1. Go open any folder in windows explorer (not internet, windows explorer) and then go to tools/folder options.
Step2. Click on the tab called "File types", let it search for a second, then when it's done, look for the extensions "mdl" and "qc"
Step 2 1/2. If you don't have mdl or qc, add them, click on new, then type in "mdl" in the field. Then the new extension should appear in the list of extensions.
Step 3. After selecting the mdl extension (we'll do this one first) click on "advanced", then type in "Half Life model" in the top field so that we will know that the mdl extension is a Half Life mdl. click on "new" (next to the actions list, which should be empty)
Step 4. Type in "decompile" in the first field that says "action" Then click Browse. Now find mdldec and double click it. now you should have somthing like this.
--Here-- (http://www.dodstudios.net/uploads/uploads/step%201.jpg)
If you want the default windows icon for MDL files instead of the icon that looks like a word document, click on change icon.
Now onto the QC file.
Step 5. Go thru the same steps ading a QC file, as you did the model one, only except make it say "compile" and choose the program studiomdl.
Now you should have right-click decompile/compile set up, if you have problems, pm me and I'll help you.
BACKUP BEFORE STARTING, DECOMPILE IN A SEPERATE FOLDER
------------------------------------------------------------------------------
======= Adding custom reload sounds ==============
------------------------------------------------------------------------------
This is easy as pie really, just be very careful you don't spell anything wrong or edit the wrong item because then the file will not work properly. Open the QC file w/ notepad.
IMPORTANT
On files that have transparency (sten for example) you have to re-enter the line for transparency because for some reason, it isn't in the QC file after u decompile, so make sure you add it. To add it back in, insert this line anywhere in the QC
$texrendermode "skin_test.bmp" "masked"
except where "skin_test.bmp" is the skin that has transparency. Add this line for each skin that uses transparency in the model.
Step 1. W/ the QC file open in notepad, scroll down to where it says "animation sequences"
Step 2. Add in $cliptotextures in the .qc file. It makes it easier to keep consistent dimensions and swap in other bitmaps if we like.
Step3. Go to any of the sound lines and change the file name, for example if u were editing the K43, change
{ event 5004 13 "weapons/tommy_reload_clipout.wav" }
to
{ event 5004 13 "weapons/k43_reload_clipout.wav" }
Step4. Make sure that the new filename you added and the one in your sounds/weapons folder are the same name.
Step.5 delete the weapon V file (dont worry about it) and then right click on the QC file and select compile.
If all went well you now have a custom sound playing for the K_43 reload clip-out sound.
If you have any problems pm me or catch me on AIM at
"Lzrs_United" or email me at "losers_united2000@yahoo.com"
Enjoy and Happy fragging.
What you need
_______________________
Kraisto's decompiler/compiler
A model you want to give new reload sounds to
The sounds you want to use.
-------------------------------------
If you don't have right click compile-recompile allready set up, read this quick tutorial, if you allready have, or are using Milkshape, skip ahead.
Adding right-click compile/decompile is very easy but make sure you do this properly or you could mess up somthing really badly.
Step1. Go open any folder in windows explorer (not internet, windows explorer) and then go to tools/folder options.
Step2. Click on the tab called "File types", let it search for a second, then when it's done, look for the extensions "mdl" and "qc"
Step 2 1/2. If you don't have mdl or qc, add them, click on new, then type in "mdl" in the field. Then the new extension should appear in the list of extensions.
Step 3. After selecting the mdl extension (we'll do this one first) click on "advanced", then type in "Half Life model" in the top field so that we will know that the mdl extension is a Half Life mdl. click on "new" (next to the actions list, which should be empty)
Step 4. Type in "decompile" in the first field that says "action" Then click Browse. Now find mdldec and double click it. now you should have somthing like this.
--Here-- (http://www.dodstudios.net/uploads/uploads/step%201.jpg)
If you want the default windows icon for MDL files instead of the icon that looks like a word document, click on change icon.
Now onto the QC file.
Step 5. Go thru the same steps ading a QC file, as you did the model one, only except make it say "compile" and choose the program studiomdl.
Now you should have right-click decompile/compile set up, if you have problems, pm me and I'll help you.
BACKUP BEFORE STARTING, DECOMPILE IN A SEPERATE FOLDER
------------------------------------------------------------------------------
======= Adding custom reload sounds ==============
------------------------------------------------------------------------------
This is easy as pie really, just be very careful you don't spell anything wrong or edit the wrong item because then the file will not work properly. Open the QC file w/ notepad.
IMPORTANT
On files that have transparency (sten for example) you have to re-enter the line for transparency because for some reason, it isn't in the QC file after u decompile, so make sure you add it. To add it back in, insert this line anywhere in the QC
$texrendermode "skin_test.bmp" "masked"
except where "skin_test.bmp" is the skin that has transparency. Add this line for each skin that uses transparency in the model.
Step 1. W/ the QC file open in notepad, scroll down to where it says "animation sequences"
Step 2. Add in $cliptotextures in the .qc file. It makes it easier to keep consistent dimensions and swap in other bitmaps if we like.
Step3. Go to any of the sound lines and change the file name, for example if u were editing the K43, change
{ event 5004 13 "weapons/tommy_reload_clipout.wav" }
to
{ event 5004 13 "weapons/k43_reload_clipout.wav" }
Step4. Make sure that the new filename you added and the one in your sounds/weapons folder are the same name.
Step.5 delete the weapon V file (dont worry about it) and then right click on the QC file and select compile.
If all went well you now have a custom sound playing for the K_43 reload clip-out sound.
If you have any problems pm me or catch me on AIM at
"Lzrs_United" or email me at "losers_united2000@yahoo.com"
Enjoy and Happy fragging.