Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Weather Control (1.17) [12-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-24-2021 , 06:37   Re: [L4D2] Weather Control (1.12) [24-Nov-2021]
Reply With Quote #161

Code:
1.12 (24-Nov-2021)
    - Added data config key "post_process_idle" and "post_process_storm" to modify post process effects. Will override the cvar value. Requested by "EternalStar".
    - Added a debug define to log some information for help in tracking down issues.
    - Compatibility support for SourceMod 1.11. Fixed various warnings.
Ok added.
__________________
Silvers is offline
EternalStar
Junior Member
Join Date: Nov 2021
Old 11-24-2021 , 21:38   Re: [L4D2] Weather Control (1.12) [24-Nov-2021]
Reply With Quote #162

169655.attach(3873) : error 017: undefined symbol "RemoveEntity"

That shows up when you click to download plugin.
EternalStar is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-24-2021 , 23:48   Re: [L4D2] Weather Control (1.12) [24-Nov-2021]
Reply With Quote #163

Thanks. I've set it to the 1.10 compiler now.
__________________
Silvers is offline
EternalStar
Junior Member
Join Date: Nov 2021
Old 11-28-2021 , 22:29   Re: [L4D2] Weather Control (1.12) [24-Nov-2021]
Reply With Quote #164

Great work, already putting it to use. I've got almost 30 dif storm configs right now but some work better than others on specific maps and need to do some more tweaking. Thank god you made it so you can reload in-game w/o reloading map or else I'd never have done this. Perhaps once I'm happier with results on maps I'll post my file.

If I could make any other suggestions it'd be these:

have the selected weather effect have an option to change sv_force_time_of_day. Never been entirely sure why there are 5 dif TODs when the effect they actually have is binary in how far zombies see at night vs day & if witches wander or not. This would make it so that if you had a night time weather effect on The Parish you wouldn't have wandering witches.

Storm Trigger percent chance in scavenge when someone pours a can or when it becomes overtime. I think that overtime especially could be cool (tho almost nobody plays scavenge anymore ). REALLY puts the pressure on when OT hits.

sun position change cvar. You could allow for manual setting or you could simply create like 5 preset dif positions (similar to the time of day cvar) and have the person input which preset they want. This way you could have a dusk or noon sun position depending on your intention for the time of day.

A cvar that lets you just disable the weather plugin except on official maps.

Obviously none are needed, just thought IF you were to add anything these would be good ideas, with the time of day one being useful and fairly simple.

Also I found this workshop item that discusses the issue of the low level shader causing purple/black missing texture. It says it has to do with code calling for an LDR version of a skybox texture that doesn't exist. I dunno if there is anything sourcemod can do for that, my level of code knowledge extends only to very basic level javascript & I'm not familiar that much with l4d2's options. Thought I'd share incase there was anything useful for you.

https://steamcommunity.com/sharedfil...rchtext=skybox

Last edited by EternalStar; 11-28-2021 at 22:42.
EternalStar is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-29-2021 , 04:00   Re: [L4D2] Weather Control (1.12) [24-Nov-2021]
Reply With Quote #165

So modify "sv_force_time_of_day" with a key value entry in the data config? - Done.

Sun position, I guess so I just never tried. I can add that too if it works. - Does not work.

Quote:
Storm Trigger percent chance in scavenge when someone pours a can or when it becomes overtime.
Added.

Quote:
A cvar that lets you just disable the weather plugin except on official maps.
You can use the Map Configs plugin to do this, not something I will add.


As for the skybox this is something client side and only that addon can fix.


Edit: will release update soon.
__________________

Last edited by Silvers; 11-30-2021 at 04:49.
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-30-2021 , 04:57   Re: [L4D2] Weather Control (1.13) [30-Nov-2021]
Reply With Quote #166

Done.

Code:
1.13 (30-Nov-2021)
    - Added data config key "time_of_day" to modify the servers "sv_force_time_of_day" cvar value. Requested by "EternalStar".
    - Added data config key "trigger_pourgas" to trigger the storm by chance when pouring a gascan. Requested by "EternalStar".
    - Added data config key "trigger_scavenge" to trigger the storm by chance when Scavenge overtime starts. Requested by "EternalStar".
    - Fixed not overriding the "trigger_finale" key value from a map specific section.
    - Fixed not overriding the "trigger_witch_alert" key value from a map specific section.
__________________
Silvers is offline
haitian
New Member
Join Date: Oct 2017
Old 12-24-2021 , 03:24   Re: [L4D2] Weather Control (1.13) [30-Nov-2021]
Reply With Quote #167

good, can you make one for L4D1 too? i want to change skybox in L4D1 too, thank you very much!!!
haitian is offline
Hazmeister
New Member
Join Date: Dec 2021
Old 12-30-2021 , 13:05   Re: [L4D2] Weather Control (1.13) [30-Nov-2021]
Reply With Quote #168

Just a little comment to say I love this plugin! I love the dynamic weather!
Hazmeister is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-03-2022 , 10:51   Re: [L4D2] Weather Control (1.13) [30-Nov-2021]
Reply With Quote #169

The latest L4D1 fork aimed for custom skyboxes. If you don't have one, change cfg or use the original.

Quote:
1.8.5 (fork by Dragokas) - 19-Jun-2021
- No need to define default skybox anymore. It is detected automatically.

1.8.4 (fork by Dragokas)
- L4D1 compatibility: removed g_iStormLayer and g_iVoip entities.

1.8.3 (fork by Dragokas) private
- Added downloading skyboxes to client depending on current map they used

1.8.2 (fork by Dragokas)
- Added changing daylight time according to the real time in server (require testing).
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_storm.sp - 125 views - 125.2 KB)
File Type: cfg l4d2_storm.cfg (2.6 KB, 60 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 01-03-2022 at 10:53.
Dragokas is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-13-2022 , 16:20   Re: [L4D2] Weather Control (1.13) [30-Nov-2021]
Reply With Quote #170

i love this even my many player not liked lol owner's power
any way i known rain have small edition like c4m2_sugarmill_a i love that
how i set it on "all sectoin"? seems is not "rain" to "1"
thank you
----
yea i fianlly found it is rain type 6
__________________

Last edited by NoroHime; 01-13-2022 at 17:30.
NoroHime is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode