SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Mods Workshop for Cold Waters (https://www.subsim.com/radioroom/forumdisplay.php?f=285)
-   -   The 'MissionTypes' trigger in campaign_data file (https://www.subsim.com/radioroom/showthread.php?t=235678)

XenonSurf 11-28-17 12:30 PM

The 'MissionTypes' trigger in campaign_data file
 
Hi,
I have read the entire modding guide on Steam published by the devs, but the trigger in my title is not explained.
In the campaign_data file, under Locations you find for example:

[Locations]
//UK
//Holy Loch 0
Alignment=FRIENDLY
Function=PLAYER_BASE,NAVAL_BASE,AIRBASE
BaseMapPosition=-224,-198
AircraftType=us_p3c_orion
AircraftTypeInvaded=wp_il-38_may
AircraftPrepTime=10
AircraftHeadings=330,70
AircraftSearchRange=700
MissionTypes=RETURN_TO_BASE,LAND_STRIKE,INSERTION
LinksToWaypoint=IG7

or a similar green entry for the 'enemy' Murmansk:

MissionTypes=LANDING_FORCE,ASW_PATROL,ASUW_STRIKE, SHIP_RESUPPLY,SUB_RESUPPLY,SSN_PATROL,SSN_WOLFPACK ,SS_PATROL,SS_WOLFPACK,SS_SPECOPS,RESUPPLY_CONVOY

Other enemy locations DON'T have this trigger, so I wonder what it does exactly, I understand that it points to the different missions as defined in the mission folders, but why do specific locations are missing this trigger, for example, Trondheim is a frequent location for the enemy to operate amphibious attacks etc., yet no such trigger:

//Trondheim 6
Alignment=FRIENDLY
Function=STRATEGIC_NODE,AIRBASE,INSERTION_TARGET
BaseMapPosition=67.2,-83.5
AircraftType=us_p3c_orion
AircraftTypeInvaded=wp_il-38_may
AircraftSearchRange=700
AircraftPrepTime=15
AircraftHeadings=315,45
AircraftSearchRange=700
LinksToWaypoint=NC3
LinksToRegionWaypoint=N5

Thanks for a feedback!

Julhelm 11-28-17 03:17 PM

This is the kind of missions a given base spawns. So Holy Loch spawns the INSERTION, LAND_STRIKE and RETURN_TO_BASE missions since only the player sub can be assigned those. Murmansk spawns a wide assortment of enemy missions, while Gremikha spawns SSBN missions.

XenonSurf 11-28-17 07:49 PM

Hi Julhelm,
thanks for your precisions. I was asking this to implement some insertion and land strike mission into some mods. So, from your answer I will assume that (please correct me if wrong):

To edit a campaign for the player to get specific missions, it's not enough to define these missions under

[PLAYER MISSIONS]
...
PlayerMissionTypes= ....
+ frequencies and thresholds,

but all these missions (and enemy missions) must also be present somewhere under 'Location' and
...
MissionTypes= ...

Correct ?


All times are GMT -5. The time now is 03:03 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.