Istar-Eldritch / ThermalSystem

A thermal management system for DayZ
Other
1 stars 2 forks source link

Add a player thermal buffer multiplier #23

Open Istar-Eldritch opened 4 months ago

Istar-Eldritch commented 4 months ago

There should be a way for server admins to regular how fast players can acquire thermal buff.

Istar-Eldritch commented 4 months ago

This can be changed by adding to init.c

modded GameConstants
{
    const float ENVIRO_PLAYER_HEATBUFFER_DECREASE       = 0.34;     //! Multiplier of enviro temperature for heat buffer decrease (after its static timer runs out)
    const float ENVIRO_PLAYER_HEATBUFFER_INCREASE       = 0.51;     //! How much heat buffer increases per one enviro tick
    const float ENVIRO_PLAYER_HEATBUFFER_TICK           = 0.011;    //! Heat buffer static timer tick (set for 2s enviro tick, 180s to 1.0)
}