Hello everyone.
I had had this idea a long time ago, but at the time I lacked the skills to make it come true. Now, I finally did it.
This script basically executes all the scripts in the sys/lua/modules directory (and its subdirectories) automatically, as well as adds hooks to functions automatically. You will never have to worry about the pesky dofiles again!
This script has one important DLL dependency - the luafilesystem library. It is included in the archive. Do not worry, it is harmless and will not corrupt your game or computer in any way.
A simple admin module comes in with the script, serving as an example for people who want to write their own modules.
Installation instructions
Copy the archive's contents into your Counter-Strike 2D directory
Specify the path to your game directory in the addonmanager.cfg file (IMPORTANT!)
For now there is only a Windows version because of some troubles with building the library on Linux. If someone wishes to help me do that - be my guest.
There will be no screenshots because no screenshots can describe concisely how this works.
Report any bugs that occur, as well as when they occured and under what circumstances.
edited 1×, last 08.01.12 08:47:28 pm
Approved by Seekay
Download
12 kb, 669 Downloads