- 69
- Posts
- 4
- Years
- Seen May 27, 2021
This error will come if you do compiling?.
Nope When I start my game, before the title screen.
This error will come if you do compiling?.
When I installed the weather encounter script
Iget this error
Script '311' line Weather: NameError occured.
uninitialized constant PBFieldWeather::Ash
I i stalled both weather and weather encounter script
prefer if you didn't double post. as its says its not been set up as a fieldweather thus it cant appear
i've got ash, foggy, wind and moonlight as custom weather and they all worked just as normal weathers.
Well the script was made for v16/17 and i dont have actual experience in v18. but i see your problem, its actually a mistake by me. in options go to the top or where its "PokemonSystem" add
"attr_accessor :weather" after battlestyle, then again in "def Initialize", "@weather = 0 # disable weather or not (0=enabled, 1=disabled)" after @battlestyle.
this was made so you can toggle weather off (either manually or with a setting as weather can lag with followers in v16/17 atleast) that should do it, but might need to open your settings and change one to fix it (as its done in there)
hopefully that helps, i can try and help if more errors come for v18; plan to rework this script for v17 soon just to make it easier to use/more plug-and-play
What should I do then.
I get this error
Script '310' line Weather: SyntaxError occured.
compile error
310:Weather:30: syntax error, unexpected ']', expecting $end
when I change the script to this
CONDITIONCHANGETIME = 24 # Default 24 hours
WEATHERCHANGETIME = 6 # Default 6 hours
CONDITIONS = [
"Warm"],
["Neutral"],
["Cold"],
["Freezing"],
["Abnormal"]
]
WARMWEATHER = [
PBFieldWeather::Sun,1], #50%
[PBFieldWeather::None,51], #40%
[PBFieldWeather::Ash,91], #8%
[PBFieldWeather::Drought,99] #2%
]
Can this work peV18.1 and also this script work with visible overworld encounter script and also i want different location with different weather pokemons encounters sorry for my bad english
multiple post above mentioning v18, and after tinkering it works fine. I use Visible overworlds and its fine
and you want different choices of pokemon for different locations? will have to make a seperate list of all the weathers then a check for the region
do have a different weather encounter script that just uses the encounters.txt which would solve this issue, however its not very smooth so don't want to share just yet.
Does this work with v19?
not tested in v18 let alone v19, it SHOULD be okay, but best to test yourself, and report back to me, might not be able to help, but cant actually say if it'll work or not.
How can add overworld weather graphics for this script
Hi, thanks for sharing this script!
I am upgrading my game in V 17 to V19.1 and this script is key in the playability of my project.
Is it possible to upgrade to V 19.1? I tried, but I have serious problems to find a replacement for PBFieldWeather in CONDITIONS.
I'm not personally using v19.1 so not 100% sure, but if you find what can set the weather by scripts in v19 it may help (either by the tutorial maps or looking around) as im sure field weather exists there but probably in a better/different form.
PBFieldWeather
WARMWEATHER = [
[PBFieldWeather::Sun,1], #50%
[PBFieldWeather::None,51], #40%
[PBFieldWeather::None,91], #8%
[PBFieldWeather::Sun,99] #2%
]
Indeed I tried to find a V19 version without success and in the V19.1 versionwas removed so I can't find the replacement for:Code:PBFieldWeather
Code:WARMWEATHER = [ [PBFieldWeather::Sun,1], #50% [PBFieldWeather::None,51], #40% [PBFieldWeather::None,91], #8% [PBFieldWeather::Sun,99] #2% ]
I tried with Game Data but... Doesnt work
PD. As you can see, I'm not exactly the best scripter. :B