mirror of
https://github.com/Fallingsheep1985/Arma3Epoch.git
synced 2024-08-30 16:42:12 +00:00
Home commit - test
fixes and changes
This commit is contained in:
parent
2ee0043ac7
commit
db9f931ee7
@ -193,7 +193,7 @@ A3EAI_minRandSpawnDist = 0;
|
||||
--------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
//Global maximum number of active AI air vehicle patrols. Set at 0 to disable (Default: 0).
|
||||
A3EAI_maxHeliPatrols = 0;
|
||||
A3EAI_maxHeliPatrols = 2;
|
||||
|
||||
//Probability of spawning Level 0/1/2/3 AI air vehicle patrol spawns. Probabilities should add up to 1.00
|
||||
A3EAI_levelChancesAir = [0.00,0.50,0.35,0.15];
|
||||
@ -220,7 +220,7 @@ A3EAI_removeMissileWeapons = true;
|
||||
--------------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
//Global maximum number of active AI land vehicle patrols. Set at 0 to disable (Default: 0).
|
||||
A3EAI_maxLandPatrols = 0;
|
||||
A3EAI_maxLandPatrols = 3;
|
||||
|
||||
//Probability of spawning Level 0/1/2/3 AI land vehicle spawns. Probabilities should add up to 1.00
|
||||
A3EAI_levelChancesLand = [0.00,0.50,0.35,0.15];
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
// Anti Hack
|
||||
antihack_Enabled = false; // built-in Anti-Hack
|
||||
antihack_cfgPatchesCheck = true; // cfgPatches (AddOn Check)
|
||||
antihack_cfgPatchesCheck = false; // cfgPatches (AddOn Check)
|
||||
antihack_PVSPrefix = "EPAH_"; // used to help whitelist pveh variables in BE without BEC and watchdog, leave blank to use no prefix.
|
||||
antihack_cfgPatchesCfg[] = {0}; // 0 == BAN - 1 = LOG
|
||||
antihack_ahInitAuthCfg[] = {0,90}; // 0 == BAN - 1 = LOG, 90 = ban or log if anti hack is not started in 90 seconds
|
||||
|
@ -15,9 +15,9 @@ showEarthQuakes = true; // used to show locations of earthquakes
|
||||
showShippingContainers = true; // used to show locations of shipping containers
|
||||
|
||||
// Antagonists
|
||||
antagonistChanceTrash = 0.03; //3% chance when player loot a trash object
|
||||
antagonistChanceTrash = 0.05; //3% chance when player loot a trash object
|
||||
antagonistChancePDeath = 0.25; //25% chance when player was killed from a other player (selfkill doesn't count)
|
||||
antagonistChanceLoot = 0.03; //3% chance when player click "SEARCH" on a loot object
|
||||
antagonistChanceLoot = 0.05; //3% chance when player click "SEARCH" on a loot object
|
||||
|
||||
// Player Related
|
||||
cloneCost = 100; // debt incurred on player death
|
||||
@ -81,4 +81,4 @@ expiresVehicle = "604800"; // expiration date in seconds for vehicles
|
||||
hiveAsync = true; // true = asynchronous hive calls (non blocking), false = synchronous hive calls (blocking)
|
||||
|
||||
// Debug Related
|
||||
DEBUG_VEH = true; // DEBUG ONLY used to debug spawing of vehicles
|
||||
DEBUG_VEH = false; // DEBUG ONLY used to debug spawing of vehicles
|
||||
|
Binary file not shown.
15
MPMissions/epoch.Altis/custom/Nametags.sqf
Normal file
15
MPMissions/epoch.Altis/custom/Nametags.sqf
Normal file
@ -0,0 +1,15 @@
|
||||
Waituntil{!isNull player};
|
||||
|
||||
while{true} do {
|
||||
sleep 0.5;
|
||||
if((isPlayer cursorTarget) && (alive cursorTarget) && (side cursorTarget == side player) && (player distance cursorTarget < 8)) then {
|
||||
_color = getArray (configFile/'CfgInGameUI'/'SideColors'/'colorFriendly');
|
||||
if (cursorTarget != _x) then {
|
||||
_color set [3, 1 - _dist]
|
||||
};
|
||||
_tag = name cursorTarget;
|
||||
cutText [_tag,"PLAIN",0.1];
|
||||
|
||||
} else {
|
||||
};
|
||||
};
|
31
MPMissions/epoch.Altis/custom/bike.sqf
Normal file
31
MPMissions/epoch.Altis/custom/bike.sqf
Normal file
@ -0,0 +1,31 @@
|
||||
//The script://
|
||||
|
||||
|
||||
//Script created by Bakler2
|
||||
//edited by falling sheep to makechopper
|
||||
|
||||
if ("ItemScraps" in magazines player) then{
|
||||
if ("ToolKit" in magazines player) then{
|
||||
player removeMagazine "ItemScraps";
|
||||
|
||||
_spawn = "ebike_epoch";
|
||||
_posplr = [((getPos player) select 0) + 2, ((getPos player) select 1) + 2, 0];
|
||||
_saveVehicle call EPOCH_server_save_vehicle;
|
||||
_dirplr = getDir player;
|
||||
_spwnveh = _spawn createVehicle (_posplr);
|
||||
_spwnveh setVariable ["Sarge",1,true];
|
||||
_vehObj call EPOCH_server_save_vehicle;
|
||||
|
||||
_vehObj call EPOCH_server_setVToken;
|
||||
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
sleep 3;
|
||||
cutText [format["You built a EBike."], "PLAIN DOWN"];
|
||||
} else {
|
||||
SystemChat "You need a Toolkit to build a EBike.";
|
||||
};
|
||||
} else {
|
||||
SystemChat "You need Scrap to build a EBike.";
|
||||
};
|
34
MPMissions/epoch.Altis/custom/chopper.sqf
Normal file
34
MPMissions/epoch.Altis/custom/chopper.sqf
Normal file
@ -0,0 +1,34 @@
|
||||
//The script://
|
||||
|
||||
|
||||
//Script created by Bakler2
|
||||
//edited by falling sheep to makechopper
|
||||
|
||||
if (("ItemScraps" in magazines player)&&("jerrycan_epoch" in magazines player)&&("CircuitParts" in magazines player)&&("VehicleRepair" in magazines player)) then {
|
||||
if ("ToolKit" in magazines player) then{
|
||||
player removeMagazine "ItemScraps";
|
||||
player removeMagazine "CircuitParts";
|
||||
player removeMagazine "VehicleRepair";
|
||||
player removeMagazine "jerrycan_epoch";
|
||||
|
||||
_spawn = "B_Heli_Light_01_EPOCH";
|
||||
_posplr = [((getPos player) select 0) + 2, ((getPos player) select 1) + 2, 0];
|
||||
_saveVehicle call EPOCH_server_save_vehicle;
|
||||
_dirplr = getDir player;
|
||||
_spwnveh = _spawn createVehicle (_posplr);
|
||||
_spwnveh setVariable ["Sarge",1,true];
|
||||
_vehObj call EPOCH_server_save_vehicle;
|
||||
|
||||
_vehObj call EPOCH_server_setVToken;
|
||||
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
sleep 3;
|
||||
cutText [format["You built a Chopper."], "PLAIN DOWN"];
|
||||
} else {
|
||||
SystemChat "You need a Toolkit to build a Chopper.";
|
||||
};
|
||||
} else {
|
||||
SystemChat "You need Scrap,CircutParts,Jerrycan and Vehicle Repair items to build a Chopper.";
|
||||
};
|
@ -1,22 +1,14 @@
|
||||
/*
|
||||
Created By Fallingsheep
|
||||
|
||||
add this to your init
|
||||
//Deploy bike/chopper
|
||||
[] execVM "deploy\deployvehicle.sqf";
|
||||
*/
|
||||
|
||||
//BUILD BIKE
|
||||
if (("ItemScraps" in magazines player)&&("ToolKit" in magazines player)) then{
|
||||
act = player addaction [("<t color=""#0074E8"">" + ("Build Bike") +"</t>"),"deploy\Bike.sqf","",5,false,true,"",""];
|
||||
act = player addaction [("<t color=""#0074E8"">" + ("Build Bike") +"</t>"),"custom\Bike.sqf","",5,false,true,"",""];
|
||||
};
|
||||
//BUILD CHOPPER
|
||||
if (("ItemScraps" in magazines player)&&("jerrycan_epoch" in magazines player)&&("CircuitParts" in magazines player)&&("VehicleRepair" in magazines player)) then {
|
||||
act = player addaction [("<t color=""#0074E8"">" + ("Build Chopper") +"</t>"),"deploy\chopper.sqf","",5,false,true,"",""];
|
||||
act = player addaction [("<t color=""#0074E8"">" + ("Build Chopper") +"</t>"),"custom\chopper.sqf","",5,false,true,"",""];
|
||||
};
|
||||
//PACK BIKE
|
||||
_target = cursorTarget;
|
||||
_isbike = _target isKindOf "ebike_epoch";
|
||||
if (_isbike) then{
|
||||
act = player addaction [("<t color=""#0074E8"">" + ("PackBike") +"</t>"),"deploy\packbike2.sqf","",5,false,true,"",""];
|
||||
player addaction [("<t color=""#0074E8"">" + ("PackBike") +"</t>"),"custom\packbike2.sqf","",5,false,true,"",""];
|
||||
};
|
6
MPMissions/epoch.Altis/custom/packbike2.sqf
Normal file
6
MPMissions/epoch.Altis/custom/packbike2.sqf
Normal file
@ -0,0 +1,6 @@
|
||||
_target = cursorTarget;
|
||||
_isbike = _target typeof "EBike";
|
||||
if (_isbike) then{
|
||||
deleteVehicle _target;
|
||||
player addMagazine "ItemScraps";
|
||||
};
|
@ -1,26 +1,4 @@
|
||||
//Admin list
|
||||
SUPERADMIN_LIST = [
|
||||
"76561198087015545",
|
||||
"0"
|
||||
];
|
||||
ADMIN_LIST = [
|
||||
"0",
|
||||
"0"
|
||||
];
|
||||
MOD_LIST = [
|
||||
"0",
|
||||
"0"
|
||||
];
|
||||
MASTERADMIN_LIST = SUPERADMIN_LIST + ADMIN_LIST + MOD_LIST;
|
||||
BANNED_LIST = [
|
||||
"0","76561198059930120","76561198134916119","76561198130615382","76561198000135158","76561198098132364","76561198127436055",
|
||||
"76561198120497784","76561198151285096","76561198037143375","76561198053362106","76561197960693668","76561198150211409","76561198118994984",
|
||||
"76561198150211409","76561198118066332","76561198148495214","76561198124727926","76561198087505309","76561198106834234","76561198056113988",
|
||||
"76561198153161518","76561198077972256","76561198144416171","76561198151661947","76561198075411542","76561198106140797","76561198118378695",
|
||||
"76561198062509950","76561198080657666","76561198156021205","76561198126816660","76561197979392398","76561197969005505","76561197978751247",
|
||||
"76561197971107759","76561197967087500","76561197995117205","76561197964338716","76561198128229370","76561198141766032","76561198131838128",
|
||||
"76561198037171839","76561198137119508","76561198077957452","76561198055161991","76561198089299178","76561198129631838"
|
||||
];
|
||||
|
||||
//BTC Lift,cargo and fast rope
|
||||
_logistic = execVM "=BTC=_Logistic\=BTC=_logistic_Init.sqf";
|
||||
|
||||
@ -28,12 +6,10 @@ _logistic = execVM "=BTC=_Logistic\=BTC=_logistic_Init.sqf";
|
||||
[] execVM "custom\loadout.sqf";
|
||||
|
||||
//Deploy bike/chopper
|
||||
[] execVM "deploy\deployvehicle.sqf";
|
||||
[] execVM "custom\deployvehicle.sqf";
|
||||
|
||||
//Status Bar
|
||||
[] execVM "custom\fn_statusBar.sqf";
|
||||
//Monitor
|
||||
[] execVM "custom\debug_monitor.sqf";
|
||||
//Intro stuff
|
||||
//CAMERA INTRO
|
||||
[] execVM "custom\serverIntro.sqf";
|
||||
@ -43,18 +19,22 @@ _logistic = execVM "=BTC=_Logistic\=BTC=_logistic_Init.sqf";
|
||||
[] execVM "custom\briefing.sqf";
|
||||
|
||||
//Admin Menu
|
||||
/*
|
||||
[] execVM "adminmenu\run.sqf";
|
||||
[] execVM "adminmenu\loop.sqf";
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
CIVILIAN setfriend [RESISTANCE, 0];
|
||||
RESISTANCE setFriend [CIVILIAN, 0];
|
||||
//NAMETAGS
|
||||
[] execVM "custom\Nametags.sqf";
|
||||
|
||||
//Custom LOOT
|
||||
if (isServer) then {
|
||||
fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "LSpawner\fn_LSgetBuildingstospawnLoot.sqf";
|
||||
LSdeleter = compile preProcessFileLineNumbers "LSpawner\LSdeleter.sqf";
|
||||
execVM "LSpawner\Lootspawner.sqf";
|
||||
//spawn more loot!
|
||||
[]spawn EPOCH_server_spawnBoatLoot2;
|
||||
};
|
||||
|
||||
//SEM Missions
|
||||
|
1
MPMissions/readme.txt
Normal file
1
MPMissions/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
Multiplayer scenarios exported from the in-game editor are stored here. You can also place downloaded custom scenarios in this folder and host them on Multiplayer servers.
|
Loading…
Reference in New Issue
Block a user