• GDCW Sounds Not Downloading through FastDL
    11 replies, posted
Hello, I am having problems getting clients to download the sounds of guns in Generic Default's Weapon packs. I have figured out how to get clients to download all the other files for the guns using [B]resource.AddSingleFile[/B]. I also keep the server files Sync'd up using SourceRSC to put the files into my DropBox public folder, which has worked perfectly. (The reason I do this is because it is free and I'm not going to put money into something if it is not ready to be released yet, so for now I just use SRCDS locally, when it is ready I will rent a server.) Is there some way to make the client download the sounds? Please help! Thanks!
[url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5809.html]Try this page.[/url]
[QUOTE=JVanover;36984511][url=http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index5809.html]Try this page.[/url][/QUOTE] I already did. It says this in the OP: [QUOTE=CoolOppo;36982628]I have figured out how to get clients to download all the other files for the guns using [B]resource.AddSingleFile[/B].[/QUOTE]
[QUOTE=CoolOppo;36984523]It says this in the OP:[/QUOTE] I read your post. You have to add the sounds in the exact same way. I know when we ran GDCW it automatically downloaded the sound files for us, but I can't verify that being stock on them.
[QUOTE=JVanover;36984553]I read your post. You have to add the sounds in the exact same way. I know when we ran GDCW it automatically downloaded the sound files for us, but I can't verify that being stock on them.[/QUOTE] Hmm. Do you mean using resource.AddFile and not resource.AddSingleFile?
As far as I know those do essentially the same thing, but I've never used AddSingleFile because I've only used AddFile & AddDir.
[QUOTE=JVanover;36984781]As far as I know those do essentially the same thing, but I've never used AddSingleFile because I've only used AddFile & AddDir.[/QUOTE] Well, I just tried AddSingleFile and AddFile, and neither of them worked. I used Fox Warrior's resource generator to make the list.
[QUOTE=CoolOppo;36984794]Well, I just tried AddSingleFile and AddFile, and neither of them worked. I used Fox Warrior's resource generator to make the list.[/QUOTE] I wrote my own. My experience with using things like generators, templates, bases, etc has been very poor so I try to do as much as I can by myself. I'd check the SVN to write it for you but I'm on a shitty Internet connection at DEFCON right now so I can't download anything.
AddSingle file only does ONE file. AddFile does more, Like if you put and .mdl in it, it will also add all .vvd, .ani, .dx80.vtx, .dx90.vtx, .sw.vtx, .phy and .jpg files with the same name. Or if you do a .vmt file will automatically add the .vtf with the same name. However for sound you have to make sure that you use the right path. Could you post us the code you used for it?
[QUOTE=John Elam;36986167]AddSingle file only does ONE file. AddFile does more, Like if you put and .mdl in it, it will also add all .vvd, .ani, .dx80.vtx, .dx90.vtx, .sw.vtx, .phy and .jpg files with the same name. Or if you do a .vmt file will automatically add the .vtf with the same name. However for sound you have to make sure that you use the right path. Could you post us the code you used for it?[/QUOTE] Yeah, sure. I actually tried resource.AddFile afterwards, that didn't work either. [url]http://pastebin.com/raw.php?i=1QnQrnxH[/url]
resource.AddFile( "sound/GDC/Revolver/4.wav" ) Delete the spaces between the quotations. resource.AddFile("sound/GDC/Revolver/4.wav") Also, Make sure all capitalazation is the same as it is in the file.
[QUOTE=John Elam;36986207]resource.AddFile( "sound/GDC/Revolver/4.wav" ) Delete the spaces between the quotations. resource.AddFile("sound/GDC/Revolver/4.wav") Also, Make sure all capitalazation is the same as it is in the file.[/QUOTE] Alright, I'll try that and get back to you. Thanks!
Sorry, you need to Log In to post a reply to this thread.