Script Help: SetWeather with BG 2 engine
Shinta
Member Posts: 5
Greetings
I'm new in the forum and the community: I hope to not being doing thng out of place n.n
What I'm willing to ask for your help is if it's possible to create a scritp for changing the in-game weather. Time ago, I loved that cheat code at BG1 that let SetWehather(); as fas as I know, this is not available with the BG 2 engine (I'm playing GB Trilogy btw).
Time ago, I read a this thread ( https://forums.beamdog.com/discussion/15967/is-there-a-cheat-code-to-lower-rep ), how to do a simple script for changing the reputation; so, my issue is: is it possible to do such a thing with the weather? It would be pretty sad that you cannot manipulate weather as in GB1, but I'm giving my hope to this forum
Thanks a lot in advanced. I hope you could give me a hand; regards,
I'm new in the forum and the community: I hope to not being doing thng out of place n.n
What I'm willing to ask for your help is if it's possible to create a scritp for changing the in-game weather. Time ago, I loved that cheat code at BG1 that let SetWehather(); as fas as I know, this is not available with the BG 2 engine (I'm playing GB Trilogy btw).
Time ago, I read a this thread ( https://forums.beamdog.com/discussion/15967/is-there-a-cheat-code-to-lower-rep ), how to do a simple script for changing the reputation; so, my issue is: is it possible to do such a thing with the weather? It would be pretty sad that you cannot manipulate weather as in GB1, but I'm giving my hope to this forum
Thanks a lot in advanced. I hope you could give me a hand; regards,
1
Comments
C:Eval('Weather(RAIN)')
You can use the following parameters for Weather():
NOWEATHER
RAIN
SNOW
FOG
FOG works too since game patch v2.0. The weather change uses a period of transition, so you'll have to wait a few seconds to see any effect.
Thanks a lot for the quick, gentle and detailed responce.
Best wishes
Greetings:
Sadly, I've not been able to make it work ; here I'm attaching two tried I did, with no result.
Could you please help me in what I'm doing wrong?
Thanks again for the gentle interest and help.
Regards
Amm.. I dunno how to do such a test ? would it be something like the image attached?
I know that weather can be turned off. I was wondering if @argent77 knew of a way to use the code to turn off just the new fog effect for the game, while leaving the other effects turned on.
I was able to change the weather to rain in game, using the console and the code he provided. I’m not sure why it didn’t work for you. Though my test was on version 1.3 of the game, not the latest patch.
By the way, welcome to the forum!
@Ravenslight Each area has a fog probability. Setting it to 0 should get rid of the fog entirely. You can automate the process by turning the following code into a mod:
COPY_EXISTING_REGEXP GLOB ~^.+\.are$~ ~override~ WRITE_SHORT 0x4e 0 // fog probability = 0 BUT_ONLY
@argent77 Thanks for the detailed help; I'll look forward for and answer. Yet, I hope that this inquiry might help others looking for the same issue but in the EE's.
Best regards... later