Files are basically the engine of GameCreate, Files define exactly what will be written to create your server. During server creation, on each startup of the server, all files that are within the Files tab for your server are created by GameCreate at the time the server is started, any existing information in this files on the host will be lost so it is important that if you are going to make changes to any file that it be done within GameCreate.
The files system uses several dependancies, and file changes can be made at several parts within the system. By default, all files are derived from the files made available by the system itself. Domain owners can change what files, add files, remove files etc from either the Game Page, where they want the file changes to effect all servers within a server group, or within the server specific file page, which will only affect files for that specific server.
Its important to add that changing files on a per sever basis is not a good idea, since everytime this is done it reduces the usefulness of the change within GameCreate, and means that it cant be brought across multiple servers without copying the server, which then means that files at a game type level become quickly redundent. This results in the system not being able to efficiently able to cope with changes.
Any changes that you plan on making on a regular basis should be defined as a Property, made a variable, then it becomes a simple configuration option for every server for that game type.
Files are extremely powerful where you wish to define a lot of settings across many files, an example of this is Battlefield 2 which can have upto 10 custom files being generated per server, with use of simple count mechanisms we can define port, BF2CC port, and Demo recording on a per server basis automatically by the system itself.
Options available within the server files page are
Add File - This adds new files to the given server.
Edit File - Allows the editing of a specific file for the given server
Filename - Displays the path which the file will be written to on the host.
Customise File - Allows the changing of the file
Preview File - Allows you to preview the file after it has been created by GameCreate, this is useful for where you have a lot of variables within your config files, to see how they will be rendered can save time in testing.
A file path can exist multiple times within the Server Files list for a game, or game type. This is useful in the instance where you would like multiple different defined settings and would like to select from an available list. Where there are more than one file available with the same File Path all files will be available from the dropdown selection. The file that is viewed in that dropdown is the file that will be used when GameCreate creates the files for the server on server startup.
