Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: PvP: Patrol Airfield #9

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft
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
3 changes: 3 additions & 0 deletions PvP/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# PvP

Contains PvP scenarios which are not a game modes, more like standard missions.
56 changes: 56 additions & 0 deletions PvP/a&d_40_patrol-airfield.vkn_halsoy_terrain/AF_functions.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
class ADDON {
tag = QUOTE(ADDON);
class functions {
file = "functions";
class joinGroup {};
class randomizePlates {};

// Locations
class getAllMapCities {};
class getNearestCityWithAvailableName {};
class getNearestLocationWithAvailableName {};
class getLocationName {};
class getNearestCityLocation {};
class getNearestCityName {};
class getNearestLocation {};
class getNearestLocationName {};

// Tasks
class tasksClientEvents { postInit = 1; };
class tasksServerEvents { postInit = 1; };

// Stuff
class awacsInit { postInit = 1; };
class awacsLoop {};
class getHighestRankedPlayers {};
class mapCleanup { postInit = 1; };
class markerDecayLoop {};

// Utility
class createActions {};
class createTeleport {};
class changeSide {};
class createStartPositionMarker {};
class deleteStartPositionsMarkers {};
class initCamera {};
class initializeBluforSpawn {};
class initializeRedforSpawn {};
class deleteAtRandom {};
class randomizeTeams {};
};
};

class AF {

class dialogs {
class groupRenameGUI {};
class groupRenameList {};
class setViewDistance {};
class viewDistanceGUI {};
};

class player {
class playerActions {};
};

};
14 changes: 14 additions & 0 deletions PvP/a&d_40_patrol-airfield.vkn_halsoy_terrain/CfgDebriefing.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
class CfgDebriefing {
class BLUFOR_WON {
title = CSTRING(Debriefing_BLUFOR_WON_Title);
subtitle = CSTRING(Debriefing_BLUFOR_WON_Subtitle);
};
class REDFOR_WON {
title = CSTRING(Debriefing_REDFOR_WON_Title);
subtitle = CSTRING(Debriefing_REDFOR_WON_Subtitle);
};
class REDFOR_DIED {
title = CSTRING(Debriefing_REDFOR_DIED_Title);
subtitle = CSTRING(Debriefing_REDFOR_DIED_Subtitle);
};
};
41 changes: 41 additions & 0 deletions PvP/a&d_40_patrol-airfield.vkn_halsoy_terrain/CfgTasks.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
class CfgTasks {
tag = QUOTE(DOUBLES(PREFIX,COMPONENT));

class PatrolPvP {
title = CSTRING(DisplayName);
description = CSTRING(Mission_ShortDescription);
icon = "defend";
initialState = "CREATED";
};

class Laptop {
owners[] = { "EAST" };
parentTask = "PatrolPvP";

object = "laptop";
icon = "download";

conditionEventsShow[] = { QGVAR(showOpforTasks) };

conditionEventsSuccess[] = { "LaptopSuccessful" };
};

class SUV : Laptop {
object = "suv";
icon = "car";

conditionEventsShow[] += { QGVAR(suvSpawned) };
conditionEventsShowRequired = 2;

conditionEventsSuccess[] = { "SUVSuccessful" };
};

class Jets : Laptop {
owners[] = { "EAST" };
object = "";
marker = "sys_marker_radar_station_bravo";
icon = "plane";

conditionEventsSuccess[] = { "JetsSuccessful" };
};
};
Loading