Raised This Month: $12 Target: $400
 3% 

HotVision


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Arkshine (91)
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 08-17-2010 , 20:20   HotVision
Reply With Quote #1

Description:
This plugin gives some use for nightvision. Normally nightvision only helps in case if players are close enough. This plugin makes all players visible in the dark, plus it includes support for infrared (ability to see through some walls/objects), heart-beat device (radar showing enemies with 1024 units range by default) what refreshes every 2 seconds, advanced hotvision (not only players are fully visible in dark places, but also other objects like hostages, weapons...). Also this plugin includes a fix for switching off nightvision by "fullupdate" command or and when starting to record a demo.


Requires:
Engine
FakeMeta
HamSandWich


Cvars:

* "hotvision_enabled" - state of the plugin.
- "2" - enabled with custom player render mod. [default]
- "1" - enabled.
- "0" - disabled.

* "hotvision_radar" - state of radar (heart-beat device).
- "2" - enabled with unlimited range.
- "1" - enabled. [default]
- "0" - disabled.

* "hotvision_radar_range" - range of radar (heart-beat device).
- "14189.0" - maximal unit distance available (range of the map).
- "1024.0" - half of radar radius. [default]
- "128.0" - minimal unit distance available.

* "hotvision_models" - hotvision for custom objects (hostages, weapons...).
- "1" - enabled. [default]
- "0" - disabled.

* "hotvision_walls" - ability to see through some walls (infrared).
- "1" - enabled. [default]
- "0" - disabled.

* "hotvision_effect_fix" - choice between editions to nightvision effect.
- "3" - original with fix, and custom effect in one.
- "2" - custom effect only (massive client FPS improvement). [default]
- "1" - original with fix.
- "0" - original without "fullupdate" fix.

* "hotvision_object_glow" - will players and custom objects emit light.
- "3" - enabled. [default]
- "2" - custom objects only.
- "1" - players only.
- "0" - disabled.

* "hotvision_brightness" - brightness of the map while in hotvision.
- from "a" to "z" - from darkest to brightest.
- from "A" to "Z" - brightest with controlled negative effect on light source edges.
- "!" - brightest with small negative effect on large light sources.
- "W" - brightest with visible enough negative effect. [default]
- "" - use default map brightness.


Additional info:
Tested in Counter-Strike 1.6 with amxmodx 1.8.2 (dev build hg21). You can disable/edit some features via cvars. Features like infrared (can be disabled/enabled), advanced hotvision (disabled/enabled), heart-beat device (disable/enable and set range). You may find servers what are using this plugin by following this link: http://www.game-monitor.com/search.p...=&game=cstrike


Notes:
- Cvar changes take effect only at round start.
- Brightness negative effect is largest in dark areas.
- Using only custom nightvision effect makes radar more clear and improves client FPS massively.


Warnings:
- Some maps may have sky glitches when infrared is enabled ("hotvision_walls" cvar).
- Using custom nightvision effect will not allow usage of flishlight while nightvision is active.


Change-Log:

* 2.1
- Fixed: Not showing if person has hotvision enabled when spectating.

* 2.0
- Added: Cvar "hotvision_brightness" to control brithness of the map while in hotvision.
- Added: Ability to disable custom player render mod via "hotvision_enabled" cvar.
- Added: Ability to find servers what are using this plugin.

* 1.9
- Added: Cvar "hotvision_object_glow" to choose will players and custom objects glow.
- Fixed: Players nightvision close-range light doesn't work for spectators as it should.

* 1.8
- Fixed: Fix related to impulse command - amxx ham module glitch. Plugin now also needs engine module.

* 1.7
- Added: Extra nightvision effect.
- Added: Ability to choose between nightvision effects (custom one results in much less client FPS drops).
- Added: Extra glowing effect on objects while in nightvision.
- Changed: Plugin uses less resources (improved massively).

* 1.6
- Added: Cvars for plugin configuration (takes effect at new round).
- Changed: Plugin uses less resources.
- Removed: Added notification instead of plugins_by_numb feature.

* 1.5
- Added: Cvar to disable plugins_by_numb feature (set "pbn_simple" to "1").

* 1.4
- Changed: Less CPU usage, more stability.

* 1.3
- Fixed: Error when someone disconnects and other person is spectating him.
- Fixed: Error when using "fullupdate" command.

* 1.2
- Fixed: Glitch that nightvision isn't always restored after "fullupdate" command.

* 1.1
- Fixed: Glitch with having nightvision when you shouldn't when spamming "fullupdate" command.
- Changed: Less CPU usage.

* 1.0
- First release.
Attached Thumbnails
Click image for larger version

Name:	hotvision1_de_nuke.JPG
Views:	4103
Size:	72.7 KB
ID:	101641   Click image for larger version

Name:	hotvision2_cs_assault.JPG
Views:	2927
Size:	57.2 KB
ID:	101642   Click image for larger version

Name:	hotvision3_de_dust2.JPG
Views:	2865
Size:	71.8 KB
ID:	101643   Click image for larger version

Name:	hotvision4_de_dust2.JPG
Views:	2877
Size:	81.3 KB
ID:	101644   Click image for larger version

Name:	hotvision5_de_dust2.JPG
Views:	3272
Size:	94.9 KB
ID:	101645  

Attached Files
File Type: sma Get Plugin or Get Source (hotvision.sma - 2745 views - 23.6 KB)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 02-02-2014 at 10:06.
MPNumB is offline
Send a message via Skype™ to MPNumB
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode