Quote:
Originally Posted by Alpho
Very cool!
I am working on a new server project with a custom account login system. Would I potentially be able to use this to download majority of the server's assets to the client upon a successful login? Does the filetype matter? Is fileupdate the best method to download files onto a client for pre-loading?
Thanks!
|
This script was made specifically for default Graal mainfiles, but there's no reason you couldn't do something similar for a server's custom files if you wanted it to work dynamically. Usually on GtA I have pre-loaders setup within levels as the player progresses through the game, which just download the images/ganis/sounds etc for the content they are about to encounter.
fileupdate() perhaps isn't that efficient for mass downloading as it probably sends a request for every single file, but I'm not currently aware of any methods for mass file pre-loading except GUPD. The filetype does not matter so long as it is downloadable by the client and configured within folder config.