schroe2a / DotaSource2

My fork of... The 2013 edition of the Source SDK
Other
7 stars 1 forks source link

Failed to load sound "*vo\npc\female01\evenodds.wav", file probably missing from disk/repository #6

Closed schroe2a closed 11 years ago

JacobSimmons commented 11 years ago

use search paths in gameinfo.txt

JacobSimmons commented 11 years ago

The issue appears to originate from the npc_combine.cpp file located in: Game Solution/Server (HL2MP)/Source Files/HL2 DLL/

Line 3350 uses a: EmitSound ( "npc_citizen.evenodds", gpGlobals->curtime );

Solution options:

  1. Comment out this line
  2. replace "evenodds" with another sound in the code file

I'm cautious to add a .wav to the .vpk because the .vpk is in the Half Life 2 steam folder. I'm not sure if it would have affects on the HL2 game at all. The other NPCs have a "evenodds.wav" file so I'm not sure why the female NPC does not.

The easiest solution right now is to comment it out, however the npc_combine.cpp file appears to be a sort of base class or definition for NPCs, I think by commenting out the line it prevents any NPC from using that emote.

schroe2a commented 11 years ago

The problem with commenting out the line is that none of the rebels will talk at that point, which would kinda remove a bit of character from them. I'd be interested in seeing if we can put an "evenodds" file in, even if we copy some other line said in the female voice that makes sense. we do not want to try to edit the .vpk from valve, but we could put a file in the right folder structure under the game folder such that it would be found there. The game folder is part of the search path, so if you put a file in the right path it will be found.

JacobSimmons commented 11 years ago

Per conversation with Andy: "if you create a 'sound\vo\npc\female01\evenodds.wav' in the game directory it will find it and use it"

I used the suggested letsgo2.wav file as a replacement, placed file here after renaming it to evenodds.wav: C:\Projects\GitHub\DotaSource2\mp\game\mod_hl2mp\sound\vo\npc\female01\

This appears to have fixed the issue.