Kerbal Space Program
1.12.4
|
Classes | |
class | Objectives |
Static Public Member Functions | |
static void | AddMissionsScenarios () |
Will add all Scenarios that have ScenarioCreationOptions.AddToNewMissionGames to the scene. Be careful, depending on the scene some may already be running. Should ONLY be used if you know they aren't. More... | |
static List< MissionPack > | GatherMissionPacks (MissionTypes missionType) |
Get the mission packs for the supplied type More... | |
static string | GetBaseMissionsPath (string missionName) |
Get the full path of a base game mission to be loaded that was made by Squad. More... | |
static int | GetFacilityLimit (string facilityName, int defaultLevel) |
Get the configured MaxLevel for a facilty from the difficulty params More... | |
static String | GetFieldValueForDisplay (BaseAPField field) |
Helper method to get the display string for a fields value More... | |
static string | GetMissionsFolder (MissionTypes missionType) |
Get the path to the Missions folder based on the type of mission More... | |
static string | GetStockMissionsPath (string missionName) |
Get the full path of a mission to be loaded that was made by Squad. More... | |
static Texture2D | GetTextureInExternalPath (string filePath) |
static string | GetUsersMissionsPath (string missionName) |
Get the full path of a mission to be saved. More... | |
static void | InitialiseAdjusterTypes () |
Creates a dictionary to link all of the adjuster types and the part modules that they support. More... | |
static MEFlowParser | InstantiateMEFlowParser (Transform parent) |
Instantiates an Instance of MEFlowParser and sets it's parent Transform More... | |
static GameObject | MEPrefab (string prefabPath) |
Returns the GameObject Prefab More... | |
static Texture2D | METexture (string prefabPath) |
Returns a Texture2D from the Asset Bundle. More... | |
static void | OpenMissionBuilder () |
Helper method to open the MissionBuilder scene from the bundles More... | |
static void | RebuildPacksList () |
Empty the list and rebuild the packs from the GameDB and MissionPacks.cfg inside Users Mission folders More... | |
static void | RemoveMissionSaves (string folderName) |
Removes any saves/missions and saves/test_missions folder for the folder name (mission name) passed in. More... | |
static string | VerifyUsersMissionsFolder (string missionName) |
Verifies and creates the save folder and sub parts for a mission. More... | |
Static Public Attributes | |
static DictionaryValueList < string, List< Type > > | adjusterTypesSupportedByPartModule = new DictionaryValueList<string, List<Type>>() |
Dictionary connecting all the part modules with the part module adjusters that they support. More... | |
static readonly string | fileExtension = ".mission" |
The extension we use for missions More... | |
static DictionaryValueList < string, List< Type > > | partModuleTypesSupportedByAdjuster = new DictionaryValueList<string, List<Type>>() |
Dictionary connecting all the part module adjusters with the part modules that they can affect. More... | |
Properties | |
static string | BaseMissionsPath [get] |
Path to where the Squad provided Base Game Stock .mission files are More... | |
static string | ExpansionRootPath [get] |
The folder that is the root of stock files for the Missions Expansion More... | |
static string | MissionExportsPath [get] |
Path to where the compressed mission files are exported More... | |
static string | MissionImportCompletedPath [get] |
Path to where the compressed mission files are stored once they've been imported More... | |
static DictionaryValueList < string, MissionPack > | MissionPacks [get] |
The list of mission packs loaded from cfg files More... | |
static string | SavesPath [get] |
Path to the sub folder that the mission saves are stored More... | |
static string | SavesRootPath [get] |
Path to the folder that the mission saves are stored More... | |
static string | StockMissionsPath [get] |
Path to where the Squad provided .mission files are More... | |
static string | TemplatesPath [get] |
Path to where the Squad provided Template mission files are More... | |
static string | UsersMissionsPath [get] |
Path to where the Users .mission files are More... | |
|
inlinestatic |
Will add all Scenarios that have ScenarioCreationOptions.AddToNewMissionGames to the scene. Be careful, depending on the scene some may already be running. Should ONLY be used if you know they aren't.
|
inlinestatic |
Get the mission packs for the supplied type
missionType |
|
inlinestatic |
Get the full path of a base game mission to be loaded that was made by Squad.
missionName | Name of the mission. |
|
inlinestatic |
Get the configured MaxLevel for a facilty from the difficulty params
facilityName | The string name of the facility |
defaultLevel | what to return if we dont have a setting |
|
inlinestatic |
Helper method to get the display string for a fields value
field | The field |
|
inlinestatic |
Get the path to the Missions folder based on the type of mission
missionType | Stock or User |
|
inlinestatic |
Get the full path of a mission to be loaded that was made by Squad.
missionName | Name of the mission. |
|
inlinestatic |
|
inlinestatic |
Get the full path of a mission to be saved.
missionName | Name of the mission (which will also become the file name). |
|
inlinestatic |
Creates a dictionary to link all of the adjuster types and the part modules that they support.
|
inlinestatic |
Instantiates an Instance of MEFlowParser and sets it's parent Transform
parent | The PArent Transform to attach the instance to |
|
inlinestatic |
Returns the GameObject Prefab
prefabPath | The prefab path; also include the file suffix |
|
inlinestatic |
Returns a Texture2D from the Asset Bundle.
prefabPath | The prefab path; also include the file suffix |
|
inlinestatic |
Helper method to open the MissionBuilder scene from the bundles
|
inlinestatic |
Empty the list and rebuild the packs from the GameDB and MissionPacks.cfg inside Users Mission folders
|
inlinestatic |
Removes any saves/missions and saves/test_missions folder for the folder name (mission name) passed in.
folderName |
|
inlinestatic |
Verifies and creates the save folder and sub parts for a mission.
missionName | The title of the mission - it will be sanitized in here |
|
static |
Dictionary connecting all the part modules with the part module adjusters that they support.
|
static |
The extension we use for missions
|
static |
Dictionary connecting all the part module adjusters with the part modules that they can affect.
|
staticget |
Path to where the Squad provided Base Game Stock .mission files are
KSP/GameData/Squad/Missions usually
|
staticget |
The folder that is the root of stock files for the Missions Expansion
KSP/GameData/SquadExpansion/MakingHistory usually
|
staticget |
Path to where the compressed mission files are exported
KSP/Missions/_Exports usually
|
staticget |
Path to where the compressed mission files are stored once they've been imported
KSP/Missions/_Imported usually
|
staticget |
The list of mission packs loaded from cfg files
either the gameDB files or MissionPacks.cfg inside Users Mission folders
|
staticget |
Path to the sub folder that the mission saves are stored
missions/ usually if not in test mode test_missions/ usually if in test mode
testMode | Specifies if this missions needs to save in test mode |
|
staticget |
Path to the folder that the mission saves are stored
KSP/saves/missions usually if not in test mode KSP/saves/test_missions usually if in test mode
testMode | Specifies if this missions needs to save in test mode |
|
staticget |
Path to where the Squad provided .mission files are
KSP/GameData/SquadExpansion/MakingHistory/Missions usually
|
staticget |
Path to where the Squad provided Template mission files are
KSP/GameData/SquadExpansion/MakingHistory/Templates usually
|
staticget |
Path to where the Users .mission files are
KSP/Missions usually