• Does this look ok for my FastDL Force client download?
    6 replies, posted
Does this look ok for my fastdl to force when client joins? I really want to use FASTDL instead of workshop [code] resource.AddSingleFile( "models/player/archer.mdl" ) resource.AddSingleFile( "models/player/kestrel.mdl" ) resource.AddSingleFile( "materials/models/player/kestrel/emp.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/eyeball_l.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/eyeball_r.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/eyeball_r.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/gloves.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/gloves.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/gloves_n.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/goggles.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/goggles.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/goggles_n.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/iwillorderthesteakplease.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/legs copy.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/legs.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/legs.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/legs_n.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/mask.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/mask.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/mask_n.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/packs.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/packs.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/packs_n.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/pocket.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/pocket.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/retard.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/retard.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/retard_n.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/torso.vmt" ) resource.AddSingleFile( "materials/models/player/kestrel/torso.vtf" ) resource.AddSingleFile( "materials/models/player/kestrel/torso_n.vtf" ) resource.AddSingleFile( "materials/models/player/archer/archer_facemap.vmt" ) resource.AddSingleFile( "materials/models/player/archer/archer_facemap.vtf" ) resource.AddSingleFile( "materials/models/player/archer/archer_facemap_n.vtf" ) resource.AddSingleFile( "materials/models/player/archer/emp.vmt" ) resource.AddSingleFile( "materials/models/player/archer/emp.vtf" ) resource.AddSingleFile( "materials/models/player/archer/emp_n.vtf" ) resource.AddSingleFile( "materials/models/player/archer/eyeball_l.vmt" ) resource.AddSingleFile( "materials/models/player/archer/eyeball_l.vtf" ) resource.AddSingleFile( "materials/models/player/archer/feets.vmt" ) resource.AddSingleFile( "materials/models/player/archer/feets.vtf" ) resource.AddSingleFile( "materials/models/player/archer/feets_n.vtf" ) resource.AddSingleFile( "materials/models/player/archer/gloves.vmt" ) resource.AddSingleFile( "materials/models/player/archer/gloves.vtf" ) resource.AddSingleFile( "materials/models/player/archer/gloves_n.vtf" ) resource.AddSingleFile( "materials/models/player/archer/iwillorderthesteakplease.vmt" ) resource.AddSingleFile( "materials/models/player/archer/iwillorderthesteakplease.vtf" ) resource.AddSingleFile( "materials/models/player/archer/iwillorderthesteakplease_n.vtf" ) resource.AddSingleFile( "materials/models/player/archer/legs.vmt" ) resource.AddSingleFile( "materials/models/player/archer/legs.vtf" ) resource.AddSingleFile( "materials/models/player/archer/legs_n.vtf" ) resource.AddSingleFile( "materials/models/player/archer/mask.vmt" ) resource.AddSingleFile( "materials/models/player/archer/mask.vtf" ) resource.AddSingleFile( "materials/models/player/archer/mask_n.vtf" ) resource.AddSingleFile( "materials/models/player/archer/pupil.vtf" ) resource.AddSingleFile( "materials/models/player/archer/torso.vmt" ) resource.AddSingleFile( "materials/models/player/archer/torso.vtf" ) resource.AddSingleFile( "materials/models/player/archer/torso_n.vtf" ) resource.AddSingleFile( "models/batman/slow/jamis/mkvsdcu/batman/slow_pub_v2.mdl" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman.vmt" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman.vtf" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman_belt.vmt" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman_blades.vmt" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman_bump.vtf" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman_exp.vtf" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman_eyes.vmt" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman_latex.vmt" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman_pockets.vmt" ) resource.AddSingleFile( "materials/models/batman/slow/jamis/mkvsdcu/batman/slow_batman_skin.vmt" ) resource.AddSingleFile( "models/player/nookyava/nookz.mdl" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_belts.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_boots.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_boots.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_boots_bump.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_brass.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_brooch.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_brooch.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_brooch_bump.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_coat.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_coat.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_coat_2.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_coat_2.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_coat_2_bump.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_coat_bump.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_eyes.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_eyes.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_eyes_bump.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_eyes_shader.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_eyes_shader_spec.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_gloves.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_gloves.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_gloves_bump.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_hair.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_hair.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_hair_alpha.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_hair_bump.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_head.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_head.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_head_bump.vtf" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_lashes.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_pants.vmt" ) resource.AddSingleFile( "materials/models/player/nookyava/slow_pants
Um... depending on how big those files are you might have a issue. Well not you per say but people joining might get super mad if it is taking a long time. That looks like a lot of stuff that could be bzipped for easier download times.
i just used that resource gen
Why would you use resource.AddSingleFile? resource.AddFile takes way less room and is more reliable.
Ok its just the way it generated. I will change. But do them files look ok
Yes, it's just horribly inefficient
In case you want to know WHY it's better, AddFile adds all files with the name (different extensions like .vtf .vmt etc) AddSingleFile only the file you tell it. [editline]3rd December 2013[/editline] [url]http://wiki.garrysmod.com/page/resource/AddFile[/url]
Sorry, you need to Log In to post a reply to this thread.