Search the Community
Showing results for tags 'mission config'.
Found 2 results
-
Custom Loadout to AI units from mission config
kibaBG posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, I apply a custom loadout to spawned enemy AI units with _unit setUnitLoadout (missionConfigFile >> "Loadouts" >> "usaf" >> "infantry" >> "antitank"); Loadouts are defined in description.ext class Loadouts { class usaf { class infantry { class antitank { uniformClass = "rhs_uniform_acu_ucp"; backpack = "B_Kitbag_rgr"; weapons[] = {"rhsusf_weap_MP7A2_aor1","rhs_weap_maaws","Binocular","Throw","Put"}; magazines[] = {"rhsusf_mag_40Rnd_46x30_AP","rhs_mag_maaws_HEAT","ACE_painkillers","ACE_painkillers","ACE_painkillers","rhs_mag_m18_red","rhs_mag_m18_purple","rhs_mag_m18_yellow","rhs_mag_m67","Chemlight_red","Chemlight_red","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhsusf_mag_40Rnd_46x30_AP","rhs_mag_maaws_HEAT","rhs_mag_maaws_HEAT","rhs_mag_maaws_HEAT"}; items[] = {"ACE_fieldDressing","ACE_fieldDressing","ACE_fieldDressing","ACE_fieldDressing","ACE_fieldDressing","ACE_fieldDressing","ACE_fieldDressing","ACE_fieldDressing","ACE_elasticBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_elasticBandage","ACE_packingBandage","ACE_packingBandage","ACE_packingBandage","ACE_packingBandage","ACE_packingBandage","ACE_packingBandage","ACE_morphine","ACE_morphine","ACE_morphine","ACE_morphine","ACE_morphine","ACE_morphine","ACE_salineIV_500","ACE_splint","ACE_splint","ACE_splint","ACE_tourniquet","ACE_epinephrine","ACE_epinephrine","ACE_epinephrine"}; linkedItems[] = {"rhsusf_iotv_ucp_Squadleader","rhsusf_ach_helmet_headset_ucp","rhs_googles_yellow","ItemMap","ItemCompass","ItemWatch","ItemRadio","rhsusf_ANPVS_14"}; }; }; }; }; The unit spawns with everything but weapon attachments. I have no idea where to put the attachments classnames ? I will be glad of any help ... -
Using a custom config.hpp to store values
MarkCode82 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
How can I go about creating a custom config file to store values for my script to call onto? And eliminate variable definitions completely from outside the script, instead just plug and play? e e.g could I do this? class RSSysParams { class InitialWeather { title = "Initial weather"; values[] = {0,1,2,3,4,5}; texts[] = {"Clear","Sunny","Cloudy","Foggy","Stormy","Severe"}; default = 2; }; }; _config = configFile "RSSysParams\InitialWeather"; _configEntry = getArray (_config); ? nvm reverse engineering Altis Life showed me how to do it.-
- custom config.
- Parameters
-
(and 4 more)
Tagged with: