Force Downloading Models

I thought it was as simple as resource.AddFile in the gamemodes init.lua, the clients download the file but still see them as errors in-game, however if they download it externally it works fine.

[lua]
resource.AddFile(“models/player/aphaztechs.mdl”)
resource.AddFile(“models/player/aphaztechs.dx80”)
resource.AddFile(“models/player/aphaztechs.dx90”)
resource.AddFile(“models/player/aphaztechs.phy”)
resource.AddFile(“models/player/aphaztechs.sw”)
resource.AddFile(“models/player/aphaztechs.vvd”)

resource.AddFile(“materials/models/ApertureHz/ApHazTechs/Mask.vmt”)
resource.AddFile(“materials/models/ApertureHz/ApHazTechs/Mask.vtf”)
resource.AddFile(“materials/models/ApertureHz/ApHazTechs/U4LabTech_01.vmt”)
resource.AddFile(“materials/models/ApertureHz/ApHazTechs/U4LabTech_01.vtf”)
resource.AddFile(“materials/models/ApertureHz/ApHazTechs/U4LabTech_01_normal.vtf”)
resource.AddFile(“materials/models/ApertureHz/ApHazTechs/U4LabTech_phong.vtf”)
resource.AddFile(“materials/models/ApertureHz/ApHazTechs/U4LabTechHead_01.vmt”)
resource.AddFile(“materials/models/ApertureHz/ApHazTechs/U4LabTechHead_01.vtf”)
resource.AddFile(“materials/models/ApertureHz/ApHazTechs/U4LabTechMask_01_normal.vtf”)
[/lua]

I am aware that adding just the .mdl should add the other model files too, but after it didn’t work I tried this, and it still doesn’t so I thought I’d post here.

If your doing all of them change it to AddSingleFile, are you using FastDL?

I believe so, I shall try with AddSingleFile and disable FastDL.

Put the models onto your fastdl site or they will not be able to download, thats the real fix