The PrepareModel stock seems to have issues adding the sw.vtx, .vvd, dx80.vtx, dx90.vtx, and .phy files correctly to the downloads table, despite the fact that the files DO exist on the server (otherwise it wouldn't be adding the .mdl files to the downloads table).
VSH 1.53 from Github.
#define ThiefModel "models/bbg_vsh/thief.mdl"
PrepareModel(ThiefModel);
Edit: added a few lines, and this is the result:
Code:
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .phy file 'models/player/saxton_hale/saxton_hale.phy'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/saxton_hale.phy
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .sw.vtx file 'models/player/saxton_hale/saxton_hale.sw.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/saxton_hale.sw.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .vvd file 'models/player/saxton_hale/saxton_hale.vvd'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/saxton_hale.vvd
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx80.vtx file 'models/player/saxton_hale/saxton_hale.dx80.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/saxton_hale.dx80.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx90.vtx file 'models/player/saxton_hale/saxton_hale.dx90.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/saxton_hale.dx90.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .phy file 'models/player/saxton_hale/cbs_v4.phy'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/cbs_v4.phy
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .sw.vtx file 'models/player/saxton_hale/cbs_v4.sw.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/cbs_v4.sw.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .vvd file 'models/player/saxton_hale/cbs_v4.vvd'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/cbs_v4.vvd
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx80.vtx file 'models/player/saxton_hale/cbs_v4.dx80.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/cbs_v4.dx80.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx90.vtx file 'models/player/saxton_hale/cbs_v4.dx90.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/cbs_v4.dx90.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .phy file 'models/player/saxton_hale/hhh_jr_mk3.phy'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/hhh_jr_mk3.phy
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .sw.vtx file 'models/player/saxton_hale/hhh_jr_mk3.sw.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/hhh_jr_mk3.sw.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .vvd file 'models/player/saxton_hale/hhh_jr_mk3.vvd'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/hhh_jr_mk3.vvd
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx80.vtx file 'models/player/saxton_hale/hhh_jr_mk3.dx80.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/hhh_jr_mk3.dx80.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx90.vtx file 'models/player/saxton_hale/hhh_jr_mk3.dx90.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/hhh_jr_mk3.dx90.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .phy file 'models/player/saxton_hale/vagineer_v134.phy'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/vagineer_v134.phy
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .sw.vtx file 'models/player/saxton_hale/vagineer_v134.sw.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/vagineer_v134.sw.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .vvd file 'models/player/saxton_hale/vagineer_v134.vvd'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/vagineer_v134.vvd
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx80.vtx file 'models/player/saxton_hale/vagineer_v134.dx80.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/vagineer_v134.dx80.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx90.vtx file 'models/player/saxton_hale/vagineer_v134.dx90.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/vagineer_v134.dx90.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .phy file 'models/player/saxton_hale/easter_demo.phy'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/easter_demo.phy
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .sw.vtx file 'models/player/saxton_hale/easter_demo.sw.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/easter_demo.sw.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .vvd file 'models/player/saxton_hale/easter_demo.vvd'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/easter_demo.vvd
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx80.vtx file 'models/player/saxton_hale/easter_demo.dx80.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/easter_demo.dx80.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx90.vtx file 'models/player/saxton_hale/easter_demo.dx90.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/easter_demo.dx90.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .phy file 'models/player/saxton_hale/w_easteregg.phy'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/player/saxton_hale/w_easteregg.phy
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .sw.vtx file 'models/player/saxton_hale/w_easteregg.sw.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx80.vtx file 'models/player/saxton_hale/w_easteregg.dx80.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .phy file 'models/bbg_vsh/shrek.phy'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .sw.vtx file 'models/bbg_vsh/shrek.sw.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/bbg_vsh/shrek.vvd
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .phy file 'models/bbg_vsh/thief.phy'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/bbg_vsh/thief.sw.vtx
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Attempting to download .dx80.vtx file 'models/bbg_vsh/thief.dx80.vtx'
L 07/15/2015 - 02:52:06: [saxtonhale.smx] Could not find file models/bbg_vsh/thief.dx80.vtx
Bypassing the FileExists checks gets these files to download correctly (again, since they
DO exist serverside and on FastDL)
__________________