This is how I understand how all this works, please correct me if necessary:
Customizations should (not have) to be saved in a custom/xyz directory or into custom/xyz.vpk for both client and server. Downloads from either side are automatically saved into the downloads folder to keep them separate from shipped files. For the client this is sounds, maps etc.; for the server mainly (or only?) spray images that are downloaded from the clients. .vpks can only be mounted by servers but not shipped (or at least clients will not use it correctly), also fastdownload does not understand the .vpk concept which would make this unfeasible even if it worked. You do not need to care about the custom or download file paths internally. All files and .vpks are mounted transparently into the logical game filesystem and override the shipped file if applicable. So when you save awesomemap.bsp into custom/mymaps/maps it internally still has maps/awesomemap.bsp as the file path. So for your mods it all remains the same. You can even put all the loose files where they used to be, however it is highly recommended to put them in a custom/mymod folder to keep them separated. Clients will store them in their download folder so they are separate there aswell. Directory structures will probably not be copied from the server and it will just be a large pool of loose files. If you want to ship your mod as a .vpk you could do that outside of the game on your homepage. The users could save that .vpk into their custom directory, any future additional files would be automatically downloaded into the download folder or the .vpk would have to be updated manually. On Wed, May 8, 2013 at 5:36 AM, CTScrivener <ctscrive...@gmail.com> wrote: > I thought I had the /custom directory figured out but I guess not. Why > do players technically have a /custom folder as well as a /download folder? > > Our server uses a fastdl server to get files to client quicker and I need > to figure out the file structure so custom files and folders are read > properly by the game. Frankly, the /custom folder is pointless from what I > can tell because the TF2 game atleast downloads all files to the /download > folder THEN to respective folder such as custom, models, materials, etc. > > Is the /custom directory ONLY used if you are distributing > mods/models/custom files via direct file download OUTSIDE of the game > client? > > Do I need to change all my plugins so they are directly pointing into > players’ /download folder? > > Granted, all my files and custom vpks are downloading just fine, but just > to a directory that even the readme.txt file says, “can be deleted at any > time”. > > Horribly worded but here is exactly what I am trying to do: > > Dodgeball Plugin points to the following file as a custom model: > /materials/models/dodgeball_nuke/nuke.mdl > > I have a vpk built around the following directory within the custom folder > (which includes all the vmts, mdls, etc.): > dodgeball_nuke/materials/models/dodgeball_nuke/nuke.mdl so my vpk is > dodgeball_nuke.vpk > > I even have the dodgeball_nuke.vpk file uploaded to my fastdl server under > the /custom directory as well as under my game server under the /custom > directory. > > The server downloads the vpk fine but it gets placed under > download/custom/dodgeball_nuke.vpk > > The plugin cannot see that directory so do I need to change the directory > it points to, or is this just a bad way for tf2 to be downloading files? > Did you do this as a way for security so servers couldn’t FORCE > models/skins/etc unto players? > > I am just trying to figure out what exactly I would need to do to get > plugins like this (any plugins like freak fortress, dodgeball, etc that use > custom models) to work with those custom models. > > Long post, probably repeated myself multiple times and I’m > sorry....hopefully someone can help me out as this would effect all custom > models across game servers for everyone. What am I not doing right? > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds