--
[ Picked text/plain from multipart/alternative ]
PrecacheMaterial is handled in the gameinterface to handle server to client
precaching...this method will not send materials to the client if they don't
have it, but it will register them for use on the server/client
map entities use this for FIELD_MATERIALINDEX
other than that, PrecacheMaterial hardly is used...
basically it's just used for map entities
PrecacheModel is used for game code material & model precaching
On 2/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> I would have thought the difference was obvious, however on investigating
> the console warning:
>
> "Model sprites/redglow1 not found!"
>
> I found that PrecacheModel() is used commonly in the SDK for VMTs.
> Ex:
>
> void CNPC_Stalker::Precache( void )
> {
> PrecacheModel("models/stalker.mdl");
> PrecacheModel("sprites/laser.vmt");
>
> PrecacheModel("sprites/redglow1.vmt");
>
> And the Source SDK wiki says nothing about PrecacheMaterial(). WTF?
>
>
> --
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--
ts2do
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders