Re: [hlcoders] sprites path bad in SDK?
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...nbsp; not always.nbsp; Even my unmodifed copyof srcsdk complains about this missing model.nbsp; It must be optional then, and currently disabled in the srcsdk.nbsp; 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 : hlcoders@list.valvesoftware.com 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?nbsp; Even my unmodifed copy of srcsdk complains about this missing model. -- void CNPC_Stalker::Precache( void ) { nbsp;nbsp; nbsp;PrecacheModel(models/stalker.mdl); nbsp;nbsp; nbsp;PrecacheModel(sprites/laser.vmt);nbsp;nbsp; nbsp; nbsp;nbsp; nbsp;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
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?nbsp; Even my unmodifed copy of srcsdk complains about this missing model. -- void CNPC_Stalker::Precache( void ) { nbsp;nbsp; nbsp;PrecacheModel(models/stalker.mdl); nbsp;nbsp; nbsp;PrecacheModel(sprites/laser.vmt);nbsp;nbsp; nbsp; nbsp;nbsp; nbsp;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
RE: [hlcoders] sprites path bad in SDK?
-- [ Picked text/plain from multipart/alternative ] Uhh...nbsp; not always.nbsp; Even my unmodifed copyof srcsdk complains about this missing model.nbsp; It must be optional then, and currently disabled in the srcsdk.nbsp; 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 : hlcoders@list.valvesoftware.com 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?nbsp; Even my unmodifed copy of srcsdk complains about this missing model. -- void CNPC_Stalker::Precache( void ) { nbsp;nbsp; nbsp;PrecacheModel(models/stalker.mdl); nbsp;nbsp; nbsp;PrecacheModel(sprites/laser.vmt);nbsp;nbsp; nbsp; nbsp;nbsp; nbsp;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