![]() ![]() Go to the file variables.sqf you have in your custom folder inside your Mission PBO, and find this:Ģ. I will add some statistics so you can adjust the temperature according to your likings.ġ. First off, I want to say that the temperatures I used are for an Artic Environment. Now it's time to adjust the server temperature. Player_temp_calculation = compile preprocessFileLineNumbers "custom\fn_temperatur.sqf" Player_temp_calculation = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_temperatur.sqf" Open the compiles.sqf you moved to your custom folder inside your Mission PBO, and find the line: Put that file inside your Mission PBO in the same custom folder you created.ĩ. Go to your dayz_code.pbo file, open it and extract the file fn_temperatur.sqf that is inside a folder called compile.Ĩ. Open the init.sqf file that is in the root of your Mission PBO, and find the line:Ĭall compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf" Ĭall compile preprocessFileLineNumbers "custom\variables.sqf" ħ. Put that file inside your Mission PBO in the same custom folder you created.Ħ. Go to your dayz_code.pbo file, open it and extract the file variables.sqf that is inside a folder called init.ĥ. NOTE: You could also comment out the original line and add the one I suggest.Ĥ. Open the init.sqf file that is in the root of your Mission PBO, and find the line:Ĭall compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf" Ĭall compile preprocessFileLineNumbers "custom\compiles.sqf" If you already have a folder with that name you can use it.ģ. Put that file inside your Mission PBO in a folder called custom. Go to your dayz_code.pbo file, open it and extract the file compiles.sqf that is inside a folder called init.Ģ. What we're going to do now is bring all the needed files to our Mission PBO so we can modify them without problems.ġ. Also if you have any problem with that, go and ask him in his post. You can go and check the installation process in his I wont explain how to install that script because everything is well explained there. I used a Snowstorm Script created by GaspArt. If you don't want to add the snowstorm script you can skip that part and go directly to the temperature process. After adding the snow script, then I modified the server temperature to create the immersing effect. This guide has 2 parts, first I added a snow script, so that my server will have a great permanent snowstorm. I can suggest a good guide on how to create a dayz epoch local server I do not recommend to try this guide on your actual server, because this might need a lot of restarts until you get the desired effect. Try all these modificactions on a local server first. Specially if this change will be during christmas season only and after that you'll need to go back.ģ. Before changing anything, create backups. And the scripts mention below are just a suggestion, so you are free to choose another one.Ģ. So I decided to use a third part script to add snow and modify the server temperature to create that immersing effect during this season.ġ. In my case, I wanted to give to introduce my server to the christmas spirit. This process should work on all "Normal Dayz Epoch Maps", if you have an additional mod with a different map, then this guide might not work. This post is meant to help everyone to modify a dayz epoch server temperature for any reason and add a snowstorm(optional). Im sure there should be other ways to get this same effect so you should look at this guide as a suggested way. This is just a way to achieve this, or at least the way I did it. This is my first post and I hope I wrote it on the right area. I even tried to put all values at -100 and nothing happens.Ĭan someone tell me how this factors work? I want my players to find shelter, or a car or a fire to be safe, otherwise they die by hypothermia. _sun_factor = -5 //max sunfactor linear over the day. _fire_factor =Ĕ //Should be always: _rain_factor _night_factor _wind_factor || higher ! All Values can be seen as x of 100: 100 / x = minutes from min temperetaure to max temperature (without other effects) Factors are equal to win/loss of factor*basic value ![]() Im using this factors to modify the temperature but it doesnt have any effect on the server. Of course modifing the call from "compiles.sqf" file. I made a copy of the file "fn_temperatur.sqf" originally located at dayz_code.pbo to my mission file. I need to make my server colder, cold as hell :D. I've been for hours trying to understand the way it works, but I havent been able to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |