It always does.
You dont need the "models/". Eather he searchs "mdl"'s automatically in
the models folder and "vmt"'s in the materials folder or he searches
always in both, i dont know, both are perfect. Which one is he missing?
I think your
PrecacheModel("models/stalker.mdl");
is wrong because he searches the file in models/models/stalker.mdl but
perhaps you put it there? Never had any problems with precaching.
-archy
[EMAIL PROTECTED] wrote:
--
[ Picked text/plain from multipart/alternative ]
Uhh... not always. "Even my unmodifed copyof srcsdk complains about this missing
model". It must be optional then, and currently disabled in the srcsdk. While I
might find a way to do it, do you happen to know how it *should* be done?
------- Original Message -------
From : Alfred Reynolds[mailto:[EMAIL PROTECTED]
Sent : 2/27/2006 5:31:11 PM
To : [email protected]
Cc :
Subject : RE: [hlcoders] sprites path bad in SDK?
The PrecacheModel() call appends the materials/ directory onto the
filename under the hood.
- Alfred
[EMAIL PROTECTED] wrote:
--
[ Picked text/plain from multipart/alternative ]
Why does srcsdk reference various vmts via "sprites/" when the GCFs
show these to be in "materials/sprites"? Even my unmodifed copy
of srcsdk complains about this missing "model".
--
void CNPC_Stalker::Precache( void )
{
PrecacheModel("models/stalker.mdl");
PrecacheModel("sprites/laser.vmt");
PrecacheModel("sprites/redglow1.vmt");
--
_______________________________________________
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
--
_______________________________________________
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