This morning I tweaked my project from activating the sounds by approaching the NPC to simply shooting the NPC. It allowed the player to activate the desired sound quicker and more easily. This however added a problem. One of the NPCs I was using was Breen. I approached him with my crowbar, and as I swung I expected to hear a tom drum; instead, Breen just keeled over and died. I then had to replace him with Dr. Kleiner along with a new set of animations for the new model.
I then discovered another problem. One of the NPCs wasn't working at all. I checked and rechecked and everything is the way it should be, but the NPC still doesn't respond. I might have to scrap this particular drum if I can't figure out how to fix it. I then completed the final map I will be using, and I'm just currently tweaking it and trying to improve it with some custom animated textures, although I can't figure out how to do that.
I am also trying to find a way to mute the sound of the gun so that the player can hear the drum better.
Comments (2)
I guess all the NPCs will die eventually. I think changing the damage they receive involves editing the qc file and recompiling.
One way to eliminate the sound of the gun is to find the sound the gun emits then make a silent wav file with the same name and place it in steamapps\username\half-life 2\hl2\sounds\.
Posted by Andy | May 7, 2008 10:23 PM
Posted on May 7, 2008 22:23
I guess all the NPCs will die eventually. I think changing the damage they receive involves editing the qc file and recompiling. For Breen you'd have to find his .mdl file using GCFScape and extract it. You then have to decompile the .mdl to get at the .qc file. MDL decompiler: http://www.chaosincarnate.net/cannonfodder/cftools.htm
One way to eliminate the sound of the gun is to find the sound the gun emits then make a silent wav file with the same name and place it in steamapps\username\half-life 2\hl2\sounds\.
Posted by Andy | May 7, 2008 10:27 PM
Posted on May 7, 2008 22:27