mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 11:42:38 +03:00
0.1
This commit is contained in:
96
MPMissions/DayZ_Epoch_2.Utes/cdetect.fsm
Normal file
96
MPMissions/DayZ_Epoch_2.Utes/cdetect.fsm
Normal file
@@ -0,0 +1,96 @@
|
||||
/*%FSM<COMPILE "D:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, stdin">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"init",0,250,-52.011097,-242.579758,37.988903,-192.579758,0.000000,"init"};
|
||||
item1[] = {"true",8,218,-42.857147,-180.166443,47.142853,-130.166443,0.000000,"true"};
|
||||
item2[] = {"Broadcast",2,250,-37.031898,-113.592247,52.968117,-63.592247,0.000000,"Broadcast"};
|
||||
item3[] = {"isRetard",4,218,-85.298180,-33.703201,4.701797,16.296804,0.000000,"isRetard"};
|
||||
item4[] = {"I_has_small_dick",2,250,-27.045757,58.668503,62.954262,108.668503,0.000000,"I has small dick"};
|
||||
item5[] = {"isOwned",4,218,43.689316,-30.790573,133.689301,19.209412,0.000000,"isOwned"};
|
||||
link0[] = {0,1};
|
||||
link1[] = {1,2};
|
||||
link2[] = {2,3};
|
||||
link3[] = {3,4};
|
||||
link4[] = {4,5};
|
||||
link5[] = {5,2};
|
||||
globals[] = {0.000000,0,0,0,16777215,640,480,1,8,6316128,1,-306.241333,293.758667,267.741943,-346.774170,372,381,1};
|
||||
window[] = {0,-1,-1,-1,-1,576,50,812,50,1,390};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
fsmName = "stdin";
|
||||
class States
|
||||
{
|
||||
/*%FSM<STATE "init">*/
|
||||
class init
|
||||
{
|
||||
name = "init";
|
||||
init = /*%FSM<STATEINIT""">*/""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
{
|
||||
/*%FSM<LINK "true">*/
|
||||
class true
|
||||
{
|
||||
priority = 0.000000;
|
||||
to="Broadcast";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
};
|
||||
};
|
||||
/*%FSM</STATE>*/
|
||||
/*%FSM<STATE "Broadcast">*/
|
||||
class Broadcast
|
||||
{
|
||||
name = "Broadcast";
|
||||
init = /*%FSM<STATEINIT""">*/""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
{
|
||||
/*%FSM<LINK "isRetard">*/
|
||||
class isRetard
|
||||
{
|
||||
priority = 0.000000;
|
||||
to="I_has_small_dick";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"(dialog&&isNull(findDisplay 106)&&isNull(findDisplay 6902))||(!isNil(""nil"")&&alive(player))"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
};
|
||||
};
|
||||
/*%FSM</STATE>*/
|
||||
/*%FSM<STATE "I_has_small_dick">*/
|
||||
class I_has_small_dick
|
||||
{
|
||||
name = "I_has_small_dick";
|
||||
init = /*%FSM<STATEINIT""">*/"closeDialog 0;" \n
|
||||
"player enableSimulation false;" \n
|
||||
"_tinypenis = format[""AntiCheat: Incredibly small penis detected for %1 with UID %2"",name player,getPlayerUID player];" \n
|
||||
"player setVariable [""cheat"",_tinypenis,true];"/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
{
|
||||
/*%FSM<LINK "isOwned">*/
|
||||
class isOwned
|
||||
{
|
||||
priority = 0.000000;
|
||||
to="Broadcast";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!dialog&&!alive(player)"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
};
|
||||
};
|
||||
/*%FSM</STATE>*/
|
||||
};
|
||||
initState="init";
|
||||
finalStates[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
/*%FSM</COMPILE>*/
|
||||
144
MPMissions/DayZ_Epoch_2.Utes/description.ext
Normal file
144
MPMissions/DayZ_Epoch_2.Utes/description.ext
Normal file
@@ -0,0 +1,144 @@
|
||||
respawn = "BASE";
|
||||
respawndelay = 5;
|
||||
onLoadMission="DayZ_Epoch Takistan";
|
||||
OnLoadIntro = "Welcome to Takistan";
|
||||
OnLoadIntroTime = False;
|
||||
OnLoadMissionTime = False;
|
||||
disabledAI = true;
|
||||
disableChannels[]={0,2,6};
|
||||
enableItemsDropping=0;
|
||||
|
||||
class Header
|
||||
{
|
||||
gameType = COOP; //DM, Team, Coop, ...
|
||||
minPlayers = 1; //min # of players the mission supports
|
||||
maxPlayers = 100; //Max # of players the mission supports
|
||||
};
|
||||
|
||||
aiKills = 1;
|
||||
diagRadio = 1;
|
||||
diagHit = 1;
|
||||
|
||||
class RscText
|
||||
{
|
||||
type = 0;
|
||||
idc = -1;
|
||||
x = 0;
|
||||
y = 0;
|
||||
h = 0.037;
|
||||
w = 0.3;
|
||||
style = 0x100;
|
||||
font = Zeppelin32;
|
||||
SizeEx = 0.03921;
|
||||
colorText[] = {1,1,1,1};
|
||||
colorBackground[] = {0, 0, 0, 0};
|
||||
linespacing = 1;
|
||||
};
|
||||
class RscPicture
|
||||
{
|
||||
access=0;
|
||||
type=0;
|
||||
idc=-1;
|
||||
style=48;
|
||||
colorBackground[]={0,0,0,0};
|
||||
colorText[]={1,1,1,1};
|
||||
font="TahomaB";
|
||||
sizeEx=0;
|
||||
lineSpacing=0;
|
||||
text="";
|
||||
};
|
||||
class RscLoadingText : RscText
|
||||
{
|
||||
style = 2;
|
||||
x = 0.323532;
|
||||
y = 0.666672;
|
||||
w = 0.352944;
|
||||
h = 0.039216;
|
||||
sizeEx = 0.03921;
|
||||
colorText[] = {0.543,0.5742,0.4102,1.0};
|
||||
};
|
||||
class RscProgress
|
||||
{
|
||||
x = 0.344;
|
||||
y = 0.619;
|
||||
w = 0.313726;
|
||||
h = 0.0261438;
|
||||
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
|
||||
colorFrame[] = {0,0,0,0};
|
||||
colorBar[] = {1,1,1,1};
|
||||
};
|
||||
class RscProgressNotFreeze
|
||||
{
|
||||
idc = -1;
|
||||
type = 45;
|
||||
style = 0;
|
||||
x = 0.022059;
|
||||
y = 0.911772;
|
||||
w = 0.029412;
|
||||
h = 0.039216;
|
||||
texture = "#(argb,8,8,3)color(0,0,0,0)";
|
||||
};
|
||||
//
|
||||
// the loading screen itself
|
||||
//
|
||||
class DayZ_loadingScreen
|
||||
{
|
||||
idd = -1;
|
||||
duration = 10e10;
|
||||
fadein = 0;
|
||||
fadeout = 0;
|
||||
name = "loading screen";
|
||||
class controlsBackground
|
||||
{
|
||||
class blackBG : RscText
|
||||
{
|
||||
x = safezoneX;
|
||||
y = safezoneY;
|
||||
w = safezoneW;
|
||||
h = safezoneH;
|
||||
text = "";
|
||||
colorText[] = {0,0,0,0};
|
||||
colorBackground[] = {0,0,0,1};
|
||||
};
|
||||
/*
|
||||
class nicePic : RscPicture
|
||||
{
|
||||
style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
|
||||
x = safezoneX + safezoneW/2 - 0.25;
|
||||
y = safezoneY + safezoneH/2 - 0.2;
|
||||
w = 0.5;
|
||||
h = 0.4;
|
||||
text = "img\nicePic.paa";
|
||||
};
|
||||
*/
|
||||
};
|
||||
class controls
|
||||
{
|
||||
class Title1 : RscLoadingText
|
||||
{
|
||||
text = "$STR_LOADING"; // "Loading" text in the middle of the screen
|
||||
};
|
||||
class CA_Progress : RscProgress // progress bar, has to have idc 104
|
||||
{
|
||||
idc = 104;
|
||||
type = 8; // CT_PROGRESS
|
||||
style = 0; // ST_SINGLE
|
||||
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
|
||||
};
|
||||
class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
|
||||
{
|
||||
idc = 103;
|
||||
};
|
||||
class Name2: RscText // the text on the top-left
|
||||
{
|
||||
idc = 101;
|
||||
x = 0.05;
|
||||
y = 0.029412;
|
||||
w = 0.9;
|
||||
h = 0.04902;
|
||||
text = "";
|
||||
sizeEx = 0.05;
|
||||
colorText[] = {0.543,0.5742,0.4102,1.0};
|
||||
};
|
||||
};
|
||||
};
|
||||
59
MPMissions/DayZ_Epoch_2.Utes/init.sqf
Normal file
59
MPMissions/DayZ_Epoch_2.Utes/init.sqf
Normal file
@@ -0,0 +1,59 @@
|
||||
startLoadingScreen ["","DayZ_loadingScreen"];
|
||||
/*
|
||||
INITILIZATION
|
||||
*/
|
||||
enableSaving [false, false];
|
||||
|
||||
//REALLY IMPORTANT VALUES
|
||||
dayZ_instance = 2; //The instance
|
||||
hiveInUse = true;
|
||||
initialized = false;
|
||||
dayz_previousID = 0;
|
||||
|
||||
// AMP config
|
||||
spawnShoremode = 1; // Default = 1 (on shore)
|
||||
spawnArea= 1000; // Default = 1500
|
||||
MaxHeliCrashes= 2; // Default = 5
|
||||
MaxVehicleLimit = 50; // Default = 50
|
||||
MaxDynamicDebris = 100; // Default = 100
|
||||
dayz_MapArea = 4000; // Default = 10000
|
||||
dayz_maxLocalZombies = 40; // Default = 40
|
||||
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
|
||||
progressLoadingScreen 0.1;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
|
||||
progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
|
||||
progressLoadingScreen 0.4;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
|
||||
progressLoadingScreen 1.0;
|
||||
|
||||
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
|
||||
|
||||
if ((!isServer) && (isNull player) ) then
|
||||
{
|
||||
waitUntil {!isNull player};
|
||||
waitUntil {time > 3};
|
||||
};
|
||||
|
||||
if ((!isServer) && (player != player)) then
|
||||
{
|
||||
waitUntil {player == player};
|
||||
waitUntil {time > 3};
|
||||
};
|
||||
|
||||
if (isServer) then {
|
||||
//Run the server monitor
|
||||
hiveInUse = true;
|
||||
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
|
||||
};
|
||||
|
||||
if (!isDedicated) then {
|
||||
//Conduct map operations
|
||||
0 fadeSound 0;
|
||||
0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
|
||||
|
||||
//Run the player monitor
|
||||
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
|
||||
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
|
||||
};
|
||||
1428
MPMissions/DayZ_Epoch_2.Utes/mission.sqm
Normal file
1428
MPMissions/DayZ_Epoch_2.Utes/mission.sqm
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user