-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New scenario: Moonlit Night #77909
New scenario: Moonlit Night #77909
Conversation
Ok this was rather annoying to debug as I had to restart until I got specific weather conditions, but I eventually got it working by creating a weather that's guaranteed to be free of fog or rain. It seems like you can't set
Also the issue #63444 can probably be closed as you can copy my methods for creating scenarios with specific weather conditions. |
It works, it's just that next_weather resets right away
Bionics weather reader to your rescue UPD. I've been trying to find a solution. But apparently you've found one before. This option is not ready. Once the effect is complete, the weather remains. But you can make sure that the pressure and humidity changes.
|
Reading the weather wasn't an issue, it was restarting until you got game where it wasn't foggy. I think humidity and other weather stuff isn't global, but defined for each overmap tile, so changing it gets quite messy. But let me know if you find a good solution. |
I haven't dealt with either weather or EoC, so I'm not sure if I can help. But try calling EOC while there is a condition. For example, while the effect is hanging, call EoC. And from what I understand, setting the pressure and humidity doesn't change the weather. Fog remains fog. (Or maybe I've complicated things and/or done something wrong). |
If I understand you correctly, you need certain weather for testing?
-- "base_wind_season_variation": 50
++ "base_wind_season_variation": 50,
++ "weather_white_list": [ "clear", "cloudy" ], or
Cataclysm-DDA/doc/REGION_SETTINGS.md Lines 512 to 513 in 9ac7d05
|
Correct me if I'm wrong, but I think regional settings is only for weathers that occur naturally. As "Moonli"t is a weather that's EOC triggered I don't think it's needed. |
It's not for the mod. It's for testing. As I understand it, you've been loading a lot of times to get fog at game start? Ideally, if you limit the weather to fog only, it would reduce the number of reloads.
It only now reached me that you were on the contrary trying to get rid of the fog. |
Ah, I misunderstood you. That's a good tip for next time! |
Summary
Content "New scenario: Moonlit Night"
Purpose of change
A new scenario that offers a new type of challenge: to navigate through a group of zombies on a moonlit night where you have the benefit of vision but the monsters don't.
Also features a game mechanic maybe not all new players know about and teaches the importance of vision and aggro.
Describe the solution
Not sure why my clear weather EOC isn't working, tried to follow the procedure outlined by Ramza13 in #63444, which to my understanding was to set conditions withweather( s )
to where only clear sky is possible and then callnext_weather
.EDIT; Weather EOC fixed by creating a custom weather.
Describe alternatives you've considered
Testing
Works except for the clear weather EOC.
Additional context