Script Packs are a feature of EventScripts that allows users to take advantage of script mods with minimal coding or editing of CFG files. this thread provides instructions on how to install and use them -- this is basic installation. it can also serve as a guide for script pack writers to establish a standard of design.
since script packs are largely aimed at the most basic level of ES use, i'll start with a reminder to install the two
mattie_eventscripts*.* files into your
cstrike\addons directory. (the EventScripts file download for your platform can be found at
http://mattie.info/cs/)
the following lines should be put into your
cstrike\cfg\autoexec.cfg -- or into a file that is run by your autoexec (putting them in server.cfg is not recommended here for minor reasons).
the order of these lines is important.
Code:
// in or run by autoexec.cfg
// EventScripts Configuration
mattie_eventscripts 1
eventscripts_subdirectory events
eventscripts_register scriptpack1
eventscripts_register scriptpack2
eventscripts_register scriptpack3
Explanation of Variables
mattie_eventscripts 1 - this line turns EventScripts ON (1) and OFF (0)
eventscripts_subdirectory events - this line is optional. it allows you to keep ES files in their own subdirectory, in this case
cstrike\cfg\events. otherwise all the event CFG files would assume to be located in
cstrike\cfg.
eventscripts_register <scriptpack name> - this turns the script pack "on" and should really be the only file editing required for installation of a script pack.
The Downloaded Script Pack
unzip your desired script pack folder into your
eventscripts_subdirectory --
cstrike\cfg\events for example -- or your
cstrike\cfg if you haven't declared one. keep all the contents of the script pack in its own subdirectory of its given name... for instance
cstrike\cfg\events\firebug or
cstrike\cfg\events\big_bang. the name of your script pack subdirectory should match the name in your
eventscripts_register line.
Script Pack Configuration
some script packs will allow you to control certain variables or parameters. these should be clearly identified and explained in the script pack's installation instructions -- be it additional lines for your autoexec or settings in a config file (my preference). ideally these customizations would only be optional.
Ready to GO
restart your server so these new settings take effect. if that's undesireable, you can try executing your autoexec depending on what else it contains. however a server restart is recommended.