moved code
This commit is contained in:
parent
4f913b0246
commit
ca79dcb1a0
@ -198,6 +198,7 @@
|
|||||||
"GameKeyHandler.fce69c",
|
"GameKeyHandler.fce69c",
|
||||||
"ArkhamSCE310-4202023-Page1.e1b8df",
|
"ArkhamSCE310-4202023-Page1.e1b8df",
|
||||||
"3DText.d628cc",
|
"3DText.d628cc",
|
||||||
|
"NavigationOverlayHandler.797ede",
|
||||||
"TheColourOutofOz.be7d21",
|
"TheColourOutofOz.be7d21",
|
||||||
"Bloodborne-CityoftheUnseen0175.81651b"
|
"Bloodborne-CityoftheUnseen0175.81651b"
|
||||||
],
|
],
|
||||||
|
@ -1 +1 @@
|
|||||||
{"acknowledgedUpgradeVersions":[],"optionPanel":{"playAreaSnapTags":true,"showAttachmentHelper":false,"showChaosBagManager":false,"showCleanUpHelper":false,"showCustomPlaymatImages":false,"showCYOA":false,"showDisplacementTool":false,"showDrawButton":false,"showHandHelper":[],"showNavigationOverlay":false,"showSearchAssistant":[],"showTitleSplash":true,"showTokenArranger":false,"useClueClickers":false,"useSnapTags":true}}
|
{"acknowledgedUpgradeVersions":[],"optionPanel":{"playAreaSnapTags":true,"showAttachmentHelper":false,"showChaosBagManager":false,"showCleanUpHelper":false,"showCustomPlaymatImages":false,"showCYOA":false,"showDisplacementTool":false,"showDrawButton":false,"showHandHelper":[],"showSearchAssistant":[],"showTitleSplash":true,"showTokenArranger":false,"useClueClickers":false,"useSnapTags":true}}
|
||||||
|
45
objects/NavigationOverlayHandler.797ede.json
Normal file
45
objects/NavigationOverlayHandler.797ede.json
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"AltLookAngle": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"Autoraise": true,
|
||||||
|
"ColorDiffuse": {
|
||||||
|
"b": 0,
|
||||||
|
"g": 0,
|
||||||
|
"r": 0
|
||||||
|
},
|
||||||
|
"Description": "This object contains the code for the \"Navigation Overlay\".",
|
||||||
|
"DragSelectable": true,
|
||||||
|
"GMNotes": "",
|
||||||
|
"GUID": "797ede",
|
||||||
|
"Grid": true,
|
||||||
|
"GridProjection": false,
|
||||||
|
"Hands": false,
|
||||||
|
"HideWhenFaceDown": false,
|
||||||
|
"IgnoreFoW": false,
|
||||||
|
"LayoutGroupSortIndex": 0,
|
||||||
|
"Locked": true,
|
||||||
|
"LuaScript": "require(\"core/NavigationOverlayHandler\")",
|
||||||
|
"LuaScriptState": "",
|
||||||
|
"MeasureMovement": false,
|
||||||
|
"Name": "go_game_piece_black",
|
||||||
|
"Nickname": "Navigation Overlay Handler",
|
||||||
|
"Snap": true,
|
||||||
|
"Sticky": true,
|
||||||
|
"Tooltip": true,
|
||||||
|
"Transform": {
|
||||||
|
"posX": 78,
|
||||||
|
"posY": 1.328,
|
||||||
|
"posZ": -12,
|
||||||
|
"rotX": 0,
|
||||||
|
"rotY": 0,
|
||||||
|
"rotZ": 0,
|
||||||
|
"scaleX": 1,
|
||||||
|
"scaleY": 1,
|
||||||
|
"scaleZ": 1
|
||||||
|
},
|
||||||
|
"Value": 0,
|
||||||
|
"XmlUI": ""
|
||||||
|
}
|
@ -886,10 +886,6 @@ function applyOptionPanelChange(id, state)
|
|||||||
elseif id == "showAttachmentHelper" then
|
elseif id == "showAttachmentHelper" then
|
||||||
optionPanel[id] = spawnOrRemoveHelper(state, "Attachment Helper", {-62, 1.4, 0})
|
optionPanel[id] = spawnOrRemoveHelper(state, "Attachment Helper", {-62, 1.4, 0})
|
||||||
|
|
||||||
-- option: Show navigation overlay
|
|
||||||
elseif id == "showNavigationOverlay" then
|
|
||||||
optionPanel[id] = spawnOrRemoveHelper(state, "Navigation Overlay", {-68, 1.4, -70})
|
|
||||||
|
|
||||||
-- option: Show CYOA campaign guides
|
-- option: Show CYOA campaign guides
|
||||||
elseif id == "showCYOA" then
|
elseif id == "showCYOA" then
|
||||||
optionPanel[id] = spawnOrRemoveHelper(state, "CYOA Campaign Guides", {65, 1.6, -11})
|
optionPanel[id] = spawnOrRemoveHelper(state, "CYOA Campaign Guides", {65, 1.6, -11})
|
||||||
@ -959,7 +955,6 @@ function removeHelperObject(name)
|
|||||||
["Hand Helper"] = "showHandHelper",
|
["Hand Helper"] = "showHandHelper",
|
||||||
["Search Assistant"] = "showSearchAssistant",
|
["Search Assistant"] = "showSearchAssistant",
|
||||||
["Chaos Bag Manager"] = "showChaosBagManager",
|
["Chaos Bag Manager"] = "showChaosBagManager",
|
||||||
["Navigation Overlay"] = "showNavigationOverlay",
|
|
||||||
["Displacement Tool"] = "showDisplacementTool",
|
["Displacement Tool"] = "showDisplacementTool",
|
||||||
["Custom Playmat Images"] = "showCustomPlaymatImages",
|
["Custom Playmat Images"] = "showCustomPlaymatImages",
|
||||||
["Attachment Helper"] = "showAttachmentHelper",
|
["Attachment Helper"] = "showAttachmentHelper",
|
||||||
@ -1004,7 +999,6 @@ function onClick_defaultSettings()
|
|||||||
showDisplacementTool = false,
|
showDisplacementTool = false,
|
||||||
showDrawButton = false,
|
showDrawButton = false,
|
||||||
showHandHelper = {},
|
showHandHelper = {},
|
||||||
showNavigationOverlay = false,
|
|
||||||
showSearchAssistant = {},
|
showSearchAssistant = {},
|
||||||
showTitleSplash = true,
|
showTitleSplash = true,
|
||||||
showTokenArranger = false,
|
showTokenArranger = false,
|
||||||
|
@ -303,22 +303,6 @@
|
|||||||
</Cell>
|
</Cell>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
||||||
<!-- Option: show navigation overlay -->
|
|
||||||
<Row class="option-text">
|
|
||||||
<Cell class="option-text">
|
|
||||||
<VerticalLayout class="text-column">
|
|
||||||
<Text class="option-header">Navigation Overlay</Text>
|
|
||||||
<Text class="description">This enables an overlay for quickly moving the camera to various points on the table.</Text>
|
|
||||||
</VerticalLayout>
|
|
||||||
</Cell>
|
|
||||||
<Cell class="option-button">
|
|
||||||
<Toggle id="showNavigationOverlay"
|
|
||||||
onValueChanged="onClick_toggleOption(showNavigationOverlay)"/>
|
|
||||||
</Cell>
|
|
||||||
</Row>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Option: show search assistant -->
|
<!-- Option: show search assistant -->
|
||||||
<Row class="option-text">
|
<Row class="option-text">
|
||||||
<Cell class="option-text">
|
<Cell class="option-text">
|
||||||
|
Loading…
Reference in New Issue
Block a user