Hi,
Here is a link to a newer version of Children of Solarus rather than the old one in this post
https://gitlab.com/solarus-games/children-of-solarus/-/tree/dev/dataI didn't add anything to main.lua so that may be part of the problem. I kept the same folder structure to save changing paths in the scripts and copied across -
scripts/teletransporter_meta (although i don't think this is required so could be commented out in the scripts?)
scripts/weather/hail, rain, snow and weather_manager
sprites/weather/rain and snow.png and dat
I also made sure that my scripts/multi_events wasn't missing anything from the Children of Solarus scripts/multi_events one (which it wasn't)
Then in the map.lua file of the map where you want the weather to appear you have to add
function map:on_started()
game:set_world_rain_mode("your_world", "storm") or
game:set_hail_mode("hail")
end
If you have a look at the snow, rain or hail manager scripts they all have examples of how to get the effect you are after.
But only do one effect.
I hope that helps.