AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   UnPrecache Terrorist Models (https://forums.alliedmods.net/showthread.php?t=64571)

hlstriker 12-18-2007 14:47

UnPrecache Terrorist Models
 
Is it possible to UNprecache the terrorist models? The mod I'm working on doesn't allow the terrorist team and I would like to free some precache space because some maps are crashing the server due to the 512 limit.

I searched and found this thread...
http://forums.alliedmods.net/showthr...ght=unprecache

... but is that for map models only?

EDIT:
I think I'm pretty stupid.

I could just use FM_PrecacheModel and block it from ever precaching there, right?

EDIT 2: I tried the FM_PrecacheModel and it didn't work.

KadiR 12-24-2009 12:01

Re: UnPrecache Terrorist Models
 
bump, I would like to know this also :wink:

Spunky 12-24-2009 13:23

Re: UnPrecache Terrorist Models
 
No, once a model is precached, that's it. It's precached. As far as I know you can't stop base resources from precaching.

Owyn 12-24-2009 13:32

Re: UnPrecache Terrorist Models
 
search for Suzuka's threads, or just unprecacher

KadiR 12-24-2009 13:50

Re: UnPrecache Terrorist Models
 
Quote:

Originally Posted by Owyn (Post 1029821)
search for Suzuka's threads, or just unprecacher

Why can't you read the 1. post which hlstriker posted?

@ spunky:

thanks for the info! :wink:

Arkshine 12-24-2009 14:05

Re: UnPrecache Terrorist Models
 
You can avoid to precache weapon models with FM_PrecacheModel, so it should be possible to do the same thing with player model.

KadiR 12-24-2009 14:25

Re: UnPrecache Terrorist Models
 
Quote:

Originally Posted by hlstriker (Post 564635)

EDIT 2: I tried the FM_PrecacheModel and it didn't work.

?

Drak 12-24-2009 15:16

Re: UnPrecache Terrorist Models
 
How are you doing it? Are you returning "FMRES_SUPERCEDE"?
I use this and works just fine.

Code:
if(equali(szModel,"models/player/gordon/gordon.mdl")) {     forward_return(FMV_STRING,"models/pellet.mdl");     return FMRES_SUPERCEDE }
Just change "pellet.mdl" to something that's already precached.

Owyn 04-28-2011 17:33

Re: UnPrecache Terrorist Models
 
Quote:

forward_return(FMV_STRING,"models/pellet.mdl");
does this line really do anything?

Exolent[jNr] 04-28-2011 17:36

Re: UnPrecache Terrorist Models
 
Quote:

Originally Posted by Owyn (Post 1459772)
does this line really do anything?

It returns the string of a model that is already precached.


All times are GMT -4. The time now is 11:08.

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