diff --git a/FP_Template.VR/cba_settings.sqf b/FP_Template.VR/cba_settings.sqf new file mode 100644 index 0000000..55fca5c --- /dev/null +++ b/FP_Template.VR/cba_settings.sqf @@ -0,0 +1,4 @@ +#include "config_mission.hpp" + +force ace_medical_preventInstaDeath = CFG_PREVENT_INSTANT_DEATH; +force ace_medical_playerDamageThreshold = CFG_PLAYER_DAMAGE_TRESHOLD; \ No newline at end of file diff --git a/FP_Template.VR/config_mission.hpp b/FP_Template.VR/config_mission.hpp index 8b35f45..357af76 100644 --- a/FP_Template.VR/config_mission.hpp +++ b/FP_Template.VR/config_mission.hpp @@ -3,7 +3,7 @@ */ #define CFG_ON_LOAD_TITLE "FPARMA Template v5" // displayed during mission load. keep it short #define CFG_ON_LOAD_TEXT "edit config_mission.hpp to change this!" // displayed during mission load -#define CFG_LOBBY_TITLE "CO64 - FPARMA Template v5.0.0" // mission selection screen name. format: - +#define CFG_LOBBY_TITLE "CO64 - FPARMA Template v5.1.0" // mission selection screen name. format: - #define CFG_AUTHOR "Cuel | 2017" // shown during load screen // shown in load screen, you can put a jpeg file in the mission folder and change this to "loading.jpg" // the default is fp logo in the modpack @@ -23,7 +23,7 @@ // Prevent that players can instantly die from bullet impact. 0 = nope, 1 = yes, prevent it // Players CAN still die after going unconscious with either one of these. // if you want to never die - enter a high value for max time in ace revive module -#define CFG_PREVENT_INSTANT_DEATH 1 +#define CFG_PREVENT_INSTANT_DEATH true // Damage treshold, magical armor added to unit when taking damage. 1 = ace default, 2 = fparma default // ONLY natural number / integer. No less than 1 and not higher than 8. #define CFG_PLAYER_DAMAGE_TRESHOLD 2 diff --git a/FP_Template.VR/description.ext b/FP_Template.VR/description.ext index 732ceab..dd8d832 100644 --- a/FP_Template.VR/description.ext +++ b/FP_Template.VR/description.ext @@ -53,14 +53,12 @@ respawnDialog = 0; respawnOnStart = 0; respawn = "BASE"; -class Params { - #include "fparma\Params.hpp" -}; - class CfgDebriefing { #include "CfgDebriefing.hpp" }; +cba_settings_hasSettingsFile = 1; + showGPS = 1; showMap = 1; showWatch = 1; diff --git a/FP_Template.VR/fparma/Params.hpp b/FP_Template.VR/fparma/Params.hpp deleted file mode 100644 index b943b7e..0000000 --- a/FP_Template.VR/fparma/Params.hpp +++ /dev/null @@ -1,34 +0,0 @@ -//This file should not be edited, see config_mission.hpp instead - -/*enforce basic. contact a moderator if you want adv medic*/ -class ace_medical_level { - title = "Medical Level"; - ACE_setting = 1; - values[] = {1}; - texts[] = {"Basic - forced"}; - default = 1; -}; - -class ace_zeus_autoAddObjects { - title = "Auto add zeus objects"; - ACE_setting = 1; - values[] = {1}; - texts[] = {"Yes"}; - default = 1; -}; - -class ace_medical_preventInstaDeath { - title = "Prevent INSTANT death (e.g headshots - can still die when down)"; - ACE_setting = 1; - values[] = {0,1}; - texts[] = {"No", "Yes"}; - default = CFG_PREVENT_INSTANT_DEATH; -}; - -class ace_medical_playerDamageThreshold { - title = "Player damage treshold"; - ACE_setting = 1; - values[] = {1,2,3,4,5,6,7,8}; - texts[] = {"ACE Default (1)", "FP Default (2)", "3", "4", "5", "6", "7", "8"}; - default = CFG_PLAYER_DAMAGE_TRESHOLD; -};