Raised This Month: $ Target: $400
 0% 

Least FPS consuming light?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-04-2014 , 12:22   Least FPS consuming light?
Reply With Quote #1

Which is it?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-04-2014 , 12:40   Re: Least FPS consuming light?
Reply With Quote #2

What????
__________________
fysiks is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 03-04-2014 , 13:30   Re: Least FPS consuming light?
Reply With Quote #3

Since he holds ZP server, probably he's talking about dynamic light effects. I suggest you to remove them completely, like flares, laggy nightvision (there's better nightvision code in Approved section), and even map lighting etc.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-04-2014 , 13:55   Re: Least FPS consuming light?
Reply With Quote #4

Quote:
Originally Posted by NiHiLaNTh View Post
Since he holds ZP server, probably he's talking about dynamic light effects. I suggest you to remove them completely, like flares, laggy nightvision (there's better nightvision code in Approved section), and even map lighting etc.
Exactly. Please recommend me which you think that are the best. Thank you.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-04-2014 , 20:37   Re: Least FPS consuming light?
Reply With Quote #5

Please provide a description of questions that you post on this website. It will save everybody time.
__________________

Last edited by fysiks; 03-04-2014 at 20:37.
fysiks is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-05-2014 , 07:06   Re: Least FPS consuming light?
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Please provide a description of questions that you post on this website. It will save everybody time.
Sorry, will be more detailed next time.
Nihi(or other experienced users), please link me to the best nightvision and light effects source that you know. Thank you.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Hunter4all
Junior Member
Join Date: Aug 2010
Old 03-05-2014 , 08:59   Re: Least FPS consuming light?
Reply With Quote #7

i actually want to know that also please
Hunter4all is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 03-05-2014 , 10:00   Re: Least FPS consuming light?
Reply With Quote #8

New Nightvision
All other dynamic light sources create lags, nothing more.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Old 03-05-2014, 10:41
georgik57
This message has been deleted by georgik57. Reason: new post
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 03-07-2014 , 10:56   Re: Least FPS consuming light?
Reply With Quote #9

Quote:
Originally Posted by NiHiLaNTh View Post
New Nightvision
All other dynamic light sources create lags, nothing more.
TY

Forgot to mention: i also still need the best light effect for my default flashlight fix plugin
Currently using DLIGHT but it causes low FPS, so please recommend me a better one...
Code:
#include <amxmodx> #include <zombieplaguenightmare> new g_bitPlayerFlashlight, g_iMaxPlayers #define MarkPlayerFlashLight(%0)    g_bitPlayerFlashlight |= 1<<(%0&31) #define ClearPlayerFlashLight(%0)   g_bitPlayerFlashlight &= ~(1<<(%0&31)) #define HasPlayerFlashLightOn(%0)   (g_bitPlayerFlashlight & 1<<(%0&31)) public plugin_init() {     register_plugin("[ZPNM] Flashlight Fix", "1.0.4", "ConnorMcLeod, schmurgel1983, D i 5 7 i n c T")         register_event("Flashlight", "Event_Flashlight", "b")     register_event("StatusValue", "ShowStatus", "be", "1=2", "2!0")     register_event("StatusValue", "HideStatus", "be", "1=1", "2=0")         g_iMaxPlayers = get_maxplayers() } public client_disconnect(id) {     remove_task(id)     ClearPlayerFlashLight(id) } public zpnm_user_spawn_post(id) {     remove_task(id)     ClearPlayerFlashLight(id) } public zpnm_user_killed_post(id) {     remove_task(id)     ClearPlayerFlashLight(id) } public Event_Flashlight(id) {     if (read_data(1))     {         MarkPlayerFlashLight(id)                 new iAim, iDummy;         get_user_aiming(id, iAim, iDummy)                 if (iAim < 1 || iAim > g_iMaxPlayers || !is_user_alive(iAim)) // || HasPlayerFlashLightOn(iAim)             return;                 LightTarget(id)     }     else     {         remove_task(id)         ClearPlayerFlashLight(id)     } } public ShowStatus(id) {     if (!HasPlayerFlashLightOn(id))         return;         new iAim = read_data(2)         if (iAim < 1 || iAim > g_iMaxPlayers || !is_user_alive(iAim)) // || HasPlayerFlashLightOn(iAim)         return;         LightTarget(id) } public HideStatus(id)     remove_task(id) public LightTarget(id) {     static szOrigin[3]     get_user_origin(id, szOrigin, 3)         message_begin(MSG_PVS, SVC_TEMPENTITY, szOrigin)     write_byte(TE_DLIGHT) // TE id     write_coord(szOrigin[0]) // x     write_coord(szOrigin[1]) // y     write_coord(szOrigin[2]) // z     write_byte(11) // radius     write_byte(255) // r     write_byte(255) // g     write_byte(255) // b     write_byte(3) // life     write_byte(0) // decay rate     message_end()         set_task(0.1, "LightTarget", id) }
__________________

Last edited by georgik57; 03-07-2014 at 11:02.
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
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 05:56.


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