Hello Enjay thanks for the reply.
I understand now, I thought it was some kind of decorate script? Sorry about that. This is such great news you found the parameters, so I believe everything is basically indexed and the rain is index number 51-55 and 126? I have never actually loaded a map in the editor before but sounds very interesting indeed.
Seeing as I have 0 knowledge on map editing I took the decorate script approach which did stop the rain, the rain sound is still active, but unfortunately it still lagged after 10mins? Maybe the rain like you said is despawning after 1tick but its still actually spawning which now must be some sort of memory leak or something to break GZDoom?
Even with the decorate script applied, when the game started to lag out, or what I see is a slow reduction of FPS, I typed in puke 500 into the console and everything was back to normal 60FPS, so its 100% the rain that's causing this issue, it has to be.
I did some serious research regarding a new rain script that's more optimized and found a gem, its basically from what I believe reading the PDF that the script spawns rain particles around the player instead of the whole map. Its called j5weatherFX, the link is here.
viewtopic.php?f=19&t=18993
The theory is to try and replace the spawn areas on each map with the new rain script, from reading the PDF it looks like you only need 2 spawners? Top left, lower right of the map? This is a quote from the PDF
''2.5 Your Level
You will need to put down WeatherSpot (thing #30000) items to bound the areas you want
weather in, one in the upper left corner and one in the lower right corner of the area. The
z-height of the upper left WeatherSpot will determine where the weather effects are spawned
from.
Keep in mind that the weather items will collide with map geometry and will not spawn in any
area with a ceiling lower than the z-height of the upper left spot, so you can cover an area with a
building that is lower than your outside sky without worrying about having random snow flakes
or rain drops spawning inside.''
So it looks like I would remove each spawn point for the rain on each map and allocate the new strings, looks extremely complicated but I believe its worth it to keep the atmosphere as close to the mod as possible, puke 500 removes all rain and all ambient sounds, it ruins the atmosphere would you agree?
Or may I ask do you have any idea on how we could optimize the rain script? Theres quite a few GZDoom Rain' Youtube videos out there and they seem to work without this issue so I'm still trying to figure out if we can optimize the code before removing it completely and starting with a new mod? What would you advise right now?
Thankyou very much for helping us, hope to speak soon.