AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Player chooses if wants to download models (https://forums.alliedmods.net/showthread.php?t=156006)

kotinha 04-29-2011 14:19

Player chooses if wants to download models
 
Hi, I have a plugin that uses 40mb in models (...) and I want to make players download them opcionaly. For example, a player joins the server without downloading the models but when a he writes /dlmodels he reconnects and start downloading the models.

Is this possible? If yes, how?

Or if you have a better idea how to download 40mb of models faster tell me pls...

jimaway 04-29-2011 14:25

Re: Player chooses if wants to download models
 
use fast download

kotinha 04-29-2011 14:33

Re: Player chooses if wants to download models
 
Well, I thought of it but not everybody as good connection and even with fast dl it would still take a while... (or am I wrong? o: )

Groven 04-29-2011 15:03

Re: Player chooses if wants to download models
 
I got fast dl.

If you send me a PM we can discuss the price :)

ProIcons 04-29-2011 15:06

Re: Player chooses if wants to download models
 
With "sv_downloadurl"
It Depends of the Web Server's Upload Speed.

You can upload your files in a web server and set the cvar
sv_downloadurl to the web server's url and path where are the models example

sv_downloadurl "http://www.yoursite.com/path/to/cstrike/"

with this cvar the players will download the maps from the site instantly... not from your game server.

Edit: Groven are you trying to get banned?

kotinha 04-29-2011 15:21

Re: Player chooses if wants to download models
 
So it doesn't matter the client internet speed? :shock:

SonicSonedit 04-29-2011 15:49

Re: Player chooses if wants to download models
 
Quote:

Is this possible?
No. How do you supposse to show any model to him, if he doesn't have it?

kotinha 04-29-2011 15:51

Re: Player chooses if wants to download models
 
Models are supposed to replace gun models, so if the player doesn't have the custom model just show the default one.

ProIcons 04-29-2011 16:04

Re: Player chooses if wants to download models
 
@kotinha Client's Speed of course is has matter
but Counter Strike Download system it is not giving to user max speed. Is limiting the download speed.
With this cvar you can easily download it from a high speed Web Server where you can hit your speed maxes :D

Quote:

Is this possible?
To replace the models of some guns with plugin it is nessesairy [ i don't know how i can spell this word anyway :p ]
to precache all the models... for all the players, you can't except some player from this procedure it is a global function.
plugin_precache()

kotinha 04-29-2011 16:23

Re: Player chooses if wants to download models
 
Quote:

Originally Posted by ProIcons (Post 1460278)
(...) To replace the models of some guns with plugin it is nessesairy [ i don't know how i can spell this word anyway :p ]
to precache all the models... for all the players, you can except some player from this procedure it is a global function.
plugin_precache()

I didn't understand lol

Is it possible or not? :stupid:


All times are GMT -4. The time now is 04:29.

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