Jump to content
  • 0

Temperature


Hux

Question

Can the temperature effect be adjusted or disabled?

I'm running an Epoch Taviana server with 2 carriers on it and would like to make it warmer on the carriers so we don't have to sit by fires or constantly use heatpacks.

Is this possible?

Thank you.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

_water_factor = -8;

_rain_factor = -3;

_night_factor = -1.5;

_wind_factor = -1;

So if I changed the 8 for water factor to 3 it would mean that water factor would be the same as rain?

Being over or in the water would take the same amount of time to get chilled as being in the rain?

Thanks for the reply.

Link to comment
Share on other sites

  • 0

_water_factor = -8;

_rain_factor = -3;

_night_factor = -1.5;

_wind_factor = -1;

So if I changed the 8 for water factor to 3 it would mean that water factor would be the same as rain?

Being over or in the water would take the same amount of time to get chilled as being in the rain?

Thanks for the reply.

 

Yep.

Link to comment
Share on other sites

  • 0

DayZ-Epoch / SQF / dayz_code / compile / fn_temperatur.sqf

Where do I find this "fn_temperatur.sqf" file?

Is it in the server pbo?

Thanks.

 

It's not in the server pbo, you need to extract it from the dayz_code.pbo using something like PBO Manager. Then, make your changes and package it into your mission file. Do the usual overrides in compiles.sqf, etc.

Link to comment
Share on other sites

  • 0

It's not in the server pbo, you need to extract it from the dayz_code.pbo using something like PBO Manager. Then, make your changes and package it into your mission file. Do the usual overrides in compiles.sqf, etc.

Do the usual overrides in compiles.sqf?

What does this mean?

I can't just change: _water_factor = -8;

To: _water_factor = -3;

Is there more involved?

Link to comment
Share on other sites

  • 0
You need a custom compiles.sqf and fn_temperatur.sqf in your mission file. You can't just change the files in dayz_code.
 
1) init.sqf
 
 
Change:
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";
 
To:
call compile preprocessFileLineNumbers "compiles.sqf";
 
2) compiles.sqf
 
 
Change:
player_temp_calculation = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_temperatur.sqf";
 
To:
player_temp_calculation = compile preprocessFileLineNumbers "fn_temperatur.sqf";
 
3) Make sure the edited versions of compiles.sqf and fn_temperatur.sqf are in the same folder as init.sqf in your mission file.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...