JD2022-TU1/data/EngineData/GameConfig/cr_device_selection.ilu

355 lines
7.3 KiB
Text

includeReference("EngineData/Helpers/ScoringTypes.ilu")
device_selection_carousels =
{
}
device_selection_carousels_orbis =
{
{
-- Key goes to carouselDataID
KEY="scoring_type_selection",
VAL =
{
CarouselDesc =
{
elements =
{
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "camera",
itemObject = "scoring_type_item_camera_ps4",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.Camera,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
},
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "phone",
itemObject = "scoring_type_item_phone",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.Phone,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
},
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "move",
itemObject = "scoring_type_item_ps_move",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.HandController,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
}
}
}
}
}
}
device_selection_carousels_durango =
{
{
-- Key goes to carouselDataID
KEY="scoring_type_selection",
VAL =
{
CarouselDesc =
{
elements =
{
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "phone",
itemObject = "scoring_type_item_phone",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.Phone,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
},
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "camera",
itemObject = "scoring_type_item_camera_kinect",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.Camera,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
}
}
}
}
}
}
device_selection_carousels_nx =
{
{
-- Key goes to carouselDataID
KEY="scoring_type_selection",
VAL =
{
CarouselDesc =
{
elements =
{
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "move",
itemObject = "scoring_type_item_joycon",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.HandController,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
},
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "phone",
itemObject = "scoring_type_item_phone",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.Phone,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
},
}
}
}
}
}
device_selection_carousels_default =
{
{
-- Key goes to carouselDataID
KEY="scoring_type_selection",
VAL =
{
CarouselDesc =
{
elements =
{
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "phone",
itemObject = "scoring_type_item_phone",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.Phone,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
},
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "camera",
itemObject = "scoring_type_item_camera_kinect",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.Camera,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
},
{
NAME="JD_CarouselElementDesc",
JD_CarouselElementDesc =
{
autotestFriendlyName = "move",
itemObject = "scoring_type_item_ps_move",
itemLogic = "ui_component_base",
width = 300,
height = 710,
components =
{
{
NAME = "JD_CarouselElementDescComponent_Device",
JD_CarouselElementDescComponent_Device =
{
scoringType = ScoringType.HandController,
}
},
},
actions =
{
{
NAME = "JD_CarouselElementDesc_Action_DeviceSelection",
},
}
},
},
}
}
}
}
}
if (ITF_Platform == "ORBIS") then
appendTable(device_selection_carousels, device_selection_carousels_orbis)
elseif (ITF_Platform == "DURANGO") then
appendTable(device_selection_carousels, device_selection_carousels_durango)
elseif (ITF_Platform == "NX" ) then
appendTable(device_selection_carousels, device_selection_carousels_nx)
else
appendTable(device_selection_carousels, device_selection_carousels_default)
end