diff --git a/_A&S.Panovo/core/def/mission.sqf b/_A&S.Panovo/core/def/mission.sqf index 117be42..bfde570 100644 --- a/_A&S.Panovo/core/def/mission.sqf +++ b/_A&S.Panovo/core/def/mission.sqf @@ -16,7 +16,7 @@ btc_gameMode = (paramsArray select 3); btc_startLocationID = (paramsArray select 4); //btc_enemyPlayer = (paramsArray select 5); btc_arty = [false,true] select (paramsArray select 6); - //btc_p_player_arty +btc_arty_player = [false,true] select (paramsArray select 7); //btc_p_rallypoint //btc_p_redeploy //btc_p_respawnOnTL @@ -103,6 +103,7 @@ btc_arty_available = true; btc_arty_reloadTime = 300; btc_arty_offsetX = 0; btc_arty_offsetY = 0; +btc_arty_radios = ["B_LIB_GER_Radio","B_LIB_SOV_RA_Radio"]; //Combat Support @@ -182,15 +183,24 @@ switch (_revive) do { case 0: {}; case 1: { //BI - missionNamespace setVariable ["bis_reviveParam_mode", 1]; - missionNamespace setVariable ["bis_reviveParam_unconsciousStateMode", 2]; - missionNamespace setVariable ["bis_reviveParam_requiredTrait", 0]; - missionNamespace setVariable ["bis_reviveParam_requiredItems", 2]; - missionNamespace setVariable ["ReviveRequiredItemsFakConsumed", 0]; - missionNamespace setVariable ["bis_reviveParam_duration", 10]; - missionNamespace setVariable ["bis_reviveParam_medicSpeedMultiplier", 2]; - missionNamespace setVariable ["bis_reviveParam_forceRespawnDuration", 3]; - missionNamespace setVariable ["bis_reviveParam_bleedOutDuration", _p_rev]; + //missionNamespace setVariable ["bis_reviveParam_mode", 1]; + bis_reviveParam_mode = 1; + //missionNamespace setVariable ["bis_reviveParam_unconsciousStateMode", 2]; + bis_reviveParam_unconsciousStateMode = 2; + //missionNamespace setVariable ["bis_reviveParam_requiredTrait", 0]; + bis_reviveParam_requiredTrait = 0; + //missionNamespace setVariable ["bis_reviveParam_requiredItems", 2]; + bis_reviveParam_requiredItems = 2; + //missionNamespace setVariable ["ReviveRequiredItemsFakConsumed", 0]; + ReviveRequiredItemsFakConsumed = 0; + //missionNamespace setVariable ["bis_reviveParam_duration", 10]; + bis_reviveParam_duration = 10; + //missionNamespace setVariable ["bis_reviveParam_medicSpeedMultiplier", 2]; + bis_reviveParam_medicSpeedMultiplier = 2; + //missionNamespace setVariable ["bis_reviveParam_forceRespawnDuration", 3]; + bis_reviveParam_forceRespawnDuration = 3; + //missionNamespace setVariable ["bis_reviveParam_bleedOutDuration", _p_rev]; + bis_reviveParam_bleedOutDuration = _p_rev; }; case 2: { //ACE diff --git a/_A&S.Panovo/core/def/param.hpp b/_A&S.Panovo/core/def/param.hpp index 5d445a0..89a7af2 100644 --- a/_A&S.Panovo/core/def/param.hpp +++ b/_A&S.Panovo/core/def/param.hpp @@ -15,14 +15,14 @@ class Params { }; class btc_p_load { //paramsArray[2] - title = "Load the savegame (if available)"; + title = "Load the savegame (if available) [NOT IMPLEMENTED YET]"; values[]={0,1}; texts[]={"No","Yes"}; default = 1; }; class btc_p_gameMode { //paramsArray[3] - title = "Game mode?"; + title = "Game mode? [NOT IMPLEMENTED YET]"; values[] = {0, 1}; texts[] = {"A&S classic", "A&S random first location"}; default = 0; @@ -30,13 +30,13 @@ class Params { class btc_p_baseLocation { //paramsArray[4] title = "Base location?"; - values[] = {0, 1, 2, 3, 4, 5, 100}; - texts[] = {"Chaman", "Loy Manara Airport", "Rasman Airport", "Nur", "West of Tumurkalay", "Par-e Siah Oilfield", "Random"}; + values[] = {0, 1, 2, 3, 100}; + texts[] = {"South\West", "North\West", "North\East", "South\East", "Random"}; default = 100; }; class btc_p_enemyPlayer { //paramsArray[5] - title = "Game mode type?"; + title = "Game mode type? [NOT IMPLEMENTED YET]"; values[] = {0, 1, 2}; texts[] = {"PVE", "PVP (4:1 ratio)", "PVP (No ratio"}; default = 0; @@ -57,21 +57,21 @@ class Params { }; class btc_p_rallypoint { //paramsArray[8] - title = "Rally Point?"; + title = "Rally Point? [NOT IMPLEMENTED YET]"; values[]={0,1}; texts[]={"No","Yes"}; default = 1; }; class btc_p_redeploy { //paramsArray[9] - title = "Allow re-deploy?"; + title = "Allow re-deploy? [NOT IMPLEMENTED YET]"; values[]={0,1}; texts[]={"No","Yes"}; default = 1; }; class btc_p_respawnOnTL { //paramsArray[10] - title = "Respawn on TL?"; + title = "Respawn on TL? [NOT IMPLEMENTED YET]"; values[]={0,1}; texts[]={"No","Yes"}; default = 1; @@ -85,9 +85,9 @@ class Params { }; class btc_p_recruitment { //paramsArray[12] - title = "AI recruitment?"; + title = "AI recruitment? [NOT IMPLEMENTED YET]"; values[] = {0, 1, 2}; - texts[] = {"No", "Only SL", "All TLs"}; + texts[] = {"No", "Commander only", "All TLs"}; default = 1; }; class btc_p_en { @@ -113,7 +113,7 @@ class Params { }; class btc_p_rinf { //paramsArray[16] - title = "Enemy reinforcement?"; + title = "Enemy reinforcement? [NOT IMPLEMENTED YET]"; values[] = {0, 1}; texts[] = {"No", "Yes"}; default = 1; diff --git a/_A&S.Panovo/core/fnc/actions/requestArtillery.sqf b/_A&S.Panovo/core/fnc/actions/requestArtillery.sqf index 078fb0f..a6454e6 100644 --- a/_A&S.Panovo/core/fnc/actions/requestArtillery.sqf +++ b/_A&S.Panovo/core/fnc/actions/requestArtillery.sqf @@ -7,6 +7,8 @@ */ +if !(backpack player in btc_arty_radios) exitWith {hint "You need a radio to request the artillery support!"}; + switch (_this) do { case 0 : { //Open menu diff --git a/_A&S.Panovo/core/init_player.sqf b/_A&S.Panovo/core/init_player.sqf index a8704eb..f9a58da 100644 --- a/_A&S.Panovo/core/init_player.sqf +++ b/_A&S.Panovo/core/init_player.sqf @@ -83,7 +83,7 @@ player setPos getMarkerPos btc_marker_respawn; //Actions //if (BTC_arty_player_def == 1 && format ["%1",player getVariable "BTC_arty_operator"] == "1") then {_action = player addaction [("") + ("Request artillery") + "","=BTC=_addAction.sqf",[[],BTC_fnc_arty],0,false,false,"","BTC_arty_player_available"];}; -if (btc_arty && player getVariable ["btc_arty_operator",false]) then { +if (btc_arty_player && player getVariable ["btc_arty_operator",false]) then { player addaction [("") + ("Request artillery") + "",{(_this select 3) call btc_fnc_actions_requestArtillery},0,0,false,false,"","btc_arty_available"]; }; //Dynamic groups diff --git a/_A&S.Panovo/description.ext b/_A&S.Panovo/description.ext index 887b4b4..511aba3 100644 --- a/_A&S.Panovo/description.ext +++ b/_A&S.Panovo/description.ext @@ -1,4 +1,21 @@ +//loadScreen = "core\img\btc.paa"; +author = Giallustio; +onLoadName = Advance and Secure; +onLoadMission = www.blacktemplars.altervista.org; + +class Header +{ + gameType = Coop; + minPlayers = 1; + maxPlayers = 32; +}; + +respawn = 3; +respawnDelay = 5; +respawnDialog = 0; +disabledAI=1; + enableDebugConsole = 1; corpseManagerMode = 1; //wreckManagerMode = 1; diff --git a/_A&S.Panovo/mission.sqm b/_A&S.Panovo/mission.sqm index fa76db4..b5e6884 100644 Binary files a/_A&S.Panovo/mission.sqm and b/_A&S.Panovo/mission.sqm differ