Author: Source-Code
Author Website:

Requirements: No addons required

Version: 0.2a (alpha)

Short description: A dynamic weather platform.

Date: 2016-03-03 01:45


Comments: (0)
Rating:



 

RealWeatherSys Dynamic Weather platform

by
Source-Code


Description:
A dynamic weather platform created for a previous community, as I am no longer apart of them I thought
lets just share the code maybe people could learn from it's in it's immature stages and I haven't been able to improve on it
just yet due to all the things going on in my life along with a lack of a computer to write scripts. This requires no external dependencies and is designed to be lightweight if you see any improvements that could be made message me and I will try to evaluate them.


Installation / Usage:
Installation is the follows

1. Into your description.exit if you already have "headers" like these just place whats in the brackets into the description.ext
this > #include "scripts\RealWeatherSys\RemoteExecDefs\cfgRemoteExec.hpp"
into this > class CfgRemoteExec { };
and this > class CfgFunctions { };
class CfgRemoteExec
{
#include "scripts\RealWeatherSys\RemoteExecDefs\cfgRemoteExec.hpp"
};
class CfgFunctions
{
#include "scripts\RealWeatherSys\FunctionDefs\cfgFunctions.hpp"
};
2. Next place this into the initServer.sqf if you don't have one, make one and place it into the mission directory.
WeatherHandle = [] spawn RS_fnc_WeatherInitialiser;
3. Place the RealWeatherSys Folder into the directory scripts and that should be it.


Future plans:
Improve weather generation cycle to have more gradient change current sinewave generator "works" will need fine tuning
Segmentation of client and server code better
Improve performance (again)
move to completely server-side execution mainly.
TBD


License / Disclaimer:
There maybe security issues, yet I am aware of them, if so just set the remoteExec modes to 1 to whitelist only those peices of code. There could also be a possibility of broken code as I am unable to test this, so if it works woot, but if it doesn't use it to learn from


Changelog:
v0.2a (alpha)
- first release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Dynamic,   Improved,   Weather