Raised This Month: $ Target: $400
 0% 

precache files


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LordKowen
Member
Join Date: Sep 2009
Location: Spain
Old 09-29-2009 , 12:53   precache files
Reply With Quote #1

First of all, excuse my bad english

I need a method for 'precache' files from my server.

i.e:

When any player join in my server, automatically download generic files (like models, sounds...) in the directory I specify.

I only found a solution in the .res files (in cstrike/maps folder). This method works fine, but I need to make a .res file for each map (i.e: map1.res, map2.res...). It's so hard when I need to add or delete a file.

My question is... exists any generic method for all de_, cs_, etc. maps? (like prefix_de.res or de_prefix.res)... I already tried that with this examples, but does not work.

Or better, is possible to do a .res for all maps types??

Also, I tried to use "prefix_de.cfg" (for all de_ maps) in addons/amxmod/configs/maps folder, but this is only for commands (like cvars).

If exist any method for do this (using .cfg / .ini), I prefer this solution, because this files are always needed, map type does not matter.

If it's possible, I want to do this without plugins.


Please, help me! need backup!

Thanks!
LordKowen is offline
 



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 22:32.


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