July 31, 2010, 12:00:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?  You can also Connect with Facebook
News:
 

Pages: [1]   Go Down
Print
Author Topic: Uploading custom sounds/music and vpk addons to connecting clients/players  (Read 1484 times)
0 Members and 1 Guest are viewing this topic.
Knappy
The Composer
Junior Global Moderator
Master Gunner
***

Karma: +5/-0
Offline Offline

Posts: 129
Referrals: 0


knappym
WWW facebook
« on: February 13, 2010, 04:04:31 AM »

THE EASY WAY...Make your own .vpk addon!
Download L4D2 Authoring Tools: http://download33.mediafire.com/cidjjbbkmttg/2lyldknykln/L4D2_Authoring_Tools_feb5.exe

Watch this YouTube video tutorial on how to create your own .vpk addons:
Left 4 Dead .vpk tutorial (How to make your custom maps .vpk's)powered by Aeva



I'm assuming you want to have players connecting to your server download the content you have on your dedicated server with good speed and reliability = "webhost" or "ftp server"

If you don't have the money for a server, watch this YouTube Tutorial on how to get 1GB ftp space FREE
how to: get a free domain name and hostingpowered by Aeva

(I picked this one because the kid doesn't sound like an idiot)

After you've got your 'ftp host' setup, go ahead and download  Filezilla, the 'Firefox' of ftp transfer applications:http://filezilla-project.org/download.php?type=client

REMEMBER YOUR IP, USERNAME & PASSWORD. Write it down or save it as a server in FileZilla for quick access.

Now lets get your server configured to force connecting clients to download addons or specific files

If you haven't already installed sourcemod, you need to  rolleyes: http://www.sourcemod.net/dl.php?file_id=614&mirror_id=5
Extract the contents of 'sourcemod' to your addons folder (C:\SRCDS\left4dead2\left4dead2\addons)

You will need this sourcemod plugin:  SM File/Folder Downloader and Precacher - Info -Direct Download

Extract the contents of the  SM File/Folder Downloader and Precacher to to your addons folder (C:\SRCDS\left4dead2\left4dead2\addons)

Remember to overwrite any existing files should there be any!

Now this is where it can be tricky:

Open this .txt in notepad: http://forums.alliedmods.net/attachment.php?attachmentid=25890&d=1208693958
You will use this 'downloads example' file as a reference to making your own.

For this tutorial we will use a standard mp3 to replace the Midnight Riders finale music with "I'm on a Boat!"
[/color][/b][/u][/size]

Gather all the files you want the connecting player to download upon connecting to the server.

Change the name of the mp3 to whatever is relevant to the sound you are trying to replace, for the Midnight Riders Concert, we will change the mp3 to "midnightriders.mp3"

You have to know where the sound files are so that you can replace them without corrupting other entities sounds:

Finale Music (Midnight Riders Concert);
sounds/music/flu/concert/midnightride.wav

your download.ini
sounds/music/flu/concert/midnightriders.mp3
~
or wav if you like. I'm still not quite to sure what the audio compatibility is with L4D2
~
sounds/music/flu/concert/midnightriders.mp3



Now you will need to upload the files to the 'ftp' or 'webhost' you got from the YouTube video.
Connect to your 'ftp' through FileZilla and recreate the file directory for the custom audio (create all the folders inside another folder to keep the directory link the same):

left4dead2/sound/music/flu/concert/midnightriders.mp3

The same setup goes for models and maps:
left4dead2/materials/models/v_models/eq_molotov/v_eq_molotov_bottla.vtf-
left4dead2/materials/models/v_models/v_eq_molotov_bottla.vtf.bz2

PAY ATTENTION TO THE V/W_MODELS FOLDERS, THERE IS A DIFFERENCE!
left4dead2/materials/models/w_models/eq_medkit/w_eq_medkit.vtf

Just refer to the "download example" txt file that is included with the SM File/Folder Downloader and Precacher!

This is where people were having trouble-----> sv_downloadurl


Register for an account at http://www.e-frag.co.uk/register.php


Follow the instructions after you register at e-frag, or the 'sv_downloadurl' site.

After completing the steps, you are sent an email with the proper downloadurl to use to download from your 'ftp host'

Example:
sv_downloadurl "http://svdownload.e-frag.co.uk/users/Knappy/left4dead2"

Remember how those files in the downloads.ini started with sounds? This is where e-frag tells it where to start, so make SURE YOUR FILES ARE IN THE CORRESPONDING PLACES WITH YOUR SERVER!
DON'T FORGET TO UPLOAD YOUR ADDON TO YOUR FTP HOST!
« Last Edit: February 18, 2010, 04:18:16 PM by satannuts » Logged

satannuts
Administrator
Admiral
******

Karma: +475/-42
Offline Offline

Location: USA
Posts: 1199
Referrals: 0


satannuts
WWW
« Reply #1 on: February 13, 2010, 09:18:13 AM »

Hey man. Nice work on this one and the motd post...

Logged

Knappy
The Composer
Junior Global Moderator
Master Gunner
***

Karma: +5/-0
Offline Offline

Posts: 129
Referrals: 0


knappym
WWW facebook
« Reply #2 on: February 13, 2010, 06:47:29 PM »

No problem, I will soon upload a 'clean" torrent of the server for others to config.
Logged

satannuts
Administrator
Admiral
******

Karma: +475/-42
Offline Offline

Location: USA
Posts: 1199
Referrals: 0


satannuts
WWW
« Reply #3 on: February 14, 2010, 01:08:12 AM »

No problem, I will soon upload a 'clean" torrent of the server for others to config.

ooo... scary...lol
Logged

Knappy
The Composer
Junior Global Moderator
Master Gunner
***

Karma: +5/-0
Offline Offline

Posts: 129
Referrals: 0


knappym
WWW facebook
« Reply #4 on: February 14, 2010, 04:23:02 PM »

Me trying to upload a torrent for a server = to me being to finally

not to mention the already forseen and never-ending questions from the

Thus the torrent idea is scratched.
Logged

ERADEEJAY
Mate
*

Karma: +2/-0
Offline Offline

Posts: 30
Referrals: 0


« Reply #5 on: February 16, 2010, 05:47:02 PM »

mhmmmm... Sorry.... a question....

This can be do it for custom maps too??
Logged
Knappy
The Composer
Junior Global Moderator
Master Gunner
***

Karma: +5/-0
Offline Offline

Posts: 129
Referrals: 0


knappym
WWW facebook
« Reply #6 on: February 17, 2010, 12:09:50 AM »

I would assume so, but custom maps are generally applied via .vpk addon format. Pack your own maybe?
Logged

ERADEEJAY
Mate
*

Karma: +2/-0
Offline Offline

Posts: 30
Referrals: 0


« Reply #7 on: February 17, 2010, 11:58:38 AM »

There are some in just vpk. And some in BSP, NAV (maps folther) and VPK (addons folder) but unfortunately it would be uncompressed.

I will try with just vpk`s custom maps.

Thanks...
Logged
Knappy
The Composer
Junior Global Moderator
Master Gunner
***

Karma: +5/-0
Offline Offline

Posts: 129
Referrals: 0


knappym
WWW facebook
« Reply #8 on: February 17, 2010, 03:43:56 PM »

if you're uploading custom sounds, I would at least compress them with 7zip to .bz2 format. I.E. "midnightride.wav.bz2"

Just for reference.
Logged

ERADEEJAY
Mate
*

Karma: +2/-0
Offline Offline

Posts: 30
Referrals: 0


« Reply #9 on: February 18, 2010, 09:16:41 AM »

Hy! Knappy

What do you think about this plug-in?

SM File/Folder Downloader and Precacher
http://forums.alliedmods.net/showthread.php?t=69005

Logged
satannuts
Administrator
Admiral
******

Karma: +475/-42
Offline Offline

Location: USA
Posts: 1199
Referrals: 0


satannuts
WWW
« Reply #10 on: February 18, 2010, 04:13:52 PM »

Hy! Knappy

What do you think about this plug-in?

SM File/Folder Downloader and Precacher
http://forums.alliedmods.net/showthread.php?t=69005




That's the plugin in the OP. I'll add that link to the OP for future reference.
Logged

ERADEEJAY
Mate
*

Karma: +2/-0
Offline Offline

Posts: 30
Referrals: 0


« Reply #11 on: March 09, 2010, 04:21:31 PM »

Thanks for the guide, I was a little confused to where to upload the files. Tongue
I uploaded to e-frag because is faster and supports svdownload.
Now I have a custom home server with No Mercy Mod v7.  Was a little difficult to setup, but is working great!.
The only fault is the black screen, is like if the game wants to show a downloading status screen, but you know valve don`t want to release a version that supports custom downloads, angry so that screen doesn´t exist.
But if you popup the console in that black screen you can see the download progress.
Logged
Knappy
The Composer
Junior Global Moderator
Master Gunner
***

Karma: +5/-0
Offline Offline

Posts: 129
Referrals: 0


knappym
WWW facebook
« Reply #12 on: March 10, 2010, 03:35:35 PM »

I have the same problem. For any files over 4-5mb I post an ad in the motd as an option for the players to download on their own accord. I use the svurl for sound files and small addons that take a few seconds to download:

http://svdownload.e-frag.co.uk/users/Knappy/offgamemotd/motdOG.html
Logged

psycho99
Powder Monkey
*

Karma: +0/-0
Offline Offline

Location: Carthago-tunisia
Posts: 13
Referrals: 0


haha


« Reply #13 on: June 17, 2010, 04:08:21 PM »

hey guys Smiley ,i have a problem with the "addon support"... i think i didn't get it- how to install the whole thing,first install the L4D2 Addon Support,then L4D2_Addon_Support_Update_jan12,and i copied l4d1onl4d2_addon_support_v2-6 in the addons folder... to play some ov l4d1 original maps ,after that i went to extra add-ons in game to install it and it says: add on support required,i think i did somthing wrong i cant figure it out :O;. thank you and sorry if im so dumb Cheesy
Logged
irogue
Junior Global Moderator
Quarter Master
***

Karma: +14/-1
Offline Offline

Location: The Abyss
Posts: 378
Referrals: 0


C= 64 [AUS]


« Reply #14 on: June 17, 2010, 05:54:28 PM »

hey guys Smiley ,i have a problem with the "addon support"... i think i didn't get it- how to install the whole thing,first install the L4D2 Addon Support,then L4D2_Addon_Support_Update_jan12,and i copied l4d1onl4d2_addon_support_v2-6 in the addons folder... to play some ov l4d1 original maps ,after that i went to extra add-ons in game to install it and it says: add on support required,i think i did somthing wrong i cant figure it out :O;. thank you and sorry if im so dumb Cheesy


Wrong topic section for post please go here: http://www.epcgaming.com/smf/index.php/board,752.0.html  and repost your question there, otherwise this topic will be off topic very soon.

If not the post will be removed man. Thanks.
Logged
psycho99
Powder Monkey
*

Karma: +0/-0
Offline Offline

Location: Carthago-tunisia
Posts: 13
Referrals: 0


haha


« Reply #15 on: June 17, 2010, 06:59:28 PM »

Wrong topic section for post please go here: http://www.epcgaming.com/smf/index.php/board,752.0.html  and repost your question there, otherwise this topic will be off topic very soon.

If not the post will be removed man. Thanks.



ok Smiley Smiley
Logged
Pages: [1]   Go Up
Print
Jump to: