Skip to content

Commit

Permalink
Merge pull request #74 from EpochModTeam/experimental
Browse files Browse the repository at this point in the history
Release 1.0.0 Epoch Core
  • Loading branch information
vbawol authored Oct 26, 2017
2 parents a9d617e + 4f6a75c commit f5c2ffb
Show file tree
Hide file tree
Showing 923 changed files with 20,177 additions and 25,376 deletions.
71 changes: 71 additions & 0 deletions Build-Tools/build_client.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
@Echo Off
SETLOCAL enabledelayedexpansion

REM Workshop IDs:
REM EpochExperimental = 455221958
REM Normal Epoch = 421839251
SET WORKSHOPID=455221958
SET PBO_PREFIX=x\addons
SET SIGNFILE_PREFIX=epoch
SET SIGNFILE_VERSION=100

REM Arma 3 tools folder path
SET TOOLSPATH=C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Tools

REM set tool paths
SET AddonBuilder=%TOOLSPATH%\AddonBuilder
SET Publisher=%TOOLSPATH%\Publisher
SET DSSignFile=%TOOLSPATH%\DSSignFile
SET BIprivatekey=%DSSignFile%\%SIGNFILE_PREFIX%%SIGNFILE_VERSION%.biprivatekey

REM path to sources
SET MAIN_PATH=C:\Jenkins\workspace\Team_EpochCore_experimental-PYKIA2SJDPUF7555RH7E6CEJQ52WFATMHKVGEXIMVMJPB5FYVKYA
REM path to compiled mod
SET WORKSHOP_PATH=C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@epoch

REM build all PBO's
SET currentVersion="%MAIN_PATH%\version.txt"
SET currentBuild="%MAIN_PATH%\build.txt"

if exist %MAIN_PATH% (
ECHO "%MAIN_PATH% exists"
) else (
ECHO "%MAIN_PATH% doesn't exist"
exit /b 0
)

REM Create bikey if does not already exist
if not exist "%BIprivatekey%" (
START "DSCreateKey" /WAIT /d "%DSSignFile%" "%DSSignFile%\DSCreateKey.exe" %SIGNFILE_PREFIX%%SIGNFILE_VERSION%
)


SET AB_includes_path="C:\GITTEMP\includes.txt"

REM increase build number
SET /p BUILDNUMBER=<%currentBuild%
SET /A BUILDNUMBER = BUILDNUMBER + 1
echo %BUILDNUMBER% > %currentBuild%

REM Build Client Pbo's
echo building Client pbo's


SET SOURCE_PATH=%MAIN_PATH%\Sources


for /d %%D in ("%SOURCE_PATH%\*") do (
REM check if folder had a config.cpp file
if exist "%%~fD\config.cpp" (
SET pboBuild="%%~fD\build.hpp"
echo build=%BUILDNUMBER%; > !pboBuild!
START "AddonBuilder" /min /WAIT "%AddonBuilder%\AddonBuilder.exe" "P:\%PBO_PREFIX%\%%~nxD" "%WORKSHOP_PATH%\addons" -clear -prefix="%PBO_PREFIX%\%%~nxD" -sign="%BIprivatekey%" -project=P:\ -include=%AB_includes_path%
echo %%~nxD
)
)

REM upload to steam workshop to experimental client
SET CHANGELOG="Build:%BUILDNUMBER% See Changelogs: https://github.com/EpochModTeam/Epoch/tree/experimental/Changelogs"
START "" /WAIT "%Publisher%\PublisherCmd.exe" update /id:%WORKSHOPID% /changeNote:%CHANGELOG% /path:"%WORKSHOP_PATH%"

exit /b 0
15 changes: 15 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pipeline {
agent {
node {
label 'testing'
}

}
stages {
stage('Release') {
steps {
bat 'C:/GITTEMP/release_client.cmd'
}
}
}
}
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Epoch Mod for Arma 3
Epoch Mod assets for Arma 3
=====

http://epochmod.com
Expand All @@ -13,3 +13,7 @@ http://www.bistudio.com/community/licenses/arma-public-license-share-alike
Credits:
=====
https://github.com/EpochModTeam/Epoch/blob/release/CREDITS.md

Changelogs:
=====
https://github.com/EpochModTeam/Epoch/blob/experimental/changelog.md
2 changes: 1 addition & 1 deletion Sources/a2_epoch_weapons/build.hpp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build=531;
build=558;
2 changes: 1 addition & 1 deletion Sources/a2_epoch_weapons/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
weapons[]={};
requiredVersion=0.1;
requiredAddons[]={};
epochVersion = "0.5.0.0";
epochVersion = "1.0.0";
};
};
Binary file modified Sources/a2_epoch_weapons/treeView.txt
Binary file not shown.
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets/build.hpp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build=531;
build=558;
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class CfgPatches {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
epochVersion = "0.5.0.0";
epochVersion = "1.0.0";
requiredAddons[] = {};
};
};
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets/models/Wood_stairs.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets/models/Wood_stairs_upgrade.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets/models/Wooden_Floor_Ghost.p3d
Git LFS file not shown
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets/models/mineral_proxy.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets/models/shoebox.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets/models/shoebox_proxy.p3d
Git LFS file not shown
Binary file modified Sources/a3_epoch_assets/treeView.txt
Binary file not shown.
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets_1/build.hpp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build=531;
build=558;
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets_1/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class CfgPatches {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
epochVersion = "0.5.0.0";
epochVersion = "1.0.0";
requiredAddons[] = {};
};
};
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets_1/models/half_floor.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets_1/models/half_floor_ghost.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets_1/models/metal_floor_ghost.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets_1/models/quarter_floor.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets_1/models/quarter_floor_ghost.p3d
Git LFS file not shown
4 changes: 2 additions & 2 deletions Sources/a3_epoch_assets_1/models/zombie_parts_bag_v2.p3d
Git LFS file not shown
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger0.ogg
Git LFS file not shown
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger1.ogg
Git LFS file not shown
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger2.ogg
Git LFS file not shown
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger3.ogg
Git LFS file not shown
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger4.ogg
Git LFS file not shown
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger_alarm.ogg
Git LFS file not shown
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger_alarm_low.ogg
Git LFS file not shown
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger_tick.ogg
Git LFS file not shown
3 changes: 3 additions & 0 deletions Sources/a3_epoch_assets_1/sounds/geiger/geiger_tick_low.ogg
Git LFS file not shown
Binary file modified Sources/a3_epoch_assets_1/treeView.txt
Binary file not shown.
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets_2/build.hpp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build=531;
build=558;
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets_2/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ class CfgPatches
requiredAddons[] = {};
magazines[] = {};
ammo[] = {};
epochVersion = "0.5.0.0";
epochVersion = "1.0.0";
};
};
Binary file modified Sources/a3_epoch_assets_2/treeView.txt
Binary file not shown.
Git LFS file not shown
Git LFS file not shown
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets_3/build.hpp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build=531;
build=558;
2 changes: 1 addition & 1 deletion Sources/a3_epoch_assets_3/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ class CfgPatches
requiredAddons[] = {};
magazines[] = {};
ammo[] = {};
epochVersion = "0.5.0.0";
epochVersion = "1.0.0";
};
};
Binary file modified Sources/a3_epoch_assets_3/treeView.txt
Binary file not shown.
Binary file added Sources/a3_epoch_code/Data/UI/buttons/Drink.paa
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Sources/a3_epoch_code/Data/UI/favbar/fav_bg2.paa
Binary file not shown.
2 changes: 1 addition & 1 deletion Sources/a3_epoch_code/System/Construct_Brain.fsm
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ class FSM
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"_sanityCheck > 90;"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/"_canSee = false;" \n
"_nrTrgts = (getPosATL _construct) nearEntities [_trgtArr, _sRange];" \n
"_nrTrgts = _construct nearEntities [_trgtArr, _sRange];" \n
"if(count _nrTrgts >0)then{" \n
"{" \n
"if(alive _x)then{" \n
Expand Down
12 changes: 6 additions & 6 deletions Sources/a3_epoch_code/System/Copter_brain.fsm
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*%FSM<COMPILE "C:\Program Files (x86)\PoseidonTools\Data\Packages\Bin\fsmEditor\scriptedFSM.cfg, copter_ai">*/
/*%FSM<COMPILE "C:\Program Files (x86)\Steam\steamapps\common\Arma 3 Tools\FSMEditor\scriptedFSM.cfg, copter_ai">*/
/*%FSM<HEAD>*/
/*
item0[] = {"copter",0,250,77.124176,-2127.698242,167.124191,-2077.697266,0.000000,"copter"};
item1[] = {"update",2,250,76.399269,-1842.943848,166.399292,-1792.943848,0.000000,"update"};
item2[] = {"player_see",4,218,230.161133,-1924.389893,320.161102,-1874.389893,20.000000,"player see"};
item3[] = {"dead",4,218,-181.680664,-1843.368408,-91.680664,-1793.368408,100.000000,"dead"};
item4[] = {"end",1,4346,-182.661209,-1721.283813,-92.661232,-1671.283813,0.000000,"end"};
item4[] = {"end",1,250,-182.661209,-1721.283813,-92.661232,-1671.283813,0.000000,"end"};
item5[] = {"copter_move",2,250,465.176025,-1680.020264,555.176392,-1630.020264,0.000000,"copter move"};
item6[] = {"near_target_pos",4,218,75.965195,-1679.590576,165.965347,-1629.590576,90.000000,"near target pos"};
item7[] = {"wait_start",2,250,331.527832,-1758.595947,421.527863,-1708.595947,0.000000,"wait start"};
Expand All @@ -20,7 +20,7 @@ item15[] = {"player_hidden",4,218,167.131546,-1965.252563,257.131653,-1915.25207
item16[] = {"search",2,250,333.506439,-1965.507813,423.506744,-1915.507813,0.000000,"search"};
item17[] = {"delete",2,250,-182.017578,-1584.171875,-92.017548,-1534.171875,0.000000,"delete"};
item18[] = {"_",8,218,-162.792191,-1649.780273,-110.753067,-1622.927124,0.000000,""};
item19[] = {"send_support",2,250,-183.828308,-2072.576172,-93.828339,-2022.575073,0.000000,"send support"};
item19[] = {"send_support",2,4346,-183.828308,-2072.576172,-93.828339,-2022.575073,0.000000,"send support"};
item20[] = {"new_player",2,250,343.614227,-1843.289429,433.614288,-1793.289551,0.000000,"new player"};
item21[] = {"wait",4,218,172.726486,-1777.677124,262.726624,-1727.677124,1.000000,"wait"};
item22[] = {"_",8,218,97.991913,-1951.730469,145.401703,-1926.729126,0.000000,""};
Expand Down Expand Up @@ -57,7 +57,7 @@ link27[] = {22,1};
link28[] = {23,24};
link29[] = {24,5};
globals[] = {0.000000,0,0,0,0,640,480,1,55,0,1,-284.459595,633.086609,-1492.426025,-2128.185547,953,884,1};
window[] = {2,-1,-1,-1,-1,724,104,1148,104,3,971};
window[] = {2,-1,-1,-1,-1,776,156,1200,156,3,971};
*//*%FSM</HEAD>*/
class FSM
{
Expand Down Expand Up @@ -473,7 +473,7 @@ class FSM
"" \n
"[[(getPos _trgt),80,150,1,true] call EPOCH_fnc_findSafePos,_copter] call EPOCH_supportCopter;" \n
"" \n
"_copter say3D ""drone_alert0"";" \n
"_copter say3D [""drone_alert0"",500,1];" \n
"[player, _copter, ""drone_alert0"",Epoch_personalToken] remoteExec [""EPOCH_server_handle_say3D"",2];" \n
"" \n
"_troopsOnGround = true;" \n
Expand Down Expand Up @@ -569,4 +569,4 @@ class FSM
"end",
};
};
/*%FSM</COMPILE>*/
/*%FSM</COMPILE>*/
4 changes: 2 additions & 2 deletions Sources/a3_epoch_code/System/Dog_Brain.fsm
Original file line number Diff line number Diff line change
Expand Up @@ -1007,10 +1007,10 @@ class FSM
init = /*%FSM<STATEINIT""">*/"deleteVehicle _foodHolder;" \n
"" \n
"if (_plyrVar == _dogName) then {" \n
"[format[""You have fed %1"",_dogName], 5] call Epoch_message;" \n
"[format[""You have fed %1"",_dogName], 5,[[0,0,0,0.5],[1,0.5,0,1]]] call Epoch_message;" \n
"}else{" \n
"_plyr setVariable [""dog"", _dogName];" \n
"[format[""You have tamed %1"",_dogName], 5] call Epoch_message;" \n
"[format[""You have tamed %1"",_dogName], 5,[[0,0,0,0.5],[1,0.5,0,1]]] call Epoch_message;" \n
"};" \n
"_hunger = _hunger - 40;" \n
"" \n
Expand Down
6 changes: 3 additions & 3 deletions Sources/a3_epoch_code/System/Looter_Brain.fsm
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ class FSM
"_bldMap = _bldMap - [_closestBld];" \n
"} forEach _bldMap;" \n
"" \n
"_bldMap = [] + _sortBuilds;" \n
"_bldMap = +_sortBuilds;" \n
"_moveTo = _sortBuilds select 0;" \n
"_bldMap set [0,""byebye""];" \n
"_bldMap = _bldMap - [""byebye""];" \n
Expand Down Expand Up @@ -724,7 +724,7 @@ class FSM
"};" \n
"" \n
"" \n
"_lLastPos = [] + _sanityPos;" \n
"_lLastPos = +_sanityPos;" \n
"_sanityCheck = 20;" \n
""/*%FSM</ACTION""">*/;
};
Expand Down Expand Up @@ -753,7 +753,7 @@ class FSM
class create_map
{
name = "create_map";
init = /*%FSM<STATEINIT""">*/"_nrBuilds = nearestObjects [getPosATL _looter,[""house""],50];" \n
init = /*%FSM<STATEINIT""">*/"_nrBuilds = nearestObjects [_looter,[""house""],50];" \n
"" \n
"_strDebug = _strDebug + format [""Found %1 Buildings\n"",count _nrBuilds];" \n
"" \n
Expand Down
2 changes: 1 addition & 1 deletion Sources/a3_epoch_code/System/Mission_VIP_Militia.fsm
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ class FSM
{
name = "do_investigate";
init = /*%FSM<STATEINIT""">*/"" \n
"_nrBodies = nearestObjects [getPos _investigate,_trgtArray , 25];" \n
"_nrBodies = nearestObjects [_investigate,_trgtArray , 25];" \n
"" \n
"if (count _nrBodies > 0) then {" \n
"" \n
Expand Down
Loading

0 comments on commit f5c2ffb

Please sign in to comment.