PTWS/README.md

42 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2016-08-26 18:31:15 +00:00
# PTWS
####Persistent Time and Weather System
2016-08-26 19:06:22 +00:00
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.
2016-08-26 18:31:15 +00:00
#### Features
* Persistent time (year, month, day, hour, minute)
2016-08-26 19:06:22 +00:00
* Persistent weather
* Dynamic weather (thanks to code34's Real weather)
* Seasons that change the temperature
* Snow based on temperature and current overcast
2016-08-26 18:31:15 +00:00
* Time accleration
#### To-do List
2016-08-26 19:10:34 +00:00
* ~~Add Persistent weather~~
* ~~Configure seasons based on months~~
2016-08-26 19:06:22 +00:00
* Make the seasons affect more than the temperature
2016-08-26 18:31:15 +00:00
* ????
## Installation
#### extDB
1) Execute `PTWS-SQL.sql` in your mySQL viewer.
2) You should now have a ptws table.
2017-04-30 01:47:33 +00:00
3) For 32bit: Copy the contents of `PTWS.ini` into your `@ExileServer\extDB\sql_custom_v2\exile.ini` file at the bottom.
3) For 64bit: Copy the contents of `PTWS_x64.ini` into your `@extdb3\sql_custom\exile.ini` file at the bottom.
2016-08-26 18:31:15 +00:00
##### Server
1) 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.
##### Mission
1) Copy `PTWS` from `Mission Files\mpmissions\Exile.Yourmap` into the root of your Exile.Yourmap folder.
2016-08-26 19:06:22 +00:00
2) Open your `config.cpp` in your mission folder and edit your `CfgExileCustomCode` and add a two new lines inside like this:
2016-08-26 19:12:16 +00:00
`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";`
2016-08-26 18:31:15 +00:00
#### You are done!