• Files for Character Models aren't being forced to download
    2 replies, posted
What the title says. I have about 14 working character models that I'm trying to input into my server, and none of them are being downloaded by the community. I have a few models that do work, but the others don't. - My server has FastDL - The files aren't titled wrong (i.e. uppercase/space) - The lua files are in their respective lua/autorun folders in the /addons folder. - The materials are in their proper place in the /materials folder - The models are in their proper place in the /models folder. Basically, I've concluded that the way that I've written these recent lua files isn't forcing the client to download the files, and I don't know why. Here is the code of a lua file that works: [CODE]if (SERVER) then player_manager.AddValidModel( "Arthas Menethil, The Lich King", "models/player/icklich_king_wow_masked.mdl" ) AddCSLuaFile( "icklich_king_wow_playermodel.lua" ) end list.Set( "PlayerOptionsModel", "Arthas Menethil, The Lich King", "models/player/icklich_king_wow_masked.mdl" ) --// File Generated By Fox-Warrior's Resources Generator Version 2.05 \\-- if (SERVER) then resource.AddFile( "models/player/icklich_king_wow_masked.mdl" ) resource.AddFile( "models/player/icklich_king_wow_masked.dx80.vtx" ) resource.AddFile( "models/player/icklich_king_wow_masked.dx90.vtx" ) resource.AddFile( "models/player/icklich_king_wow_masked.phy" ) resource.AddFile( "models/player/icklich_king_wow_masked.sw.vtx" ) resource.AddFile( "models/player/icklich_king_wow_masked.vvd" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickarthas_sword.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickbeam_eye_left.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickbeam_eye_right.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickfire_blue.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickfire_blue_b.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_1.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_1.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_1exp.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_1n.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_2.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_2.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_2exp.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_2n.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_face.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_head.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_lightwarp.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksmoke_eye.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksmoke_eye_bg.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_detail.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_detail.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_detail_2.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_detail_bg.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_n.vtf" ) end[/CODE] Here is the lua coding of one of the recent, not-working ones: [CODE]if (SERVER) then player_manager.AddValidModel( "Jack of Blades", "models/blades_player.mdl" ) AddCSLuaFile( "blades_player.lua" ) end list.Set( "PlayerOptionsModel", "Jack of Blades", "models/blades_player.mdl" ) --// File Generated By Fox-Warrior's Resources Generator Version 2.05 \\-- if (SERVER) then resource.AddFile( "models/blades_player.mdl" ) resource.AddFile( "models/blades_player.dx80.vtx" ) resource.AddFile( "models/blades_player.dx90.vtx" ) resource.AddFile( "models/blades_player.phy" ) resource.AddFile( "models/blades_player.sw.vtx" ) resource.AddFile( "models/blades_player.vvd" ) resource.AddFile( "materials/models/player/techknow/blades/armor.vmt" ) resource.AddFile( "materials/models/player/techknow/blades/blade.vtf" ) resource.AddFile( "materials/models/player/techknow/blades/blade_n.vtf" ) resource.AddFile( "materials/models/player/techknow/blades/cape.vmt" ) resource.AddFile( "materials/models/player/techknow/blades/cape.vtf" ) resource.AddFile( "materials/models/player/techknow/blades/cape_n.vtf" ) resource.AddFile( "materials/models/player/techknow/blades/cloths.vmt" ) resource.AddFile( "materials/models/player/techknow/blades/face.vmt" ) resource.AddFile( "materials/models/player/techknow/blades/leather.vmt" ) end[/CODE] Any ideas?
[QUOTE=Shazare;42399846]What the title says. I have about 14 working character models that I'm trying to input into my server, and none of them are being downloaded by the community. I have a few models that do work, but the others don't. - My server has FastDL - The files aren't titled wrong (i.e. uppercase/space) - The lua files are in their respective lua/autorun folders in the /addons folder. - The materials are in their proper place in the /materials folder - The models are in their proper place in the /models folder. Basically, I've concluded that the way that I've written these recent lua files isn't forcing the client to download the files, and I don't know why. Here is the code of a lua file that works: [CODE]if (SERVER) then player_manager.AddValidModel( "Arthas Menethil, The Lich King", "models/player/icklich_king_wow_masked.mdl" ) AddCSLuaFile( "icklich_king_wow_playermodel.lua" ) end list.Set( "PlayerOptionsModel", "Arthas Menethil, The Lich King", "models/player/icklich_king_wow_masked.mdl" ) --// File Generated By Fox-Warrior's Resources Generator Version 2.05 \\-- if (SERVER) then resource.AddFile( "models/player/icklich_king_wow_masked.mdl" ) resource.AddFile( "models/player/icklich_king_wow_masked.dx80.vtx" ) resource.AddFile( "models/player/icklich_king_wow_masked.dx90.vtx" ) resource.AddFile( "models/player/icklich_king_wow_masked.phy" ) resource.AddFile( "models/player/icklich_king_wow_masked.sw.vtx" ) resource.AddFile( "models/player/icklich_king_wow_masked.vvd" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickarthas_sword.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickbeam_eye_left.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickbeam_eye_right.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickfire_blue.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/ickfire_blue_b.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_1.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_1.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_1exp.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_1n.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_2.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_2.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_2exp.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_2n.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_face.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_head.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icklich_king_lightwarp.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksmoke_eye.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksmoke_eye_bg.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_detail.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_detail.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_detail_2.vmt" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_detail_bg.vtf" ) resource.AddFile( "materials/models/maxxy/lich_king_enhanced/icksword_n.vtf" ) end[/CODE] Here is the lua coding of one of the recent, not-working ones: [CODE]if (SERVER) then player_manager.AddValidModel( "Jack of Blades", "models/blades_player.mdl" ) AddCSLuaFile( "blades_player.lua" ) end list.Set( "PlayerOptionsModel", "Jack of Blades", "models/blades_player.mdl" ) --// File Generated By Fox-Warrior's Resources Generator Version 2.05 \\-- if (SERVER) then resource.AddFile( "models/blades_player.mdl" ) resource.AddFile( "models/blades_player.dx80.vtx" ) resource.AddFile( "models/blades_player.dx90.vtx" ) resource.AddFile( "models/blades_player.phy" ) resource.AddFile( "models/blades_player.sw.vtx" ) resource.AddFile( "models/blades_player.vvd" ) resource.AddFile( "materials/models/player/techknow/blades/armor.vmt" ) resource.AddFile( "materials/models/player/techknow/blades/blade.vtf" ) resource.AddFile( "materials/models/player/techknow/blades/blade_n.vtf" ) resource.AddFile( "materials/models/player/techknow/blades/cape.vmt" ) resource.AddFile( "materials/models/player/techknow/blades/cape.vtf" ) resource.AddFile( "materials/models/player/techknow/blades/cape_n.vtf" ) resource.AddFile( "materials/models/player/techknow/blades/cloths.vmt" ) resource.AddFile( "materials/models/player/techknow/blades/face.vmt" ) resource.AddFile( "materials/models/player/techknow/blades/leather.vmt" ) end[/CODE] Any ideas?[/QUOTE] It looks to me like you forgot the models/player/ on the 2nd set of models. This might not be important, but it seems to be the way you did everything else on it.
It's apparently meant to be that way. Unsure. I downloaded the files in that structure, and I didn't want to alter it.
Sorry, you need to Log In to post a reply to this thread.