Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2015, 01:52 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Setting fog level via script

I am not seeing anything to do this, may not exist but thought I would consult the hive mind. Things i want to set are ztype and your fog clip and fog colors.
Reply With Quote
  #2  
Old 10-29-2015, 01:54 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Well seconds later I think I figured it out. I can set the fog colors in the zone file, since it does not normally have fog it does not matter what they are normally. Then I can do a #setsky 255 to turn the fog on, or do it via script.
Reply With Quote
  #3  
Old 10-29-2015, 08:51 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 270
Default

When you say zone file, are you talking about the zone table in the database? If not, you can control it all there.
Since modern hardware can handle it in most zones, I like to push the clipping planes way out for greater zone visibility. It's a minor change that I find I really notice when I play on other servers.
__________________
http://dungeoncrawl.us.to
Reply With Quote
  #4  
Old 10-29-2015, 08:55 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Yeah I meant zone table. I really want to control more via Lua, I seem to be limited a bit.
Reply With Quote
  #5  
Old 10-29-2015, 10:36 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Also I wonder if turning up the zone clipping distance will effect how much traffic the server sends back to the individual clients.
Reply With Quote
  #6  
Old 10-30-2015, 12:39 AM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Quote:
Originally Posted by provocating View Post
Also I wonder if turning up the zone clipping distance will effect how much traffic the server sends back to the individual clients.
Unlikely. The client is basically omniscient about what's going on in a zone, except that beyond a certain (fixed?) distance mob position updates won't be pushed as frequently, animation triggers might not be sent, etc. Doubt that the max clipping distance setting for the zone is factored in anywhere.

Quote:
Originally Posted by provocating View Post
Yeah I meant zone table. I really want to control more via Lua, I seem to be limited a bit.
Pretty niche, probably no functions exported for it. From the looks of it you'd just need to send OP_NewZone / NewZone_Struct to all the clients in the zone; most of the details could probably be copied from command_zclip and command_zsky in command.cpp (I don't know if those commands actually work, too lazy to get a server up to test).
Reply With Quote
Reply


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 11:33 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3