Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions addons/maps/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
z\afsk\addons\maps
15 changes: 15 additions & 0 deletions addons/maps/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
class Extended_PreStart_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preStart));
};
};
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
};
};
class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_postInit));
};
};
18 changes: 18 additions & 0 deletions addons/maps/CfgWorlds.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
class CfgWorlds
{
class CAWorld;

class Tanoa : CAWorld
{
class Names
{
class Sosovu01
{
// This avoids crashes due to no road access for civilians
// https://github.com/ArmaForces/SerialKillers/issues/75#issuecomment-2070909598
// Remove this once issue is fixed: https://github.com/ArmaForces/SerialKillers/issues/75
type = "NameLocal";
};
};
};
};
Empty file added addons/maps/XEH_PREP.hpp
Empty file.
4 changes: 4 additions & 0 deletions addons/maps/XEH_postInit.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#include "script_component.hpp"

// Killswitch
if (!EGVAR(common,enabled)) exitWith {};
8 changes: 8 additions & 0 deletions addons/maps/XEH_preInit.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include "script_component.hpp"
ADDON = false;
#include "XEH_PREP.hpp"

// Killswitch
if (!EGVAR(common,enabled)) exitWith {};

ADDON = true;
2 changes: 2 additions & 0 deletions addons/maps/XEH_preStart.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "script_component.hpp"
#include "XEH_PREP.hpp"
19 changes: 19 additions & 0 deletions addons/maps/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
"A3_Map_Tanoabuka"
};
skipWhenMissingDependencies = 1;
author = "ArmaForces";
VERSION_CONFIG;
};
};

#include "CfgEventHandlers.hpp"
#include "CfgWorlds.hpp"
14 changes: 14 additions & 0 deletions addons/maps/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#define COMPONENT maps
#include "\z\afsk\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE

#ifdef DEBUG_ENABLED_MAPS
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_MAPS
#define DEBUG_SETTINGS DEBUG_SETTINGS_MAPS
#endif

#include "\z\afsk\addons\main\script_macros.hpp"
9 changes: 9 additions & 0 deletions addons/maps/stringtable.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Project name="AFSK">
<Package name="Maps">
<Key ID="STR_AFSK_Maps_DisplayName">
<English>SerialKillers - Maps</English>
<Polish>SerialKillers - Maps</Polish>
</Key>
</Package>
</Project>
1 change: 1 addition & 0 deletions addons/missions/CfgMissions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ class CfgMissions {
MISSION_CONFIG(SerialKillers_CUP_RHS,Chernarus);
MISSION_CONFIG(SerialKillers_CUP_RHS,Chernarus_Winter);
MISSION_CONFIG(SerialKillers_CUP_RHS,Chernarus_Summer);
MISSION_CONFIG(SerialKillers,Tanoa);
MISSION_CONFIG(SK_test,Malden);
};
};
12 changes: 12 additions & 0 deletions addons/missions/SerialKillers.Tanoa/cba_settings.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

// ACE Fatigue
force force ace_advanced_fatigue_enabled = false;

// AF Mods Spectator
force force afm_spectator_enabled = false;

// AF Friendly Tracker (BFT)
force force afft_friendly_tracker_enabled = false;

// DUI Nametags
force force diwako_dui_nametags_useSideIsFriendly = false;
21 changes: 21 additions & 0 deletions addons/missions/SerialKillers.Tanoa/description.ext
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
cba_settings_hasSettingsFile = 1;

class Header
{
gameType = "SK";
minPlayers = 2;
maxPlayers = 24;
};

author = "3Mydlo3";
onLoadIntro = "ArmaForces SerialKillers Tanoa Edition";
onLoadMission = "Police obtained information that up to 4 well equipped killers want to wreak havoc on Tanoa. Their task is simple - stop the assassins as soon as possible.";
briefingName = "ArmaForces SerialKillers Tanoa Edition";

disabledAI = "true";
enableDebugConsole = 1;
respawn = 3;
respawnDelay = 20;
respawnOnStart = -1;
respawnTemplatesWest[] = {"MenuPosition", "Counter"};
respawnTemplatesEast[] = {"Base", "Counter"};
Loading
Loading