diff --git a/SQF/dayz_code/Configs/CfgWorlds.hpp b/SQF/dayz_code/Configs/CfgWorlds.hpp index d788134c9..caf013eea 100644 --- a/SQF/dayz_code/Configs/CfgWorlds.hpp +++ b/SQF/dayz_code/Configs/CfgWorlds.hpp @@ -34,7 +34,7 @@ class CfgWorlds { access = 3; worldId = 4; cutscenes[] = {"DayZModIntro1"}; - description = "DayZ Epoch 1.0.6"; + description = DayZVersion; icon = ""; worldName = "\ca\chernarus\chernarus.wrp"; pictureMap = ""; diff --git a/SQF/dayz_code/Configs/rscTitles.hpp b/SQF/dayz_code/Configs/rscTitles.hpp index 46a123f43..92c1887a1 100644 --- a/SQF/dayz_code/Configs/rscTitles.hpp +++ b/SQF/dayz_code/Configs/rscTitles.hpp @@ -229,7 +229,7 @@ class RscDisplayMain : RscStandardDisplay class DAYZ_Version : CA_Version { idc = -1; - text = "DayZ Epoch 1.0.6"; + text = DayZVersion; y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)"; }; delete CA_TitleMainMenu; diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index f27965ed1..ff3923a60 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -1,4 +1,5 @@ #include "Configs\basicDefines.hpp" +#include "\z\addons\dayz_code\version.hpp" #include "Configs\CfgNonAIVehicles.hpp" //Axeman lights class CfgPatches @@ -49,7 +50,7 @@ class CfgMods hidePicture = 0; hideName = 0; action = "http://www.dayzepoch.com"; - version = "DayZ Epoch 1.0.6"; + version = DayZVersion; hiveVersion = 0.96; //requiredAddons[] = {"Chernarus"}; // No need to load for other maps }; diff --git a/SQF/dayz_code/version.hpp b/SQF/dayz_code/version.hpp new file mode 100644 index 000000000..82166aa32 --- /dev/null +++ b/SQF/dayz_code/version.hpp @@ -0,0 +1 @@ +#define DayZVersion "DayZ Epoch 1.0.6" \ No newline at end of file