mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
* Add action manager to handle actions in replacement of keyboard shortcuts * Implement new Action concept * Remove the shortcutscomponent as it is no longer needed * Update profile version from 1.0 to 1.1 * Add action dialog * Restructure of key specification in keys.h * Remove solid field-of-view keybind from the newhorizons profile as the setting no longer exists
179 lines
5.5 KiB
Plaintext
179 lines
5.5 KiB
Plaintext
{
|
||
"actions": [
|
||
{
|
||
"documentation": "Sets the focus of the camera on 67P",
|
||
"gui_path": "/Missions/Rosetta",
|
||
"identifier": "profile.focus.67P",
|
||
"is_local": false,
|
||
"name": "Focus on 67P",
|
||
"script": "openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.Anchor', '67P'); openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.Aim', ''); openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil);"
|
||
},
|
||
{
|
||
"documentation": "Sets the focus of the camera on Rosetta",
|
||
"gui_path": "/Missions/Rosetta",
|
||
"identifier": "profile.focus.rosetta",
|
||
"is_local": false,
|
||
"name": "Focus on Rosetta",
|
||
"script": "openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.Anchor', 'Rosetta'); openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.Aim', ''); openspace.setPropertyValue('NavigationHandler.OrbitalNavigator.RetargetAnchor', nil);"
|
||
},
|
||
{
|
||
"documentation": "Jumps to the time when the Philae lander is released.",
|
||
"gui_path": "/Missions/Rosetta",
|
||
"identifier": "profile.setup.lander_release",
|
||
"is_local": false,
|
||
"name": "Set lander release time",
|
||
"script": "openspace.time.setTime('2014-11-12T08:20:00.00');"
|
||
},
|
||
{
|
||
"documentation": "Removes all image projections from 67P.",
|
||
"gui_path": "/Missions/Rosetta",
|
||
"identifier": "profile.67p.clear_projections",
|
||
"is_local": false,
|
||
"name": "Clear 67P projections",
|
||
"script": "openspace.setPropertyValue('Scene.67P.Renderable.ProjectionComponent.ClearAllProjections', true);"
|
||
},
|
||
{
|
||
"documentation": "Toggles the visibility of all trails further from the Sun than 67P.",
|
||
"gui_path": "/Missions/Rosetta",
|
||
"identifier": "profile.toggle.outerplanet_trails",
|
||
"is_local": false,
|
||
"name": "Toggle outer planetary trails",
|
||
"script": "local list = openspace.getProperty('{planetTrail_giants}.Renderable.Enabled'); for _,v in pairs(list) do openspace.setPropertyValueSingle(v, not openspace.getPropertyValue(v)) end"
|
||
},
|
||
{
|
||
"documentation": "Toggles the visibility of the free floating image plane.",
|
||
"gui_path": "/Missions/Rosetta",
|
||
"identifier": "profile.toggle.image_plane",
|
||
"is_local": false,
|
||
"name": "Toggle image plane",
|
||
"script": "openspace.setPropertyValueSingle('Scene.ImagePlaneRosetta.Renderable.Enabled', not openspace.getPropertyValue('Scene.ImagePlaneRosetta.Renderable.Enabled'));"
|
||
},
|
||
{
|
||
"documentation": "Toggles the visibility of Philae's trail.",
|
||
"gui_path": "/Missions/Rosetta",
|
||
"identifier": "profile.toggle.philae_trail",
|
||
"is_local": false,
|
||
"name": "Toggle Philae trail",
|
||
"script": "openspace.setPropertyValueSingle('Scene.PhilaeTrail.Renderable.Enabled', not openspace.getPropertyValue('Scene.PhilaeTrail.Renderable.Enabled'));"
|
||
},
|
||
{
|
||
"documentation": "Enables or disables the image projection on 67P.",
|
||
"gui_path": "/Missions/Rosetta",
|
||
"identifier": "profile.toggle.67p_projection",
|
||
"is_local": false,
|
||
"name": "Toggle 67P projection",
|
||
"script": "openspace.setPropertyValueSingle('Scene.67P.Renderable.ProjectionComponent.PerformProjection', not openspace.getPropertyValue('Scene.67P.Renderable.ProjectionComponent.PerformProjection'));"
|
||
}
|
||
],
|
||
"assets": [
|
||
"base",
|
||
"scene/solarsystem/missions/rosetta/67p",
|
||
"scene/solarsystem/missions/rosetta/dashboard",
|
||
"scene/solarsystem/missions/rosetta/rosetta"
|
||
],
|
||
"camera": {
|
||
"aim": "",
|
||
"anchor": "67P",
|
||
"frame": "",
|
||
"position": {
|
||
"x": -729478.0,
|
||
"y": -665789.0,
|
||
"z": 2509050.0
|
||
},
|
||
"type": "setNavigationState",
|
||
"up": {
|
||
"x": 0.146529,
|
||
"y": 0.944727,
|
||
"z": 0.29329
|
||
}
|
||
},
|
||
"delta_times": [
|
||
1.0,
|
||
5.0,
|
||
30.0,
|
||
60.0,
|
||
300.0,
|
||
1800.0,
|
||
3600.0,
|
||
43200.0,
|
||
86400.0,
|
||
604800.0,
|
||
1209600.0,
|
||
2592000.0,
|
||
5184000.0,
|
||
7776000.0,
|
||
15552000.0,
|
||
31536000.0,
|
||
63072000.0,
|
||
157680000.0,
|
||
315360000.0,
|
||
630720000.0
|
||
],
|
||
"keybindings": [
|
||
{
|
||
"action": "profile.focus.67P",
|
||
"key": "A"
|
||
},
|
||
{
|
||
"action": "profile.focus.rosetta",
|
||
"key": "S"
|
||
},
|
||
{
|
||
"action": "profile.setup.lander_release",
|
||
"key": "F6"
|
||
},
|
||
{
|
||
"action": "profile.67p.clear_projections",
|
||
"key": "F8"
|
||
},
|
||
{
|
||
"action": "profile.toggle.outerplanet_trails",
|
||
"key": "E"
|
||
},
|
||
{
|
||
"action": "profile.toggle.image_plane",
|
||
"key": "I"
|
||
},
|
||
{
|
||
"action": "profile.toggle.philae_trail",
|
||
"key": "O"
|
||
},
|
||
{
|
||
"action": "profile.toggle.67p_projection",
|
||
"key": "P"
|
||
}
|
||
],
|
||
"mark_nodes": [
|
||
"67P",
|
||
"Rosetta",
|
||
"Philae"
|
||
],
|
||
"meta": {
|
||
"author": "OpenSpace Team",
|
||
"description": "The Rosetta scene shows the entire mission of ESA’s Rosetta spacecraft around comet 67P, also known as Churyumov-Gerasimenko. The spacecraft’s images are projected onto the comet and the separation of the Philae lander is visible as well.",
|
||
"license": "MIT License",
|
||
"name": "Rosetta",
|
||
"url": "https://www.openspaceproject.com",
|
||
"version": "1.0"
|
||
},
|
||
"properties": [
|
||
{
|
||
"name": "Scene.67P.Renderable.PerformShading",
|
||
"type": "setPropertyValue",
|
||
"value": "false"
|
||
},
|
||
{
|
||
"name": "Scene.ImagePlaneRosetta.Renderable.Enabled",
|
||
"type": "setPropertyValue",
|
||
"value": "false"
|
||
}
|
||
],
|
||
"time": {
|
||
"type": "absolute",
|
||
"value": "2014-08-01T03:05:00"
|
||
},
|
||
"version": {
|
||
"major": 1,
|
||
"minor": 1
|
||
}
|
||
} |