From 211cc7988d9a2d8720ef010a6ac44dfd36d21700 Mon Sep 17 00:00:00 2001 From: vbawol Date: Wed, 9 Sep 2015 16:16:39 -0500 Subject: [PATCH] move gamemode init to mission --- Changelogs/0.3.3.0.txt | 11 +++++++-- .../@epochhive/addons/a3_epoch_server.pbo | Bin 353179 -> 353182 bytes .../addons/a3_epoch_server_settings.pbo | Bin 270937 -> 270937 bytes .../mpmissions/epoch.Altis.pbo | Bin 27856 -> 28093 bytes .../mpmissions/epoch.Australia.pbo | Bin 27910 -> 28147 bytes .../mpmissions/epoch.Bornholm.pbo | Bin 27875 -> 28112 bytes .../mpmissions/epoch.Chernarus.pbo | Bin 27976 -> 28213 bytes .../mpmissions/epoch.Chernarus_Summer.pbo | Bin 28032 -> 28269 bytes .../mpmissions/epoch.Esseker.pbo | Bin 27864 -> 28101 bytes .../mpmissions/epoch.Stratis.pbo | Bin 27898 -> 28135 bytes .../mpmissions/epoch.Takistan.pbo | Bin 27921 -> 28158 bytes Server_Install_Pack/mpmissions/epoch.VR.pbo | Bin 29023 -> 29258 bytes .../mpmissions/epoch.Altis/description.ext | 21 ++++++++++++++++++ .../epoch.Australia/description.ext | 21 ++++++++++++++++++ .../mpmissions/epoch.Bornholm/description.ext | 21 ++++++++++++++++++ .../epoch.Chernarus/description.ext | 21 ++++++++++++++++++ .../epoch.Chernarus_Summer/description.ext | 21 ++++++++++++++++++ .../mpmissions/epoch.Esseker/description.ext | 21 ++++++++++++++++++ .../mpmissions/epoch.Stratis/description.ext | 21 ++++++++++++++++++ .../mpmissions/epoch.Takistan/description.ext | 21 ++++++++++++++++++ Sources/mpmissions/epoch.VR/description.ext | 20 +++++++++++++++++ 21 files changed, 197 insertions(+), 2 deletions(-) diff --git a/Changelogs/0.3.3.0.txt b/Changelogs/0.3.3.0.txt index 8cf38549..dd77d86d 100644 --- a/Changelogs/0.3.3.0.txt +++ b/Changelogs/0.3.3.0.txt @@ -1,9 +1,14 @@ -[Added] New upgrade system for Wood Tower. +[Added] Basic energy capacity system, controls how much power is available based on the type of energy source. +[Added] New upgrade system for Wood Tower, add two lumber packs to add windowed wall. [Added] 4 new plywood walls as first level base walls. [Added] Wood Ladder that can be crafted from 4x lumber. [Added] Wood Tower that can be crafted from a Wood Floor and 4x lumber. -[Added] Solar Generator base item can be crafted from items found in the world. When placed gives passive power within 75m. +[Added] Solar Generator base item can be crafted from items found in the world. When placed gives passive power within (75m Default). [Added] New loot/crafting items (Solar Panels, Wire Cables, Battery Box) added to loot tables. +[Added] NightVision now use a static rate of 3 per 10 seconds. This can be changed with 'energyCostNV' variable via CfgEpochClient. +[Added] Max rate of energy gain can be controlled with 'energyRegenMax' variable via CfgEpochClient. +[Added] Max range of energy gain can be controlled with 'energyRange' variable via CfgEpochClient. +[Changed] Moved client gamemode and CfgFunctions init to mission file. [Changed] Base building upgrade recipes and remove payouts now have dedicated config "CfgBaseBuilding" and code supports over-loading via description.ext. [Changed] Removed base object "Move" in 3d option in favor of a more refined ghost snap mode. [Changed] Server side database functions renamed and now use cfgFunctions via a new pbo "epoch_server_core". @@ -11,6 +16,8 @@ [Changed] Make use of new command getAllHitPointsDamage in A3 1.50 to increase performance of hitpoint data storage. [Changed] Use new A3 command setHitIndex instead of setHitPointDamage so we can use all hitpoints regardless of name. [Changed] Change BIS_fnc_distance2D usage over to distance2D command that was added with A3 1.50 for better performance. +[Fixed] Can now press '2' to disable building snap mode and 1 to re-enable. +[Fixed] Can now disable base building by pressing Esc or 'gear' menu. [Fixed] Normalized snap memory points for wood tower and stairs. [Fixed] Loot code for "CfgBuildingLootPos" now uses EPOCH_returnConfig to allow over-loading via description.ext. [Fixed] Error in rpt "No geometry and no visual shape" with Poppy and Goldenseal plants models. diff --git a/Server_Install_Pack/@epochhive/addons/a3_epoch_server.pbo b/Server_Install_Pack/@epochhive/addons/a3_epoch_server.pbo index 1aaaed6a204b6103bcb10951183a3945078126a6..275c49540afb5ae1050a2b1504b5852bb7d8f7e1 100644 GIT binary patch delta 106 zcmV-w0G0on#}%H(6|lV%23(-Qi6gw&2!@@7a&h-2eap delta 97 zcmV-n0G|Jz#}%8$6|lV%lTZ-^0`CHoVGBmaoN delta 93 zcmcb4MBwHTfe9gs?4ch*T^JY`lJoP@GSl^v3krZ71Yi%{SZc=1Vs2?_-n^ca$34u zXy*$r_6vWQWEH2K>&(kX|%ms^^#6#rOHQsMb3t-;7n1wA< ayL&`5a+()%nSgHp%*Uz diff --git a/Server_Install_Pack/mpmissions/epoch.Australia.pbo b/Server_Install_Pack/mpmissions/epoch.Australia.pbo index d8f44b018ecdb833883089ca8ae8d16f6921a853..3de5645d020910a64fb08683fb5f5ad9d8dde45f 100644 GIT binary patch delta 311 zcmZp>#rXL);{c_kn| zSQ%$pW=<+dVN69#VoD0oyqHAe_|$^@_{FKy~%)HDJh<>O6K!Fsney9PQ1x2Zz zKt(`948itr)ym<|?Tc$|4|GhhFw_dtoQgc1~ N>GFq*CEX0p0RYpISTX1e3S#GG78hsc=jjy}=7PmD;vw?t8t*rz1u$=3%wm%% aa!FCieCu2Pj5i_ScQ0RS;ugL7%L@Rha$34u zXy*$r&(kX|%ms_P#zW-QG~RDa3t-;7m_;&E a#IIWVuh81*|Nl7Wbgp|UBt7HbdshIpAR4&< diff --git a/Server_Install_Pack/mpmissions/epoch.Chernarus.pbo b/Server_Install_Pack/mpmissions/epoch.Chernarus.pbo index c680f14ce6b2c923cb1aec7014ba7c0b3d185322..a6af5e20b2d37565613f3cafd3c3608a9f5b258d 100644 GIT binary patch delta 311 zcmX?ci*f56#tGKi-*_3oKzG)MP!Kyev$!}jKTof?Fc&PoDjp*5JnO^8v;gM%#OEwYOjoc~P;w3MclJ=S28lqFIOk-h=9Pf> zU}cS^I{T><5LUrlQZIz^HWk|GV?M^Ao`&O00mOO`k@AJ78Ip= z0u=!bF$CMgSqq^c_7&t8mw?Ow*$CGG6vL(ktPw&(kX|%ms_DiigOnYP{c=7QnoDF-u*h a$P9_xDt`$DpAKsoH~&p6x(EQ6d>Ebp diff --git a/Server_Install_Pack/mpmissions/epoch.Chernarus_Summer.pbo b/Server_Install_Pack/mpmissions/epoch.Chernarus_Summer.pbo index 7ebc0b1a085cedc975e514680080aac68fb14d09..4e0aa2fba70c17d46e1bcf6619e52d1110997f31 100644 GIT binary patch delta 311 zcmZp;&G_~X;{a$34u zXy*$r88CUdso6804u;(W&i*H delta 82 zcmaERhq2){;{}S^#r>a$34u zXy*$r MwN5Q5EP72I0FSLzD*ylh delta 82 zcmX?loAJg?#tGKioV*NRz^w5;6vWQWEH2K>&(kX|%ms^E#Y5zkG~RDa3t-;7n1wG> aq;FeQabNt+)_1IVU14?S=I%O_Gz9>x6&jxa diff --git a/Server_Install_Pack/mpmissions/epoch.Stratis.pbo b/Server_Install_Pack/mpmissions/epoch.Stratis.pbo index 551d8310b4c53c44e038403c4bdb4cff58361823..d990fbdaa20b7937440951d51b2e8c1094766dc3 100644 GIT binary patch delta 311 zcmex$lkxd&#tGKi-*_3oKyKEDP!Kyev$!}jKTof?Fc&Ny6AzKMpY>s5S^#r>a$34u zXy*$ra$34u zXy*$rsGkZg4a;Ka~ MH_cz1ufkgo0Haq_H2?qr delta 82 zcmex&n{nbT#tGKioV*NR@KgPLD2Sb#SzMf%pQl$`myTVT@Qm2M*#OEwYOjoc~P;w3MclJ=S28lqFIOk-h=9Pf> zU}c0tHOCYMD%0U7k#Zc9p1x2ZzKp~*fhG0WEYatZG@Pho} w5)2(cF>G4E8bJgI^KvEUY~I8?GgpMKzTGY<$b0uJPCtf(e^GrK^;>5H0G(=0od5s; delta 82 zcmX^0gz^3(#tGKi>jW9VK#=QwD2Sb#SzMf%pQl$`m7QnoDAI92&|1 diff --git a/Sources/mpmissions/epoch.Altis/description.ext b/Sources/mpmissions/epoch.Altis/description.ext index 628a25d6..63b6e071 100644 --- a/Sources/mpmissions/epoch.Altis/description.ext +++ b/Sources/mpmissions/epoch.Altis/description.ext @@ -36,6 +36,27 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + + class CfgRemoteExec { class Functions diff --git a/Sources/mpmissions/epoch.Australia/description.ext b/Sources/mpmissions/epoch.Australia/description.ext index 84a04438..c4debdbe 100644 --- a/Sources/mpmissions/epoch.Australia/description.ext +++ b/Sources/mpmissions/epoch.Australia/description.ext @@ -36,6 +36,27 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + + class CfgRemoteExec { class Functions diff --git a/Sources/mpmissions/epoch.Bornholm/description.ext b/Sources/mpmissions/epoch.Bornholm/description.ext index 84a04438..c4debdbe 100644 --- a/Sources/mpmissions/epoch.Bornholm/description.ext +++ b/Sources/mpmissions/epoch.Bornholm/description.ext @@ -36,6 +36,27 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + + class CfgRemoteExec { class Functions diff --git a/Sources/mpmissions/epoch.Chernarus/description.ext b/Sources/mpmissions/epoch.Chernarus/description.ext index 84a04438..c4debdbe 100644 --- a/Sources/mpmissions/epoch.Chernarus/description.ext +++ b/Sources/mpmissions/epoch.Chernarus/description.ext @@ -36,6 +36,27 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + + class CfgRemoteExec { class Functions diff --git a/Sources/mpmissions/epoch.Chernarus_Summer/description.ext b/Sources/mpmissions/epoch.Chernarus_Summer/description.ext index 84a04438..c4debdbe 100644 --- a/Sources/mpmissions/epoch.Chernarus_Summer/description.ext +++ b/Sources/mpmissions/epoch.Chernarus_Summer/description.ext @@ -36,6 +36,27 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + + class CfgRemoteExec { class Functions diff --git a/Sources/mpmissions/epoch.Esseker/description.ext b/Sources/mpmissions/epoch.Esseker/description.ext index ca56d14f..f924418a 100644 --- a/Sources/mpmissions/epoch.Esseker/description.ext +++ b/Sources/mpmissions/epoch.Esseker/description.ext @@ -36,6 +36,27 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + + class CfgRemoteExec { class Functions diff --git a/Sources/mpmissions/epoch.Stratis/description.ext b/Sources/mpmissions/epoch.Stratis/description.ext index 84a04438..c4debdbe 100644 --- a/Sources/mpmissions/epoch.Stratis/description.ext +++ b/Sources/mpmissions/epoch.Stratis/description.ext @@ -36,6 +36,27 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + + class CfgRemoteExec { class Functions diff --git a/Sources/mpmissions/epoch.Takistan/description.ext b/Sources/mpmissions/epoch.Takistan/description.ext index 84a04438..c4debdbe 100644 --- a/Sources/mpmissions/epoch.Takistan/description.ext +++ b/Sources/mpmissions/epoch.Takistan/description.ext @@ -36,6 +36,27 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + + class CfgRemoteExec { class Functions diff --git a/Sources/mpmissions/epoch.VR/description.ext b/Sources/mpmissions/epoch.VR/description.ext index 4fa091d6..1c076b56 100644 --- a/Sources/mpmissions/epoch.VR/description.ext +++ b/Sources/mpmissions/epoch.VR/description.ext @@ -36,6 +36,26 @@ wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; +class cfgFunctions +{ + class A3E + { + tag = "EPOCH"; + class Client + { + file = "\x\addons\a3_epoch_code\init"; + class init + { + preInit = 1; + }; + class postinit + { + postInit = 1; + }; + }; + }; +}; + class CfgRemoteExec { class Functions