AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   ELEMENT|Live Weather with windage cvar. (Updated AUG 14TH 2022.) (https://forums.alliedmods.net/showthread.php?t=245120)

DJEarthQuake 07-28-2014 15:44

ELEMENT|Live Weather with windage cvar. (Updated AUG 14TH 2022.)
 
3 Attachment(s)
Click below for Snow demo.
https://i.imgur.com/2wpV1d0.gif
Modern Amxx weather feed and generation for all mods.

This is a fork of Autoweather by TeddyDesTodes.

Some things that makes this weather plugin unique.
  • It works on all mods.
  • Attempts to make weather on mods that do not have it in the dll have been strenuously made.
  • Sophisticated debugger.
  • Windage.
  • Companion plugin 'clientemp' gets the temperature for clients as they connect and speaks it. Same API token.
https://i.imgur.com/nkEUUL4.gif

Rain, snow, skies, dusk, dawn, and wind are all brought into your server.


Commands, Cvars, FAQ, and known limits.
Spoiler

QUICK INSTALL INSTRUCTIONS AND OVERVIEW
Download Script
Get this from Github.
Compile script locally and install the skies as well as plugin.

Once running plugin checks if there is an openweathermap.org key added as CVAR.
Server will then produce weather automatically based on locale from CVAR, sv_region.
Incompatible with Amxx 1.82.

internel 07-28-2014 18:05

Re: Element
 
Thank you so much for updating that plugin. I couldn't answer your PM, but you know, If you want to add ML support, I'll be glad to help with Spanish ^^

I'm going to test it!

DJEarthQuake 07-28-2014 22:01

Re: Element
 
You are most welcome internal.

internel 07-29-2014 17:42

Re: Element
 
This is AWESOME!! I just tested it, and it works perfectly!! :D, you sir did a great job here ! :crab:

thank ye!

Vivo 07-29-2014 22:34

Re: Element
 
Sounds great :D

DJEarthQuake 07-31-2014 04:49

Re: Element
 
Ironically I almost forgot the earthquake condition. I have seen maps with such an effect that will be perfect here. Those are rare. Therefore this is placed at an extremely low priority.

A proposed windy condition will make us have to check the wind direction and compensate at range.

Already existing plugin Shot Administration (by Nomexous) or similar will be used to handle the trigger of high wind.
Accuracy fix could be used then disabled when it gets windy. I also noticed ever since CS 1.6 got to Steam it wasn't accurate.

The sky is off at noon and shows a night sky still. This will be corrected too. Let me know what else. I appreciate the salutations.

zmd94 08-01-2014 21:43

Re: Element
 
Quote:

Originally Posted by DJEarthQuake (Post 2176634)
Ironically I almost forgot the earthquake condition.

A proposed windy condition will make us have to check the wind direction and compensate at range.

So, epic. :up:

I will wait for this update. Just let we all know, when it is ready.

DJEarthQuake 08-22-2014 15:40

Re: Element
 
I made an update to the source. Debugging was enabled. Now it is disabled. Majority of the log is currently too cryptic. I had an update earlier this week. I promptly took it down. Sky tuning is still underway. IE | Night sky showing at noon.

DJEarthQuake 08-26-2014 01:15

Re: Element
 
I like how OpenWeatherMap.org has current wind condition.

$~telnet api.openweathermap.org 80
Trying 162.243.53.59...
Connected to api.openweathermap.org.
Escape character is '^]'.
[
Code:

GET /data/2.5/weather?id=4887398&units=imperial&APPID=register-for-a-openweathermap&u=c HTTP/1.0
...PRESS ENTER TWICE...

HTTP/1.1 200 OK
Server: openresty
Date: Sun, 02 Apr 2017 00:57:51 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 438
Connection: close
X-Cache-Key: /data/2.5/weather?APPID=register-for-a-openweathermap=4887398&u=c&units=imperial
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST

{"coord":{"lon":-87.65,"lat":41.85},"weather":[{"id":800,"main":"Clear","description":"cl ear sky","icon":"01n"}],"base":"stations","main":{"temp":50,"pressur e":1022,"humidity":46,"temp_min":46.4,"temp_m ax":53.6},"visibility":16093,"wind":{"speed":6.93,"deg" :110},"clouds":{"all":1},"dt":1491093300,"sys":{" type":1,"id":1007,"message":0.1218,"country": "US","sunrise":1491132670,"sunset":1491178654 },"id":4887398,"name":"Chicago","cod":200}
Connection closed by foreign host.

This is a good start. If anybody else wanted to collaborate or spin-off with the sniping section! Hint hint wink wink nudge n u d g e.

Dare.Devil 08-27-2014 15:54

Re: Element
 
where exactly in yahoo can I find the region code??..

you said in first post e.g chicago 2379574 ..

how do I get this serial code??

thanks in advance


All times are GMT -4. The time now is 15:10.

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