ACE3/addons/thermals/config.cpp

41 lines
1.9 KiB
C++
Raw Permalink Normal View History

2015-01-11 21:21:16 +00:00
#include "script_component.hpp"
class CfgPatches {
2015-01-12 19:27:43 +00:00
class ADDON {
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
2015-05-11 16:50:04 +00:00
requiredAddons[] = {"ace_common"};
2015-01-12 19:27:43 +00:00
author[] = {"[TF]Nkey"};
authorUrl = "https://github.com/michail-nikolaev/";
VERSION_CONFIG;
};
};
class CfgVehicles {
2015-01-12 19:27:43 +00:00
class Land;
class Man: Land {
mFact = 1; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered))
tBody = 32; // Metabolism temperature of the model (in celsius)
};
2015-01-12 19:27:43 +00:00
class All;
// Up to this point, the thermal properties apply to the entire model,
// so if a vehicle's engine starts, the entire model will begin to warm up at the rate of htMax up to a temperature of afMax,
// likewise if it begins driving, the entire model will heat up at the rate specified by htMax to a maximum temperature of mfMax.
class AllVehicles: All {
htMin=60; // Minimum half-cooling time (in seconds)
htMax=1800; // Maximum half-cooling time (in seconds)
afMax=70; // Maximum temperature in case the model is alive (in celsius)
mfMax=50; // Maximum temperature when the model is moving (in celsius)
mFact=0.0; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered))
tBody=0; // Metabolism temperature of the model (in celsius)
};
2015-01-12 19:27:43 +00:00
class Animal;
class Animal_Base_F: Animal {
mFact = 1; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered))
tBody = 32; // Metabolism temperature of the model (in celsius)
};
};