Addon Details

Watch - Add Favorite


1 out of 1 users claim this version works for them.
Does this version work for you?
5
w00ts
w00t!2

Custom Script Loader - Version 1.2

posted on 2009-08-30 12:28:51
by scaiyth


Tags: css python

Description

As requested by mrkool723 in eventscripts forums [link] I released this script loader. It works like my [AutoGunGame] does, but this version is a separate loader+unloader without special GunGame adjustments, so you can use it for any script(s).

Features:
  • Which script(s) should be auto-loaded on CSL maps
  • Which script(s) should be auto-unloaded on CSL maps
  • On which maps should the script(s) be (un)loaded (e.g. whole mapnames like "de_dust", prefixes like "cs_" and/or other maps including strings that you define)
  • Which mapnames will be ignored by CSL (see config file for more information)
  • Some config file that will be executed on mapstart on CSL maps
  • Some config file that will be executed once when returning to non-CSL maps
  • Should the auto-loaded and auto-unloaded scripts be revoked on non-CSL maps

Default configuration happens in cstrike/addons/eventscripts/csl/config.cfg. You can also change options temporarily (until server restart or reloading of the script) through console.

Installation

Method 1

For automatic installing & loading of the script, just type the following in your server console or with rcon:
Code:
es_install csl autoload

After that, either type the following or restart your server
Code:
es_load csl


For automatic installing without auto-loading, type this:
Code:
es_install csl

Configure the Script in addons/eventscripts/csl/config.cfg (to apply changes on server, reload the script, or restart your server)

___________________________________________________________

Method 2
  1. Download the *.zip folder from here
  2. Extract it
  3. Copy the addons folder in your cstrike directory
  4. Open your autorun.cfg in cstrike/cfg (you should have one, otherwise create a blank .txt file and rename it)
  5. Add the line "es_load csl" at the end of the file
  6. Go to cstrike/addons/eventscripts/csl and open the config.cfg if you want to change some settings (self explanatory)

Version Notes For 1.2

Updated on: 2010-02-23 17:49:34 EST by scaiyth (View Zip Contents)
  • added csl_unloadscripts
  • csl_scriptnames and csl_auto_unload renamed to be more appropriate, adapted config
  • reworked function of csl_auto_restore
  • completely rewrote the (un)loading code and optimized it
  • cfgs now get executed even when no csl loadscripts are set


( Previous Versions )