[Zsript] Very simple weather effects

Post your example zscripts/ACS scripts/etc here.

[Zsript] Very 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
How to download things from Github
viewtopic.php?f=39&t=70332

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 Oct 21, 2020 12:49 pm, edited 3 times 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/2008 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
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit

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
Former 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
Former 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

Re: [Zsript] Very simple weather effects

Postby Apeirogon » Tue Jul 07, 2020 2:44 pm

I added new way to attaching weather to map.
Now all that required is edit a little WEATHDEF file (instruction included in it, its simple, I hope), and boom, snow/rain now attached to the specific map.
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: [Zsript] Very simple weather effects

Postby Hidden Hands » Wed Oct 21, 2020 2:51 am

I'm trying to download this and I honestly just cannot pull it off. How do I download this file?? Theres no green button for download there. I can "view code" but cannot download the zip.

Okay I managed to download it but I just cannot get this to work. I've been trying for over an hour. I get hundreds of errors and I just don't know why. I can never get this stuff to work, every time I try I always get error after error after error and I end up having to go without.

PLEASE can someone help me with what's wrong. I really really need this to work.
You do not have the required permissions to view the files attached to this post.
User avatar
Hidden Hands
Deadite
 
Joined: 21 Sep 2016
Location: London, England

Re: [Zsript] Very simple weather effects

Postby wildweasel » Wed Oct 21, 2020 10:23 am

I would presume that the "MarkSound" function is newer than whatever version of GZDoom you're using.

[edit] Then again this is marked for version 3.5, so, I'm probably wrong.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 16 Jul 2003

Re: [Zsript] Very simple weather effects

Postby Apeirogon » Wed Oct 21, 2020 11:44 am

Hidden Hands wrote:I'm trying to download this and I honestly just cannot pull it off. How do I download this file?? Theres no green button for download there. I can "view code" but cannot download the zip.

Okay I managed to download it but I just cannot get this to work. I've been trying for over an hour. I get hundreds of errors and I just don't know why. I can never get this stuff to work, every time I try I always get error after error after error and I end up having to go without.

PLEASE can someone help me with what's wrong. I really really need this to work.


LZdoom, according to your previous messages on forum?!
How I can recreate problem?
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Next

Return to Script Library

Who is online

Users browsing this forum: No registered users and 0 guests