AMX Lights Plugin ================= by Rattler http://forums.alliedmods.net/member.php?u=1490 http://forums.alliedmods.net/showthread.php?t=3395 Description ----------- This AMX plugin allows administrators with ADMIN_CVAR access to change a map's enviromental ambient lighting and brightness. Windows Shortcut ---------------- "C:\Games\Steam\SteamApps\\Counter-Strike\HL.exe" -dll Addons\MetaMod\Dlls\MetaMod.dll "C:\Games\Steam\SteamApps\\Condition Zero\HL.exe" -dll Addons\MetaMod\Dlls\MetaMod.dll "C:\Games\Steam\SteamApps\\Day of Defeat\HL.exe" -dll Addons\MetaMod\Dlls\MetaMod.dll AMXModX "Plugins.ini" Configuration ----------------------------------- Addons\AMXModX\Configs\Plugins.ini AMX_Lights.amxx MetaMod "Plugins.ini" Configuration ----------------------------------- Addons\MetaMod\Plugins.ini win32 Addons/AMXModX/Dlls/AMXModX_MM.dll MetaMod "Config.ini" Configuration ---------------------------------- Addons\MetaMod\Config.ini gamedll DLLs/WeedsBot.dll gamedll SturmBot/DLLs/Sturm_Bot.dll Console Commands and CVars -------------------------- amx_lights Sets the lighting level: "a" - Darkest. "z" - Brightest. "1" - Maximum brightness. "amzm" - Cycle lightning through levels "amzm" (strobe light effect). "off" - Returns the lighting level to the normal brightness (map defaults). Note that lighting changes continue to take effect until the console command "amx_lights off" is issued. If you don't like this behavior, add "amx_lights off" to your "AMXX.cfg" configuration file. Requirements ------------ The following AMX modules are required: AMXModX.inc Engine.inc AMXMisc.inc Change Log ---------- v1.4 - Recompiled by Rich „Weeds„ Nagel using http://www.dodplugins.net/forums/cmps_index.php?page=compiler. v1.3 - Bug Fix: Lighting levels were not constant throughout map changes and new-player connections (the lighting level is now stored in the "Vault.ini" configuration file). v1.2 - Addition - Added administrators check. v1.1 - Addition: Added "off" (and "OFF") console commands. v1.0 - First release.