AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Extra Precacher (https://forums.alliedmods.net/showthread.php?t=68303)

Alka 03-13-2008 13:49

Extra Precacher
 
2 Attachment(s)
Extra Precacher

[Description]
  • Some plugins like this already exist, but are unsupported, unfunctional, and so.
  • This plugin basically precache files that are defined in a configuration file, with some advanced func.
  • Multiple file extension support. (Defined in plugin)
  • Multiple file name support. (name.ext, *.ext, *.*)
  • Useful for plugins that don't have source, maps, motd's and so.
  • Individual map configuration support.If config for current map "extra_precacher_mapname.ini" doesn't exist, the default file "extra_precacher.ini" will be loaded.
[Info]
  • You can define the allowed file extensions in source.To add more, just add a "," then the extension ".lol".
Code:

new const gValidExt[] = ".wad,.mdl,.spr,.wav,.mp3";
  • If the file writed in configuration file doesn't exist, won't be precached, to avoid a server warning in console.
  • Extensions :
name.ext - Precache specified file with specified extension.
*.ext - Precache all files from specified path with specified extension.
*.* - Precache all files from specified path.

bmann_420 03-13-2008 14:07

Re: Extra Precacher
 
Looks pretty good :up:

I would make some more examples of the file(s) for some people to have a better understanding tho.

Arvy 03-24-2008 11:00

Re: Extra Precacher
 
very nice !thx

s3r 03-27-2008 10:05

Re: Extra Precacher
 
YES! this is good for plugins that dont support custom sounds...

Arvy 03-28-2008 04:31

Re: Extra Precacher
 
new const gValidExt[] = ".wad,.mdl,.spr,.wav,.mp3,.cfg";

Quote:

;Precache file
;File name format : name.ext, *.ext, *.*
xxx.cfg
xxx.cfg is in cstrike,but after i connect my server can't download the xxx.cfg

anssik 04-01-2008 11:40

Re: Extra Precacher
 
What's wrong with this: http://forums.alliedmods.net/showthread.php?p=228704

YamiKaitou 04-01-2008 11:45

Re: Extra Precacher
 
Quote:

Originally Posted by anssik (Post 605292)

That one uses Engine. That one requires an ini file to work. This one just precaches all based on what you tell it. This one doesn't need an ini file to tell it each individual file to precache. This one is better :P

Battousai-sama 04-08-2008 18:15

Re: Extra Precacher
 
put an exemple ini file preconfigured for 2 normal cs sprites as default so people understands it better.

Alka 04-09-2008 09:29

Re: Extra Precacher
 
@Arvy - .cfg's can't be precached because of some HL reason.
@anssik - This has more options, extension management, can precache all files from a path, map based.
@Battousai-sama - Added a preconfigured precache file.

hleV 04-09-2008 09:42

Re: Extra Precacher
 
I'm gonna use it but first I want to ask something.
  • I've created an extra_precacher.ini file and dropped it into configs folder.
  • In extra_precacher.ini I've writen this:
    Code:
    name1.wad name2.wad name3.wad
So it will work correctly if there are name1.wad, name2.wad and name3.wad files in my cstrike directory?


All times are GMT -4. The time now is 02:43.

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