This plugin converts old scenarios using Scenario Framework from 1.0.0 to the new 1.1.0 format.
More...
This plugin converts old scenarios using Scenario Framework from 1.0.0 to the new 1.1.0 format.
The plugin must be run once, then the world must be saved and loaded before running part 2.
- See also
- SCR_ScenarioFrameworkConversionPlugin_Phase2
◆ SCR_ScenarioFrameworkConversionPlugin_Phase1()
void SCR_ScenarioFrameworkConversionPlugin_Phase1.SCR_ScenarioFrameworkConversionPlugin_Phase1 |
( |
| ) |
|
|
protected |
◆ Convert()
void SCR_ScenarioFrameworkConversionPlugin_Phase1.Convert |
( |
notnull array< IEntitySource > |
allEntitySources | ) |
|
|
protected |
◆ ConvertSlotTo()
- Parameters
-
[in] | entitySource | |
[in] | componentSource | |
[in] | rune | |
- Returns
- true on success, false otherwise
◆ CreateCycleWaypoints()
void SCR_ScenarioFrameworkConversionPlugin_Phase1.CreateCycleWaypoints |
( |
notnull array< IEntitySource > |
allEntitySources | ) |
|
|
protected |
Create cycle waypoints under targeted layers (with the name LayerName_Cycle)
- Parameters
-
◆ GetEntitySources()
array< IEntitySource > SCR_ScenarioFrameworkConversionPlugin_Phase1.GetEntitySources |
( |
| ) |
|
|
protected |
- Parameters
-
[in] | getAllEntitiesAndNotJustSelectedOnes | |
- Returns
- entitysources that are GenericEntity and have an ancestor
◆ GetLayersAndWaypointSets()
void SCR_ScenarioFrameworkConversionPlugin_Phase1.GetLayersAndWaypointSets |
( |
notnull array< IEntitySource > |
allEntitySources, |
|
|
out notnull map< string, IEntitySource > |
namedLayers, |
|
|
out notnull array< ref SCR_WaypointSet > |
cycleWaypointSets |
|
) |
| |
|
protected |
- Parameters
-
[in] | allEntitySources | |
[out] | namedLayers | |
[out] | cycleWaypointSets | |
◆ Run()
override void SCR_ScenarioFrameworkConversionPlugin_Phase1.Run |
( |
| ) |
|
◆ TryAndConvertSlotWaypointGroups()
void SCR_ScenarioFrameworkConversionPlugin_Phase1.TryAndConvertSlotWaypointGroups |
( |
notnull IEntitySource |
entitySource | ) |
|
|
protected |
all-in-one Try AND Convert method
- Parameters
-
◆ TryConvertSlot()
void SCR_ScenarioFrameworkConversionPlugin_Phase1.TryConvertSlot |
( |
notnull IEntitySource |
entitySource | ) |
|
|
protected |
◆ BASE_SLOT_CLASSNAME
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.BASE_SLOT_CLASSNAME = "SCR_ScenarioFrameworkSlotBase" |
|
staticprotected |
◆ BASE_SLOT_FIELD
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.BASE_SLOT_FIELD = "m_sObjectToSpawn" |
|
staticprotected |
◆ BASE_SLOTWP_CLASSNAMES
const ref array<string> SCR_ScenarioFrameworkConversionPlugin_Phase1.BASE_SLOTWP_CLASSNAMES |
|
staticprotected |
Initial value:= {
"SCR_ScenarioFrameworkSlotAI",
"SCR_ScenarioFrameworkSlotKill",
"SCR_ScenarioFrameworkSlotDefend",
}
◆ BASE_SLOTWP_FIELD_FROM
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.BASE_SLOTWP_FIELD_FROM = "m_aWaypointGroupNames" |
|
staticprotected |
◆ BASE_SLOTWP_FIELD_TO
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.BASE_SLOTWP_FIELD_TO = "m_WaypointSet" |
|
staticprotected |
◆ CONVERSION_TABLE
◆ CYCLE_SUFFIX
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.CYCLE_SUFFIX = "_Cycle" |
|
staticprotected |
◆ CYCLE_WAYPOINT_CLASSNAME
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.CYCLE_WAYPOINT_CLASSNAME = "SCR_ScenarioFrameworkWaypointCycle" |
|
staticprotected |
◆ GENERIC_CLASSNAME
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.GENERIC_CLASSNAME = "GenericEntity" |
|
static |
◆ LAYER_PREFAB
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.LAYER_PREFAB = "{5F9FFF4BF027B3A3}Prefabs/ScenarioFramework/Components/Layer.et" |
|
staticprotected |
◆ SLOT_AI_PREFAB
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.SLOT_AI_PREFAB = "{8D43830F02C3F114}Prefabs/ScenarioFramework/Components/SlotAI.et" |
|
staticprotected |
◆ SLOT_DEFEND_PREFAB
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.SLOT_DEFEND_PREFAB = "{E123BAC59A9B3D5F}Prefabs/ScenarioFramework/Components/SlotDefend.et" |
|
staticprotected |
◆ SLOT_KILL_PREFAB
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.SLOT_KILL_PREFAB = "{C70DC6CBD1AAEC9A}Prefabs/ScenarioFramework/Components/SlotKill.et" |
|
staticprotected |
◆ SLOT_PREFAB
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.SLOT_PREFAB = "{AA01691FDC4E9167}Prefabs/ScenarioFramework/Components/Slot.et" |
|
staticprotected |
◆ SLOT_WAYPOINT_COMPONENT_CLASSNAME
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.SLOT_WAYPOINT_COMPONENT_CLASSNAME = "SCR_ScenarioFrameworkSlotWaypoint" |
|
static |
◆ SLOT_WAYPOINT_PREFAB
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.SLOT_WAYPOINT_PREFAB = "{EBD91177954E8236}Prefabs/ScenarioFramework/Components/SlotWaypoint.et" |
|
static |
◆ WAYPOINT_CLASSNAME
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.WAYPOINT_CLASSNAME = "SCR_ScenarioFrameworkWaypointSet" |
|
staticprotected |
◆ WAYPOINT_COMPONENT_FIELD
const string SCR_ScenarioFrameworkConversionPlugin_Phase1.WAYPOINT_COMPONENT_FIELD = "m_Waypoint" |
|
static |
The documentation for this interface was generated from the following file:
- WorkbenchGame/WorldEditor/Update/1.0.0-1.1.0/SCR_ScenarioFrameworkUpdatePlugin.c