- Joined
- Oct 22, 2022
- Posts
- 129
So, I did all the changes you recommended, still get the same error (only on certain indoors maps) ... :( see my updated Configuration file:
Ruby:
#===============================================================================
# * Weather System Configuration
#===============================================================================
module WeatherConfig
# Set to false to use the Weather System.
NO_WEATHER = false # Default: false
# Set to false to use the Weather System.
SHOW_WEATHER_ON_MAP = true # Default: true
# Set to true to use the computer's time. Will not work without Unreal Time System.
USE_REAL_TIME = false # Default: true
# Set to true to have the weather change at midnight.
CHANGE_MIDNIGHT = false # Default: true
# Define the min and max amount of time (in hours) before the weather changes.
# Set the same number to not randomize the amount of time before the weather changes.
CHANGE_TIME_MIN = 8 # Default: 1
CHANGE_TIME_MAX = 16 # Default: 4
#===============================================================================
# * Weather Substitute
#===============================================================================
# A hash with the ID of the maps that will have or not have certain weathers.
MAPS_SUBSTITUTE = {
:Snow => ["exclude", 98, 117]
#:Blizzard => ["exclude", 1, 4],
# :Sandstorm => ["include", 5]
}
# The ID of the weathers that will substitute the main when in one of the summer or sandstorm maps.
# There has to be a hash (defined between {}) for each defined zone with weather to substitute.
# Any weather not defined in the hash for a zone will use the main weather instead.
WEATHER_SUBSTITUTE = [
{:Snow => :Sun},
{:None => :None},
{:None => :None},
{:None => :None},
{:None => :None},
{:None => :None},
{:None => :None},
{:None => :None},
{:None => :None},
{:None => :None}
]
#===============================================================================
# * Weather Names
#===============================================================================
# A hash that contains the ID of weather and the name to display for each one.
# Using .downcase will make them lowercase.
WEATHER_NAMES = {
:None => _INTL("None"),
:Rain => _INTL("Rain"),
:Storm => _INTL("Storm"),
:Snow => _INTL("Snow"),
:Blizzard => _INTL("Blizzard"),
:Sandstorm => _INTL("Sandstorm"),
:HeavyRain => _INTL("Heavy rain"),
:Sun => _INTL("Sun"),
:Fog => _INTL("Fog")
}
#===============================================================================
# * Zones Configuration
#===============================================================================
# Arrays of id of the maps of each zone. Each array within the main array is a zone.
# The maps within each zone will have the same weather at the same time.
# Each zone may have a different weather than the others.
ZONE_MAPS = [
[22, 32, 33, 98, 156, 117],#Shison & Routes
[15, 376, 377, 378],#Chushin City
[86, 384, 385, 386],#Aki Forest
[81, 82, 83, 84],#Noyanagi
[88, 95, 92, 93],#Yosei Woods
[94, 99, 100, 101],#Suna Beach
[131, 133, 134, 135],#Sakyu Valley
[138, 155, 169, 170, 171],#Shimo Mountain
[177, 183, 185, 186],#Kiri Forest
[179]#Road of Ascension
]
#===============================================================================
# * Map Display
#===============================================================================
# Array of hashes to get each map's position in the Town Map. Each hash corresponds to a zone in ZONE_MAPS.
# In "Map Name" you have to put the name the Town Map displays for that point.
# In Map ID you have to put the ID of the map the name corresponds to, like in ZONE_MAPS.
MAPS_POSITIONS = [
#{"Map Name" => Map ID},
{"Shison Village" => 22, "Route 1" => 32, "Route 2" => 33, "Route 3" => 98, "Route 4" => 156, "Netsumachi" => 117},
{"Chushin City" => 15},
{"Aki Forest" => 86},
{"Noyanagi Plains" => 81},
{"Yosei Woods" => 88},
{"Suna Beach" => 94},
{"Sakyu Valley" => 131},
{"Yuki Village" => 138, "Shimo Mountain" => 155},
{"Kiri Forest" => 177},
{"Road of Ascension" => 179}
]
# A hash for the plugin to display the proper weather image on the map.
# They have to be on Graphics/Pictures/Weather (in 20+) or Graphics/UI/Weather (in 21+).
WEATHER_IMAGE = {
:Rain => "mapRain",
:Storm => "mapStorm",
:Snow => "mapSnow",
:Blizzard => "mapBlizzard",
:Sandstorm => "mapSand",
:HeavyRain => "mapRain",
:Sun => "mapSun",
:Fog => "mapFog"
}
#===============================================================================
# * Season Probability Configuration
#===============================================================================
# Arrays of probability of weather for each zone in the different seasons.
# Each array within the main array corresponds to a zone in ZONE_MAPS.
# Put 0 to weather you don't want if you define a probability after it.
# If your game doesn't use seasons, edit the probabilities of one season and copy it to the others.
# Probability of weather in summer.
# Order: None, Rain, Storm, Snow, Blizzard, Sandstorm, HeavyRain, Sun/Sunny, Fog
ZONE_WEATHER_SUMMER = [
[60, 15, 0, 5, 0, 0, 0, 20, 0],#Shison & Routes
[60, 15, 0, 5, 0, 0, 0, 20, 0],#Chushin City
[50, 20, 0, 10, 0, 0, 0, 10, 10],#Aki Forest
[60, 15, 0, 10, 0, 0, 0, 15, 0],#Noyanagi
[60, 15, 0, 0, 0, 0, 0, 15, 10],#Yosei Woods
[50, 10, 5, 0, 0, 0, 0, 35, 0],#Suna Beach
[50, 0, 0, 0, 0, 15, 0, 35, 0],#Sakyu Valley
[20, 0, 0, 60, 10, 0, 0, 10, 0],#Shimo Mountain
[40, 25, 0, 10, 0, 0, 0, 0, 25],#Kiri Forest
[0, 0, 0, 100, 0, 0, 0, 0, 0]#Road of Ascension
]
# Probability of weather in autumn.
# Order: None, Rain, Storm, Snow, Blizzard, Sandstorm, HeavyRain, Sun/Sunny, Fog
ZONE_WEATHER_AUTUMN = [
[60, 15, 0, 5, 0, 0, 0, 20, 0],#Shison & Routes
[60, 15, 0, 5, 0, 0, 0, 20, 0],#Chushin City
[50, 20, 0, 10, 0, 0, 0, 10, 10],#Aki Forest
[60, 15, 0, 10, 0, 0, 0, 15, 0],#Noyanagi
[60, 15, 0, 0, 0, 0, 0, 15, 10],#Yosei Woods
[50, 10, 5, 0, 0, 0, 0, 35, 0],#Suna Beach
[50, 0, 0, 0, 0, 15, 0, 35, 0],#Sakyu Valley
[20, 0, 0, 60, 10, 0, 0, 10, 0],#Shimo Mountain
[40, 25, 0, 10, 0, 0, 0, 0, 25],#Kiri Forest
[0, 0, 0, 100, 0, 0, 0, 0, 0]#Road of Ascension
]
# Probability of weather in winter.
# Order: None, Rain, Storm, Snow, Blizzard, Sandstorm, HeavyRain, Sun/Sunny, Fog
ZONE_WEATHER_WINTER = [
[60, 15, 0, 5, 0, 0, 0, 20, 0],#Shison & Routes
[60, 15, 0, 5, 0, 0, 0, 20, 0],#Chushin City
[50, 20, 0, 10, 0, 0, 0, 10, 10],#Aki Forest
[60, 15, 0, 10, 0, 0, 0, 15, 0],#Noyanagi
[60, 15, 0, 0, 0, 0, 0, 15, 10],#Yosei Woods
[50, 10, 5, 0, 0, 0, 0, 35, 0],#Suna Beach
[50, 0, 0, 0, 0, 15, 0, 35, 0],#Sakyu Valley
[20, 0, 0, 60, 10, 0, 0, 10, 0],#Shimo Mountain
[40, 25, 0, 10, 0, 0, 0, 0, 25],#Kiri Forest
[0, 0, 0, 100, 0, 0, 0, 0, 0]#Road of Ascension
]
# Probability of weather in spring.
# Order: None, Rain, Storm, Snow, Blizzard, Sandstorm, HeavyRain, Sun/Sunny, Fog
ZONE_WEATHER_SPRING = [
[60, 15, 0, 5, 0, 0, 0, 20, 0],#Shison & Routes
[60, 15, 0, 5, 0, 0, 0, 20, 0],#Chushin City
[50, 20, 0, 10, 0, 0, 0, 10, 10],#Aki Forest
[60, 15, 0, 10, 0, 0, 0, 15, 0],#Noyanagi
[60, 15, 0, 0, 0, 0, 0, 15, 10],#Yosei Woods
[50, 10, 5, 0, 0, 0, 0, 35, 0],#Suna Beach
[50, 0, 0, 0, 0, 15, 0, 35, 0],#Sakyu Valley
[20, 0, 0, 60, 10, 0, 0, 10, 0],#Shimo Mountain
[40, 25, 0, 10, 0, 0, 0, 0, 25],#Kiri Forest
[0, 0, 0, 100, 0, 0, 0, 0, 0]#Road of Ascension
]
end