AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   HotVision (https://forums.alliedmods.net/showthread.php?t=135617)

MPNumB 08-17-2010 20:20

HotVision
 
6 Attachment(s)
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.

hleV 08-17-2010 20:24

Re: HotVision
 
Fanfuckingtastic.

alan_el_more 08-17-2010 20:35

Re: HotVision
 
Quote:

Originally Posted by hleV (Post 1274023)
Fanfuckingtastic.

OFF: jajaja

ON:
Nice plugin :D

platzpatrone 08-17-2010 20:54

Re: HotVision
 
wow, nice plugin, makes some nice gameplay ideas in my mind to advantage some maps :shock: will test it soon

MPNumB 08-17-2010 21:34

Re: HotVision
 
Updated to 1.1
Fixed: Glitch with having nightvision when you shouldn't when spamming "fullupdate" command.
Changed: Less CPU usage.

RedRobster 08-17-2010 22:03

Re: HotVision
 
Nice.

Alucard^ 08-17-2010 22:32

Re: HotVision
 
Cool =o, i will use this.

MPNumB 08-17-2010 22:43

Re: HotVision
 
Updated to 1.2
Fixed: Glitch that nightvision isn't always restored after "fullupdate" command.

#8 SickneSS 08-17-2010 23:00

Re: HotVision
 
Quote:

Originally Posted by hleV (Post 1274023)
Fanfuckingtastic.


MPNumB 08-17-2010 23:13

Re: HotVision
 
Updated to 1.3
Fixed: Error when someone disconnects and other person is spectating him.
Fixed: Error when using "fullupdate" command.


All times are GMT -4. The time now is 12:24.

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