From 658f07b42b0df7ae70232100d06407dfe496d3ac Mon Sep 17 00:00:00 2001 From: Giallustio Date: Sun, 25 Dec 2016 19:06:24 +0100 Subject: [PATCH] Tweaks to params --- _A&S.Panovo/core/def/mission.sqf | 30 ++++++++++++------ _A&S.Panovo/core/def/param.hpp | 22 ++++++------- .../core/fnc/actions/requestArtillery.sqf | 2 ++ _A&S.Panovo/core/init_player.sqf | 2 +- _A&S.Panovo/description.ext | 17 ++++++++++ _A&S.Panovo/mission.sqm | Bin 2798 -> 19059 bytes 6 files changed, 51 insertions(+), 22 deletions(-) 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 fa76db4dcd74a96f9b258daab5781fb0b8fdd872..b5e68843f9f224e4c3dabbdbd8ff3f6666cd4058 100644 GIT binary patch literal 19059 zcmd^HTW{Mq8hv(w{s+Skiygqxh<9=eKV;H22+&T8rZagM3=G9qV(r?NA<4;Pi}~++ zDAJZ<%bhrz#4BupBr-)&B+qv_JfwRQXL*v&2ZFwN{c1Fg^1S1mcO7s>qkZITxQ655(Y zdW}|c*P?s#SrO09-hR%~n`9hksAFH>na6(=XKx3Z*{A-rzg+E)QTDGm+gaZZs9yaf zn#CE0xKbgMubwZ{!tik zrST!u{V>o{s*o^Od%5tHLnR5}j2l}+Da}+Uamf|cQoFiQ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