|
Post by notld on Nov 7, 2010 7:16:35 GMT -5
Can a mission be deactivated?
|
|
|
Post by anno1404 on Apr 9, 2011 23:39:58 GMT -5
yes, see my nearly empty missions.txt file for infinity mode. As long as the header remains, the mission guts can be removed (deactivated). For example, here are the four sections for Happily Ever After Sort of. cMissionDefinition HappilyEverAfterSortOf { CantFailOnLevel = "ROYAL_FLUSH" Color = "16422912" DebugSpawnPoint = "Exit_Safehouse" DescriptionSummary = "1" DisplayName = "80000" Duration = "36000" LevelRequiredToStartName = "SAFEHOUSE" LevelToStartAtIfDebuggingMission = "ROYAL_FLUSH" MissionType = "3" ShowInDebugMenu = "true" StartTime = "20700" cMissionObjective HappilyEverAfterSortOf-Objective {
}
cMissionOnFail HappilyEverAfterSortOf-x { }
cMissionLevelReady x1112 {
}
}
cMissionDefinition HEA_GordonJoin1 { Color = "16422912" DebugSpawnPoint = "Exit_Safehouse" DescriptionSummary = "1" DisplayName = "80000" Duration = "36000" LevelRequiredToStartName = "ROYAL_FLUSH" LevelToStartAtIfDebuggingMission = "ROYAL_FLUSH" MissionType = "8" ParentMission = "HappilyEverAfterSortOf" ShowInDebugMenu = "false" StartTime = "20700" cMissionObjective HappilyEverAfterGordonJoin-Objective2 {
}
cMissionLevelReady LaShawndraAmbient1 {
}
cMissionPrereq hea_prereq {
}
}
cMissionDefinition HEA_LeShawndraJoin1 { Color = "16422912" DebugSpawnPoint = "Exit_Safehouse" DescriptionSummary = "1" DisplayName = "80000" Duration = "36000" LevelRequiredToStartName = "ROYAL_FLUSH" LevelToStartAtIfDebuggingMission = "ROYAL_FLUSH" MissionType = "8" ParentMission = "HappilyEverAfterSortOf" ShowInDebugMenu = "false" StartTime = "20700" cMissionObjective HappilyEverAfterLeShawndraJoin-Objective1 {
}
cMissionLevelReady LaShawndraAmbient2 {
}
cMissionPrereq hea_prereq2 {
}
}
cMissionDefinition HEA_SortOfFail { Color = "16422912" DebugSpawnPoint = "Exit_Safehouse" DescriptionSummary = "1" DisplayName = "80000" Duration = "36000" ExplicitStart = "true" FailPrerequisiteMission = "HappilyEverAfterSortOf" LevelToStartAtIfDebuggingMission = "ROYAL_FLUSH" MissionType = "8" ShowInDebugMenu = "false" StartTime = "20700" cMissionObjective HEA_SortOfFail-Objective {
}
cMissionLevelReady FailRoyalFlush {
}
}
The main sections are here, the minor sections which are empty, such as cMissionObjective HappilyEverAfterSortOf-Objective
in my experience can be safely removed. Keep in mind, like in all programming, it is important to always close the bracket, so if there is: { there should always be: } Locked thread, reply at nearly empty missions.txt file for infinity mode
|
|