####Persistent Time and Weather System####
PTWS is a script made for Exile that allows time and weather to persist through server restarts. It also has seasons defined by months that will change the temperature.
- Persistent time (year, month, day, hour, minute)
- Persistent weather
- Dynamic weather (thanks to code34's Real weather)
- Seasons that change the temperature
- Snow based on temperature and current overcast
- Time accleration
- 64bit compatibility.
Add Persistent weatherConfigure seasons based on months-
- Get a simple message out to players when body temperature drops below "?"
- Season change message or toast..
- Some kind of heavy storm with thunder or nuclear storm.
- Rework the configuration to include min/max value's for certain weather types/months.
- Add a little more debug information..
- Open to suggestions...
-
Execute
PTWS-SQL.sqlin your mySQL viewer. -
You should now have a ptws table.
-
For 32bit: Copy the contents of
PTWS.iniinto your@ExileServer\extDB\sql_custom_v2\exile.inifile at the bottom. -
For 64bit: Copy the contents of
PTWS_x64.iniinto your@extdb3\sql_custom\exile.inifile at the bottom.
- Take either the PTWS.pbo or the file and put it in your
@ExileServer\addons. Use the file if you want to configure the settings and pack it after you're done.
-
Copy
PTWSfromMission Files\mpmissions\Exile.Yourmapinto the root of your Exile.Yourmap folder. -
Open your
config.cppin your mission folder and edit yourCfgExileCustomCodeand add a two new lines inside like this:ExileServer_system_weather_initialize = "PTWS\ExileServer_system_weather_initialize.sqf";ExileClient_object_player_stats_updateTemperature = "PTWS\ExileClient_object_player_stats_updateTemperature.sqf";ExileClient_system_snow_thread_update = "PTWS\ExileClient_system_snow_thread_update.sqf";
-
MajorXAcE for the original work
-
DirtySanchez for the database fix and 64Bit compatibility.
-
http://epochmod.site.nfoservers.com/donkeypunch/index.php?topic=724.msg1828