Raised This Month: $32 Target: $400
 8% 

New NightVision Goggle (No Lag)


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-04-2012 , 12:44   Re: New NightVision Goggle (No Lag)
Reply With Quote #11

Nice found.

You should cache ScreenFade msg value in a global var.
You could hook FM_LightStyle from plugin_precache in case default map light wouldn't be "m".
You could set/unset nvg on default NVG message instead of hooking command and check if user actually has nvg.
And yes, would be nice to fix ScreenFade after Flash event, and also you could just disable the ScreenFade feature by cvar, could be usefull for kz servers for example.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 04-04-2012 , 12:47   Re: New NightVision Goggle (No Lag)
Reply With Quote #12

This plugin dont work!
__________________
kiki33hun is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-04-2012 , 13:03   Re: New NightVision Goggle (No Lag)
Reply With Quote #13

Quote:
Originally Posted by kiki33hun View Post
This plugin dont work!
Work, do not use in ZP because it will replace with zp map lighting every 5 seconds loop.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
BB.O.
Member
Join Date: Feb 2011
Old 04-04-2012 , 22:21   Re: New NightVision Goggle (No Lag)
Reply With Quote #14

Updated.. Fixed FB bug
BB.O. is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-05-2012 , 00:38   Re: New NightVision Goggle (No Lag)
Reply With Quote #15

Quote:
Originally Posted by BB.O. View Post
Updated.. Fixed FB bug
You brutefixed it lol but i think it is acceptable and make it smooth would be a pain.
Don't forget to cache get_user_msgid("ScreenFade") in a global var, to register FM_LightStyle in plugin_precache and not in plugin_init (i think you just made a typo there), and then the code is ok.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
BB.O.
Member
Join Date: Feb 2011
Old 04-05-2012 , 00:58   Re: New NightVision Goggle (No Lag)
Reply With Quote #16

Finally updated.. Thanks your suggestions :-D
BB.O. is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-05-2012 , 01:06   Re: New NightVision Goggle (No Lag)
Reply With Quote #17

I think you forgot to block message_screenfade when needed, also, when message_nvgtoggle is sent, plugin you know if player has just been flashed ;)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
BB.O.
Member
Join Date: Feb 2011
Old 04-05-2012 , 04:55   Re: New NightVision Goggle (No Lag)
Reply With Quote #18

Updated..
BB.O. is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 04-05-2012 , 04:57   Re: New NightVision Goggle (No Lag)
Reply With Quote #19

Add changes log on 1st post please.. other people also want to know what you have updated for the plugin.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 04-05-2012 , 09:25   Re: New NightVision Goggle (No Lag)
Reply With Quote #20

Will definitely try it out for Biohazard server.
EDIT: Nope, not working, that is a shame. Looking forward for Biohazard compitable version.

Last edited by GuskiS; 04-05-2012 at 09:33.
GuskiS is offline
Reply


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 19:41.


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