Precacheing only allocates a name slot for model.  It doesn't force it to be
in memory.  The HL engine demand loads model data only when needed.

To further help reduce memory footprint, use $externaltextures (though this
only really helps in software) and use $sequencegroupsize to break the .mdl
file into multiple smaller chunks so that blocks of animation data are also
demand loaded.

http://www.thewavelength.net/oldsite/models/reference/qcscript.html



-----Original Message-----
From: Daniel Koppes
To: [EMAIL PROTECTED]
Sent: 10/12/2002 7:39 AM
Subject: [hlcoders] Lots 'o precaching.

I have a rather big problem.

I need some way to precache ~200 models.... but I cannot think of anyway
to
do this.

I can't guarantee that any of them won't be in a level, but loading all
of
them would be a terrible waste of memory (even  @ 500k per model thats
100mb of ram gone).

All attempts I have made were (mostly) met with that horrible
'Precaching
can only be done in Precache function'

Does anyone have any ideas?

(If this seems vague, I blame it on 4am).

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to