Raised This Month: $51 Target: $400
 12% 

5 Good Ideas for L4D2 Custom Guns


Post New Thread Reply   
 
Thread Tools Display Modes
Herokim
Senior Member
Join Date: Mar 2010
Location: In Fag-o-land
Old 05-25-2010 , 16:29   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #11

Quote:
Originally Posted by alexip121093 View Post
L4D2 Server HAVE autodownload function
You sir are blind. I said I NEVER MET server with Auto Download! I didn't say L4D2 DOESNT HAVE AUTO DOWNLOAD!

Learn2Read
Herokim is offline
madroland
Junior Member
Join Date: Dec 2009
Old 05-26-2010 , 20:15   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #12

This seems dead... bump
madroland is offline
miniman
Senior Member
Join Date: Aug 2009
Location: Israel
Old 05-27-2010 , 00:28   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #13

As Scripter I say its not possible because the viewmodel is client sided the weapons code harcoded in the client.dll so its not possible
miniman is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 05-27-2010 , 09:49   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #14

Quote:
Originally Posted by Herokim View Post
You sir are blind. I said I NEVER MET server with Auto Download! I didn't say L4D2 DOESNT HAVE AUTO DOWNLOAD!

Learn2Read
Dont be angry, I think we have some misunderstanding between us.
I just want to tell madroland there are auto download function
Quote:
But I never met l4d2 server that have auto-download.
This sentense just make me feel you think L4D2 do not have auto download function

Last edited by alexip121093; 05-27-2010 at 09:59.
alexip121093 is offline
Send a message via MSN to alexip121093
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 05-27-2010 , 09:53   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #15

Quote:
Originally Posted by Cemisti View Post
Are there any limitations on filetypes or sizes?
No ,limitations on filetypes or sizes. But you need to find a fast web server.
alexip121093 is offline
Send a message via MSN to alexip121093
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 05-27-2010 , 10:06   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #16

Quote:
Originally Posted by DarrenToh View Post
you, my friend, just made modding alot easier for people.
im going to test this out.

edit:doesnt seem to be working
It should work , make sure you have put your file in right place, i have used these code for a long time.
I even use this code to host a L4D2 custom maps download server...

Last edited by alexip121093; 05-27-2010 at 10:12.
alexip121093 is offline
Send a message via MSN to alexip121093
DestructDez1
Junior Member
Join Date: Jan 2011
Old 04-03-2011 , 19:38   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #17

Quote:
Originally Posted by alexip121093 View Post
ALL YOU NEED:

1. pack your models in a vpk


2. Cvars (put it in server.cfg):
sv_downloadurl "" (link of fast download web server, if blank,clients will download files directly from your game server,damn slow)

3. compile this code
Code:
#include <sourcemod>
#include <sdktools>
#include <sdktools_functions>
public Plugin:myinfo =
{
name = "Download",
author = "hihi1210",
description = "player download",
version = "1.0",
url = ""
};
public OnPluginStart()
{
}
 
public OnMapStart()
{
AddFileToDownloadsTable("addons\\a.vpk");  //<====link to the vpk
AddFileToDownloadsTable("addons\\b.vpk");
}
clients need to restart L4D2 to let the custom models work
Sorry to bump this up. I know its old.

Is there any way to display an image to the player as they download instead of the black screen? For example, If i force a new map it will take the player several minutes to download. So instead of a black screen they would see a disclaimer letting them know that they are downloading.
DestructDez1 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-04-2011 , 01:54   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #18

I think not, thats a bug with L4D downloads table, which is why it's not recommended to send large files, as a black screen will make a lot of players think its crashed and they'll leave. The only thing I would recommended is sending small files such as scripts, like "Melee In The Safe Room" plugin uses. Last I knew, the downloads table was broken in L4D2.
__________________
Silvers is offline
chatyak
Senior Member
Join Date: Aug 2011
Old 10-21-2011 , 18:06   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #19

Wait, so I can have people automatically download a file when they try to join my server? Is there a plugin to make this working?

I would like to have a skin for rochelle downloaded when people join - so not everyone has to go and manually download the file.
chatyak is offline
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Old 10-21-2011 , 18:12   Re: 5 Good Ideas for L4D2 Custom Guns
Reply With Quote #20

I dont know if it STILL works but it definitely worked at one point.

Of course, being able to upload ANYTHING in vpk form to the client is an extreme security hole.

But issues:
a) client needs to restart for VPK to be loaded
b) client has no way to prevent VPK from being downloaded
c) server cannot remove files from client, especially on disconnect
AtomicStryker is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode