Blinded - By Texnux, version 1.2, updated 04-11-2008
Description
With this plugin each flashbang damages the victim(s) vision and can make them completly blind until death or round end.
Cvars
Blind_color 000000000 - The color of the hud (which is what the players can see when they become more blind. rrrgggbbb, must be between 0 and 255.
Blind_max 255 - The max amount a player can get blind to, 0 = perfect sight, 255 = completly blind.
Blind_times 3 - How many times a player need to be flashed to be completly blinded.
Blind_messages 0 - 1, tells the condition of your vision when it changes. 0, does not show any messages at all. More realistic.
Blind_flash 1 - 1 means that the flash is the same color as the blind color.
To turn the plugin off set blind_max to zero.
Module
Hamsandwich - for all possible death situations
Credits
Arkshine - Explanation of register_message and some optimization I didn't thoug about or didn't use.
Connorr - Explanation of register_message and why/when its called.
NOTE: ML file is added now!
Changelog
Code:
Version 1.0:
- Initial release
Version 1.1:
- Colors are called 50% less
- New cvar: blind_flash
Version 1.2:
- Register_message instead of register_event
- ML support: English, danish atm
- Fixed one small bug
- Optimized the codes
- Made it more read able
- New parse color system
- Removed cvar: blind_mode
- Texnux