====== MILITARY_CAMPAIGN ====== **Category**: Asset Parent class: [[:api:event|EVENT]]\\ //[[:annotations#cloneable|Cloneable]]// [[:assets:military_campaign| List of MILITARY_CAMPAIGN assets]] ===== Properties ===== ---- ==== MissionExpirationInDays ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''1'' ---- ==== RequiredCompanyCount ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#integer_and_unsigned_integer|integer_and_unsigned_integer]]'' * **Expected**: ''integer value'' * **Default value**: ''1'' ---- ==== RequiredWeaponTypeList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:military_weapon_type|MILITARY_WEAPON_TYPE]]>'' * **Expected**: ''list of asset IDs'' ---- ==== PanelVisual ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:texture|TEXTURE]]'' * **Expected**: ''asset ID'' ---- ==== IsUsingCycle ==== //[[:annotations#serialized|Serialized]]// Will use the cycle count and durations defined in Military Campaign Settings * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== MissionCampaignStepList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:military_campaign_step|MILITARY_CAMPAIGN_STEP]]>'' * **Expected**: ''list of MILITARY_CAMPAIGN_STEP values'' ---- ==== AssetNotification ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:notification|NOTIFICATION]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== SuccessAssetOutcomePanel ==== //[[:annotations#serialized|Serialized]]// Note: the title will be overridden by '[MILITARY_CAMPAIGN]' success/failed * **Type**: ''[[:api:outcome_panel_data|OUTCOME_PANEL_DATA]]'' * **Expected**: ''asset ID'' ---- ==== FailureAssetOutcomePanel ==== //[[:annotations#serialized|Serialized]]// Note: the title will be overridden by '[MILITARY_CAMPAIGN]' success/failed * **Type**: ''[[:api:outcome_panel_data|OUTCOME_PANEL_DATA]]'' * **Expected**: ''asset ID'' ---- ==== CanceledAssetOutcomePanel ==== //[[:annotations#serialized|Serialized]]// Note: the title will be overridden by '[MILITARY_CAMPAIGN]' success/failed * **Type**: ''[[:api:outcome_panel_data|OUTCOME_PANEL_DATA]]'' * **Expected**: ''asset ID'' ---- ==== CampaignSuccessActionList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:game_action|GAME_ACTION]]>'' * **Expected**: ''list of GAME_ACTION values'' ---- ==== CampaignFailActionList ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#list|list]]<[[:api:game_action|GAME_ACTION]]>'' * **Expected**: ''list of GAME_ACTION values'' ---- ==== PerformanceRewardGenerator ==== //[[:annotations#serialized|Serialized]]// If empty, missions won't give rewards by themselves but can give some in outcome panel (like in the case of campaigns) * **Type**: ''[[:api:quest_reward_generator|QUEST_REWARD_GENERATOR]]'' * **Expected**: ''asset ID'' * **Default value**: ''nil'' ---- ==== AllowDuplicate ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''false'' ---- ==== AssetGrade ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:api:military_grade|MILITARY_GRADE]]'' * **Expected**: ''asset ID'' ---- ==== IsRiskyMission ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true'' ---- ==== IsRequiringWarRations ==== //[[:annotations#serialized|Serialized]]// * **Type**: ''[[:data-types#boolean|boolean]]'' * **Expected**: ''boolean value'' * **Default value**: ''true''