[Zsript] Simple weather effects

Post your example zscripts/ACS scripts/etc here.

[Zsript] Simple weather effects

Postby Apeirogon » Thu Feb 06, 2020 8:04 am

Simple system which create snow/rain in any sector with sky "ceiling" without creating too much load on cpu.
Mainly oriented on mappers who wants add immersion to their maps.

For now it have
Snow

Rain

Ashes looks goofy, I know

By default it turned off, so you need open pack and edit it a little to add specific weather to specific map.
As a little side effect of "simpleness" it can work weird with too small/too weirdly shaped "sky" sectors, like spawning snow under the actual ceiling of neighbor of "sky" sector sectors.

Minimal required gzdoom version 3.5
Github repository

To use it go to the github page, press green button, select download as zip, save it and then open it as usual pack in slade/whatever you use for scripting.
Follow instruction in the readme.md file to turn it on.

If you want see some new effect or want something to say, write it here.
Last edited by Apeirogon on Wed Feb 12, 2020 8:28 am, edited 1 time in total.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: [Zsript] Simple weather effects

Postby Cherno » Thu Feb 06, 2020 9:06 am

Looks good and very useful.
User avatar
Cherno
 
Joined: 06 Dec 2016

Re: [Zsript] Simple weather effects

Postby Redneckerz » Thu Feb 06, 2020 11:35 am

For inspiration, have you looked at WeatherFX?
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Re: [Zsript] Simple weather effects

Postby Apeirogon » Thu Feb 06, 2020 4:01 pm

It uses more or less same approach as weatherFX. Only difference is it cache all weather actors to reuse them in future, since zscript support dynamical arrays.

Probably I should add some presets like snowy day, snowstorm, tropical rain, etc.
Originally I create it to replace snow and rain in eviternity, because weather from there sometimes drop fps on my machine so hard so it transform game genre from first person shooter to turn base strategy.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: [Zsript] Simple weather effects

Postby m8f » Thu Feb 06, 2020 9:10 pm

Suggestion: ashes slowly falling from the sky. May suit hell maps.
User avatar
m8f
the dreamer
 
 
 
Joined: 29 Dec 2017
Discord: m8f#0629
Github ID: mmaulwurff

Re: [Zsript] Simple weather effects

Postby Apeirogon » Fri Feb 07, 2020 4:50 pm

m8f wrote:Suggestion: ashes slowly falling from the sky. May suit hell maps.

Ok, but it looks a little bit goofy.


Also, I dont find good ashes sprite (which is not a gray square) at first google page so I used photo of staphylococcus from electron microscope instead.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: [Zsript] Simple weather effects

Postby XLightningStormL » Fri Feb 07, 2020 7:04 pm

This isn't even working for me, despite packing the .pk3 fine (and fixing some apparent issues with CSE_Rain being called instead of CWE_Rain) and the .pk3 loading (cvars appear and work)
User avatar
XLightningStormL
DUSK Wiki Master
 
Joined: 09 May 2016
Discord: XLightningStormL#7461
Twitch ID: XLightmingStormL

Re: [Zsript] Simple weather effects

Postby Apeirogon » Sat Feb 08, 2020 2:56 pm

Try re download package again. I fix this errors, add more clear instruction and new effect for rain weather.

User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: [Zsript] Simple weather effects

Postby XLightningStormL » Sat Feb 08, 2020 9:10 pm

Is there actually a guide to get this working? Because despite the update, changing the CVARs still isn't doing anything for me :P.

In case, I'm using the latest GZDoom Stable build, and it doesn't work for me regardless of the Graphics API.
User avatar
XLightningStormL
DUSK Wiki Master
 
Joined: 09 May 2016
Discord: XLightningStormL#7461
Twitch ID: XLightmingStormL

Re: [Zsript] Simple weather effects

Postby Apeirogon » Sun Feb 09, 2020 3:53 am

Oh, I create readme but dont add it to git for tracking, sorry. Fix it now.
Download readme.md from repository/redownload pack again.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: [Zsript] Simple weather effects

Postby Apeirogon » Wed Feb 12, 2020 8:19 am

I add rain sound. Its clunky but better than nothing. Still trying to figure out a way to add sound without hacks I used for current version.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017


Return to Script Library

Who is online

Users browsing this forum: No registered users and 1 guest