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

AMX Precache


Post New Thread Reply   
 
Thread Tools Display Modes
Neo
Member
Join Date: Mar 2004
Old 05-07-2004 , 07:18  
Reply With Quote #11

the problem with that, besides double posting, is that youll have models prechached that arent use.

my suggestion is to make the precache folder custom/precache (get_defaultdir?) something like that
__________________
Quote:
Originally Posted by Johnny got his gun
Valve said SDK should be here within the week, so well, expect our final release on... hm... Tuesday.
Neo is offline
Send a message via AIM to Neo
link2002
Junior Member
Join Date: Apr 2004
Old 06-03-2004 , 18:41  
Reply With Quote #12

i precached the otis class and the otis model for sven co-op, but when i try to create this precached otis this message apeare: "[Ent Mod] Entity not precached"

this is my default.pre:
Quote:
precache_model models/otis.mdl
precache_class monster_otis
this apeare at the console when loading the server:
Quote:
[AMXX]Model ' models/otis.mdl ' precached
[AMXX]Class ' monster_otis ' precached

what i am doing wrong ?
link2002 is offline
Girthesniper
Senior Member
Join Date: Mar 2004
Location: Maryland
Old 06-03-2004 , 20:23  
Reply With Quote #13

Can you make ti load from a .ini file or something. I have having to re-compile a plugin when I want something else precheded. Plus, I have no idea how to use this :-X
__________________
BANNED
Girthesniper is offline
Send a message via AIM to Girthesniper Send a message via MSN to Girthesniper
Auge
New Member
Join Date: Jul 2004
Old 07-28-2004 , 00:16  
Reply With Quote #14

does this work for maps?
Auge is offline
Send a message via AIM to Auge Send a message via MSN to Auge
Omen
New Member
Join Date: Oct 2004
Old 04-05-2005 , 20:07  
Reply With Quote #15

Could this be used with a sv_downloadurl ???
Omen is offline
D_Hawk
Veteran Member
Join Date: Apr 2005
Location: No
Old 06-09-2005 , 19:32  
Reply With Quote #16

Why use the .pre files? Can't you just add it to your amxx.cfg? The plugin and AMXX are both loaded at the same time... and the commands are standard console commands... so what is the significance of the .pre files? You can't tell me it's map specific either, since all you have to do is add a maps folder in your config folder and then add map configs there...

Sorry if I sound a bit hostile, I don't mean to be. I'm just saying it seems like a bit of useless code.
__________________
User has abandoned this account.
D_Hawk is offline
Send a message via ICQ to D_Hawk Send a message via AIM to D_Hawk Send a message via MSN to D_Hawk Send a message via Yahoo to D_Hawk
gregg
Member
Join Date: Feb 2005
Old 06-13-2005 , 12:23  
Reply With Quote #17

is it possible to unprecache models with this plugin?
gregg is offline
Darkhunter3001
New Member
Join Date: Jul 2005
Old 07-31-2005 , 01:20   yo i found out y but... just need to solve it :P
Reply With Quote #18

[AMXX] Plugin uses an unknown function (name "DispatchSpawn") - check your modules.ini. (plugin "precache.amxx")

it says this in console wenever it starts a server....
Darkhunter3001 is offline
Bend3R
Veteran Member
Join Date: Oct 2004
Location: Sweden (Stockholm)
Old 07-31-2005 , 05:18   Re: yo i found out y but... just need to solve it :P
Reply With Quote #19

Quote:
Originally Posted by Darkhunter3001
[AMXX] Plugin uses an unknown function (name "DispatchSpawn") - check your modules.ini. (plugin "precache.amxx")

it says this in console wenever it starts a server....
have you enable Engine Module in "addons/amxmodx/config/modules.ini"
Bend3R is offline
Darkhunter3001
New Member
Join Date: Jul 2005
Old 07-31-2005 , 10:37   mmm i did now but
Reply With Quote #20

k.. tell me wat im doing wrong... first of all i put the amx file in the amxx folder's plugin area... then i went to plugins.ini for amx and puted the line precache.amxx after that i made a folder in the amxx folder called precache and inside i also made this folder called default.pre..... and i put the line
precache_model "models\REvil\hunter.mdl"
precache_model "models\REvil\hunter2.mdl"
after that i started the server and it diddnt say
[AMXX]Model ' models\REvil\hunter.mdl ' precached
[AMXX]Model ' models\REvil\hunter2.mdl ' precached
............... i forgot to meansion that i made the .pre file with notepad cuz i dont no what other programs i would use to make a pre file......
Darkhunter3001 is offline
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 10:41.


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