• Announcements

    • jhxp

      Forums are online again after a maintenance.   18/03/17

      MTA Forums maintenance is completed, although some automatic time-heavy tasks are still in process and will be finished eventually in background. Expect some features such as Forum Search to not display all results until all processes are finished. Please let us know if you spot a forum feature that worked correctly before the maintenance but does not work anymore now. Thanks. --MTA Team
Lord Henry

Simple but really necessary sugestion

3 posts in this topic

Hello Everyone.

My suggestion is to change the Blending Weather System.

Nowadays, the only way to change the blending duration is using setMinuteDuration.

But this isn't enough because my server uses real time minute duration (60000 miliseconds every minute). While this, the blending weather needs 2 real time hours to complete it's cycle, this is too much! Also, there's some weather IDs that I want to have different blending durations from the others, but if I change the minute duration, this will change the server clock 'speed.

I think there should be more arguments to the setBlendingWeather, like blending duration.


Example: If I want to blend a storm in 3 real time minutes (3 game hours). I could use:

setWeatherBlended (8, 180000)

This will blend the weather ID 8, in 180000 miliseconds, like the 'setTimer'.

By default, this timer will always be 120000 because it's 2 game hours.

If I use the current code:

setWeatherBlended (8)

This is the same as this:

setWeatherBlended (8, 120000)

PS: Using the setMinuteDuration client side is not an option.

3 people like this

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.