Jump to content

ATRealMaster

Member
  • Content Count

    166
  • Joined

  • Last visited


Reputation Activity

  1. Like
    ATRealMaster reacted to Donnovan in Joelma's Time Control   
    If you like my work, please consider a donation:

    $USD

    $EURO

    *** UPDATED THE FILE TIME_CONTROL.SQF IN 2014-10-09 13:00 ***
    *** TIME_CONTROL.SQF WAS CHANGED, THE CHANGED PARTE HAVE ***
    *** THE COMMENT "//LAST CHANGE WAS IN THIS SPAWN" ***

    JOELMA'S TIME CONTROL SYSTEMA

    Default configuration: A day of 2 hours.
    - 60 minutes completely day time (08:00 - 16:00)
    - 36 minutes of sunrise and sunfall (04:00 - 08:00, 16:00 - 20:00)
    - 24 minutes of night (00:00 - 04:00, 20:00 - 24:00)

    CLIENT SIDE: TIME_CONTROL.SQF
    In your mission folder, create the folder custom if it does not exist.
    Create inside the custom folder a txt file called time_control.sqf.
    Put inside time_control.sqf the content bellow:


    donn_sleep = 0.2; donn_multi = 2; drn_fnc_DynamicWeather_SetWeatherLocal = {}; 0 setOvercast 0; 0 setFog 0.05; if (!isDedicated) then { "cad_pvar_server_date" addPublicVariableEventHandler {(_this select 1) call donn_setdate;}; donn_setdate = { private ["_dateSer","_dateCli","_date_diff"]; donn_speed = _this select 1; 0 setOvercast 0; _dateSer = dateToNumber (_this select 0); _dateCli = dateToNumber date; _date_diff = (_dateSer-_dateCli)*12*31*24; if (abs _date_diff > 5/60) then {setDate (_this select 0);}; }; }; [] spawn { //LAST CHANGE WAS IN THIS SPAWN private ["_tm","_tmLen"]; _tm = diag_tickTime; waitUntil {!isNil "donn_speed"}; while {true} do { sleep donn_sleep; _tmLen = diag_TickTime - _tm; _tm = _tm + _tmLen; skipTime ((_tmLen*(donn_speed*donn_multi-1))/3600); }; }; if (!isDedicated) then { [] spawn { for "_x" from 1 to 10 do { "infiSTAR_SetDate" addPublicVariableEventHandler {}; "PVDZE_plr_SetDate" addPublicVariableEventHandler {}; cad_pvar_send_owner = player; publicVariableServer "cad_pvar_send_owner"; sleep 0.5; }; }; }; CLIENT SIDE: INIT.SQF
    Step 1
    On your mission folder, open the file init.sqf.

    Inside it change this:


    //Start Dynamic Weather execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; To this:
    //Start Dynamic Weather //execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; Step 2At the end of your init.sqf file, add this line:


    call compile preprocessFileLineNumbers "custom\time_control.sqf"; SERVER SIDE: SERVER_FUNCTIONS.SQF
    Now we need to modify files inside dayz_server.pbo.

    At the end of the file init\server_functions.sqf add this code:



    initialSend = false; donn_server_timeSync = server_timeSync; server_timeSync = {if (!initialSend) then {[] call donn_server_timeSync;}; initialSend = true;}; [] spawn { waitUntil {initialSend}; while {true} do { _dayTime = dayTime; //========================TIME FUNCTION============================ if (_dayTime >= 8 && _dayTime <= 16) then {donn_speed = 4.000;}; if (_dayTime > 4 && _dayTime < 8) then {donn_speed = 6.666;}; if (_dayTime > 16 && _dayTime < 20) then {donn_speed = 6.666;}; if (_dayTime <= 4 || _dayTime >= 20) then {donn_speed = 10.000;}; //================================================================= cad_pvar_server_date = [date, donn_speed]; publicVariable "cad_pvar_server_date"; sleep 30; }; }; "cad_pvar_send_owner" addPublicVariableEventHandler { cad_pvar_server_date = [date, donn_speed]; owner (_this select 1) publicVariableClient "cad_pvar_server_date"; }; BATTLEYE FILTER:
    On the BattlEye filter publicvariable.txt search for the line that start with 5 "" and add at the end of it an empty space and than !"cad_pvar_s".
     
    My line is like that after the adition:


    EXTRA:
    To have a 3 hours day, change the line "donn_multi = 2;" in time_control.sqf:


    donn_multi = 1; -> 4 hours day donn_multi = 4/3; -> 3 hours day donn_multi = 2; -> 2 hours day
  2. Like
    ATRealMaster reacted to oifriendlyfire in Great Mod! Lots of fun to be had!   
    Just wanted to say thanks for developing this. We love it! 
     
    We built rMod2 and rMod2.1 and its nice to see the addition of community made addons in mods like these! Thanks again, guys! 
  3. Like
    ATRealMaster got a reaction from 11Hotel in [Release]OW Pack Install Pack   
    Hello everyone, this is the pack for people who doesnt't know or don't want to install things like loot tables and add vehicle spawns, so I put together a pack for them. (REMEMBER TO CHANGE THE TRADER TID):

    OW Pack is a weapon and vehicle pack, it adds LOTS of weapons that overwatch doesn't have, like M4s, AKs(different from Overwatch), Mk18, AR-10s and many more.....
    You can download OW Pack here: http://offgaming.us/owpack/

    Kat & NGHD did some of the weapons aswell.
    Kat's Post:
    NGHD's Post:

    The Content below is made by me
    Weapon Trader Entries: http://pastebin.com/HYtFtDwJ
    Ammo Trader Entries: http://pastebin.com/XLA5839r
    dynamic_vehicle.sqf: http://pastebin.com/Qi1KgfT5

    1.0.4.2:
    Loottables(CfgLoot.hpp): http://pastebin.com/iYSG8niu
    Loottables(CfgBuildingLoot.hpp): http://pastebin.com/htZRCGQe
    Loottables(CfgLootSmall.hpp): http://pastebin.com/9zh6FvJq
    Loottables(CfgLootPos.hpp): http://pastebin.com/ZCajwhm8

    1.0.5.1:
    Loottables(CfgLoot.hpp): http://pastebin.com/BG7GRs3N
    Loottables(CfgBuildingLoot.hpp): http://pastebin.com/ucPm3jRU
    Loottables(CfgLootSmall.hpp): http://pastebin.com/SrFBiYBg
    Loottables(CfgLootPos.hpp): http://pastebin.com/EpHeNyS4

    If you are having trouble accessing pastebin, then download the pack Here
    If you don't know how to install custom Loot Tables, Then click
    Put Dynamic vehicle in @DayZ_Epoch_Server\addons\dayz_server\missions\YOURMISSION. REPLACE dynamic_vehicle.sqf

    If you already have OW Pack, then feel free to join my server!
    IP:120.148.145.111:2301/120.148.145.111:2302
    UPDATE(6/8/2014):
    Sorted Weapon/Ammo Types Changed Price for Weapons Added Link to Entries for Weapon Ammo Uploaded Loot Tables Uploaded "dynamic_vehicle.sqf" UPDATE(21/8/2014):
    Added Loot Tables for 1.0.5.1 More "Appropriate" Prices
  4. Like
    ATRealMaster got a reaction from inigomontoyayoukilledmydad in [Release]OW Pack Install Pack   
    UPDATE(6/8/2014):
    Sorted Weapon/Ammo Types Changed Price for Weapons Added Link to Entries for Weapon Ammo Uploaded Loot Tables Weapon Trader Entries: http://pastebin.com/xu3tuRdX
    Ammo Trader Entries: http://pastebin.com/XLA5839r
    Loottables(CfgLoot.hpp): http://pastebin.com/iYSG8niu
    Loottables(CfgBuildingLoot.hpp): http://pastebin.com/htZRCGQe
    Loottables(CfgLootSmall.hpp): http://pastebin.com/9zh6FvJq
    Loottables(CfgLootPos.hpp): http://pastebin.com/ZCajwhm8
    dynamic_vehicle.sqf: http://pastebin.com/dQhgW7ST
     
    If you are having trouble accessing pastebin, then download the pack Here
    If you don't know how to install custom Loot Tables, Then click 
    Put Dynamic vehicle in @DayZ_Epoch_Server\addons\dayz_server\missions\YOURMISSION.     REPLACE dynamic_vehicle.sqf
  5. Like
    ATRealMaster got a reaction from inigomontoyayoukilledmydad in [Release]OW Pack Install Pack   
    Hello everyone, this is the pack for people who doesnt't know or don't want to install things like loot tables and add vehicle spawns, so I put together a pack for them. (REMEMBER TO CHANGE THE TRADER TID):

    OW Pack is a weapon and vehicle pack, it adds LOTS of weapons that overwatch doesn't have, like M4s, AKs(different from Overwatch), Mk18, AR-10s and many more.....
    You can download OW Pack here: http://offgaming.us/owpack/

    Kat & NGHD did some of the weapons aswell.
    Kat's Post:
    NGHD's Post:

    The Content below is made by me
    Weapon Trader Entries: http://pastebin.com/HYtFtDwJ
    Ammo Trader Entries: http://pastebin.com/XLA5839r
    dynamic_vehicle.sqf: http://pastebin.com/Qi1KgfT5

    1.0.4.2:
    Loottables(CfgLoot.hpp): http://pastebin.com/iYSG8niu
    Loottables(CfgBuildingLoot.hpp): http://pastebin.com/htZRCGQe
    Loottables(CfgLootSmall.hpp): http://pastebin.com/9zh6FvJq
    Loottables(CfgLootPos.hpp): http://pastebin.com/ZCajwhm8

    1.0.5.1:
    Loottables(CfgLoot.hpp): http://pastebin.com/BG7GRs3N
    Loottables(CfgBuildingLoot.hpp): http://pastebin.com/ucPm3jRU
    Loottables(CfgLootSmall.hpp): http://pastebin.com/SrFBiYBg
    Loottables(CfgLootPos.hpp): http://pastebin.com/EpHeNyS4

    If you are having trouble accessing pastebin, then download the pack Here
    If you don't know how to install custom Loot Tables, Then click
    Put Dynamic vehicle in @DayZ_Epoch_Server\addons\dayz_server\missions\YOURMISSION. REPLACE dynamic_vehicle.sqf

    If you already have OW Pack, then feel free to join my server!
    IP:120.148.145.111:2301/120.148.145.111:2302
    UPDATE(6/8/2014):
    Sorted Weapon/Ammo Types Changed Price for Weapons Added Link to Entries for Weapon Ammo Uploaded Loot Tables Uploaded "dynamic_vehicle.sqf" UPDATE(21/8/2014):
    Added Loot Tables for 1.0.5.1 More "Appropriate" Prices
×
×
  • Create New...