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

AMX Precache


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Sanji
Member
Join Date: Mar 2004
Old 03-23-2004 , 04:55   AMX Precache
Reply With Quote #1

Well this is a little plguin to precache files. usefull for svencoop to precache monsters and use it with entmod or my entity plugin (not released yet)

Install:
make this folder tree: addons/amxx/precache/
make a file named default.pre (addons/amxx/precache/default.pre)
make s file for every map (addons/amxx/precache/<mapname.pre>)

Commands to use in the files:
Code:
precache_model <modelfile>	(example: models/islave.mdl)
precache_sound <soundfile>	(example: ambience/alien_beacon.wav)
precache_generic <file>		(example: mp3/yeah.mp3)
precache_class <classname>	(example: monster_alien_slave)
load_file <filename>			(example: addons/amxx/precache/test.pre)
have fun
Attached Files
File Type: sma Get Plugin or Get Source (precache.sma - 4102 views - 2.6 KB)
Sanji is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 03-23-2004 , 05:07  
Reply With Quote #2

May I suggest you place the "Sven Coop" in the modifcation bar on the plugin?
__________________

BigBaller is offline
Sanji
Member
Join Date: Mar 2004
Old 03-23-2004 , 05:15  
Reply With Quote #3

hmm no, you can use it in any mod. svencoop is just an example
Sanji is offline
[RED-Designs]
Senior Member
Join Date: Mar 2004
Location: .us
Old 03-23-2004 , 10:59  
Reply With Quote #4

Quote:
Originally Posted by Sanji
hmm no, you can use it in any mod. svencoop is just an example
Well, you still need to give it a category.
__________________
.My personal Blog
."If the country were open on its borders, new
forms would certainly immigrate, and this also
would seriously disturb the relations of some
of the former inhabitants." - Charles Darwin
[RED-Designs] is offline
Send a message via AIM to [RED-Designs] Send a message via MSN to [RED-Designs] Send a message via Yahoo to [RED-Designs]
Sanji
Member
Join Date: Mar 2004
Old 03-23-2004 , 11:44  
Reply With Quote #5

ok done
Sanji is offline
[RED-Designs]
Senior Member
Join Date: Mar 2004
Location: .us
Old 03-23-2004 , 13:41  
Reply With Quote #6

Quote:
Originally Posted by Sanji
ok done
Thank you, now only if I could approve this myself
__________________
.My personal Blog
."If the country were open on its borders, new
forms would certainly immigrate, and this also
would seriously disturb the relations of some
of the former inhabitants." - Charles Darwin
[RED-Designs] is offline
Send a message via AIM to [RED-Designs] Send a message via MSN to [RED-Designs] Send a message via Yahoo to [RED-Designs]
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-23-2004 , 13:55   umm I
Reply With Quote #7

I catually like this one from CS it is really cool because Sovles my precacheing problems..
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
Mr. Satan
Senior Member
Join Date: Apr 2004
Location: Fort Wayne, Indiana
Old 04-21-2004 , 22:08  
Reply With Quote #8

Just making sure, if I edit the paths in the plugin and compile it for AMX Mod, would it work>
Mr. Satan is offline
Send a message via AIM to Mr. Satan Send a message via MSN to Mr. Satan Send a message via Yahoo to Mr. Satan
John Stamos
Junior Member
Join Date: May 2004
Old 05-05-2004 , 00:34  
Reply With Quote #9

My only suggestion would be make it so you can precache a whole folder full of model files.
John Stamos is offline
Send a message via AIM to John Stamos
John Stamos
Junior Member
Join Date: May 2004
Old 05-05-2004 , 00:48  
Reply With Quote #10

My only suggestion would be make it so you can precache a whole folder full of model files.
John Stamos is offline
Send a message via AIM to John Stamos
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 12:49.


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