tonight I bring you TACTIC Files (These Are CriTICal Files), a simple and useful script that helps you assuring that players get the critical server files from the servertransfer list (chosen by you).
Most of the out there scripts/maps require additional assets (like images, sounds, etc) and if these files are not present, the gameplay gets quite messed up for the player and glitches arrive. A lot of players set their game to not download any additional files from servers or either to only donwload files not bigger than X (Net tab at Options menu). With this script you can choose the most important files on the servertransfer.lst file and force the players to download them.
It might not be as awesome as it sounds but who cares, it works well
Utilization
You just have to write a line in the servertransfer.lst file containing "// TACTICF" and the files bellow that line will be marked as critical. (Logically, when you're done, write a line with "// TACTICFEND"). And that's it! When players with the limited download setting join and miss these files, they're kicked out of the server (by default).
Notes
You can change the behavior of the script when it detects that a player haven't downloaded a critical file by editing the 19th line of the script (have a look at it).
You can also turn on the advanced mode to make the script check wether the players version of the files matches the server ones.
You can also tag specific files by adding " // TACTICF" to the end of their line.
Installation
Just put the script in the sys/lua/autorun directory and you're good to go.
edited 9×, last 03.06.17 05:42:31 pm
Approved by Yates
Download
2 kb, 465 Downloads