Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2008, 05:34 PM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

Quote:
Originally Posted by cavedude View Post
As for your P.S. Yeah, I agree, I would love to see sand storms in the desert! I'm not sure how we could accomplish that, either. More than likely, it would require some sort of client hack.

yeah sadly - i guess we would need an actual displaying graphics for the sand storm which eq doesn't have I guess
Reply With Quote
  #2  
Old 06-11-2009, 03:13 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

I am bumping this as I have saw today that KLS has added $zoneweather perl into the source

So whats up - are we going to see some fine tune weather control per zone? Its about time it started raining in WK

Consider my old proposition from above:

Quote:
and I guess we will need an extra collumn to set up a % chance for rain/weather to start and continue. So let say we have Wk set to 65% chance of rain. Then every 15 min (or whatever time intervals set at) it will roll a 65% chance to stat raining. Then after 15 min have passed it will have another 65% chance check to continue raining - in which case rain should get stronger, and so on.
Reply With Quote
  #3  
Old 06-11-2009, 03:40 AM
gaeorn
Developer
 
Join Date: Apr 2009
Location: USA
Posts: 478
Default

It's an export so I'm sure it is for a charm that is dependent on weather.
Reply With Quote
  #4  
Old 06-11-2009, 10:51 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

well if charm supose to activate when it rains or snows- its prety much gona be ULTRA useless since chance of weather going bad in Emu is like 1%
Reply With Quote
  #5  
Old 06-11-2009, 11:53 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Well, with $zoneweather implemented you can use Perl to control the weather. We already had quest::rain(1/0) and quest::snow(1/0) to make it rain or snow, and now with a way to check to see if it is raining, snowing, or not an elementary Perl script can be written up to increase the chance of bad weather. Just make sure it's not raining/snowing, then acquire a number from the random generator (use that to specify the chance), then if the number is one you like, have it rain/snow. Set the whole thing on a timer with the time period of your choosing I could be wrong, but quest::snow(1) might also be able to make it snow in zones set to rain, and vice versa. That'll need to be tested. Likewise, it's plausible that you can set the weather column of a zone to 0 so that it doesn't rain/snow and use Perl to completely control the chance. Again, that'll need to be tested.

As much as I am on the Live Like mission, I feel stuff like this shouldn't be hardcoded because Perl is perfectly capable of handling it. Perl gives the OP freedom to do as they wish. Perhaps they want the weather to have a better chance of being clear at night, or perhaps a certain NPC in the zone increases or increases the risk of rain, etc.
Reply With Quote
  #6  
Old 06-11-2009, 12:11 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

I was hoping for something like that cavedude

BTW did you guys by chance have a way to make client to produce the FOG like its raining/snowing but wihout actual rain or snow? Just the fog?
I know I can set zone istelf to have low clip plane, but it would be nice to have just "fog" as posible weather codition
Reply With Quote
  #7  
Old 06-11-2009, 01:06 PM
Dibalamin
Hill Giant
 
Join Date: Dec 2007
Posts: 182
Default

What args does $zoneweather return? 0/1/2? or Rain/Snow/Clear?
__________________
Retired EMarr
Project1999 Developer
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 01:19 PM.


 

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