value changes

This commit is contained in:
Chr1Z93 2023-10-21 12:10:53 +02:00
parent d0ae38fa78
commit ce9435f76f
8 changed files with 15 additions and 16 deletions

View File

@ -46,7 +46,7 @@
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -59.426, "posX": -59.426,
"posY": -1, "posY": 1,
"posZ": -22.721, "posZ": -22.721,
"rotX": 0, "rotX": 0,
"rotY": 280, "rotY": 280,

View File

@ -46,7 +46,7 @@
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -23.89, "posX": -23.89,
"posY": -1, "posY": 1,
"posZ": -30.977, "posZ": -30.977,
"rotX": 0, "rotX": 0,
"rotY": 190, "rotY": 190,

View File

@ -46,7 +46,7 @@
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -36.87, "posX": -36.87,
"posY": -1, "posY": 1,
"posZ": 30.977, "posZ": 30.977,
"rotX": 0, "rotX": 0,
"rotY": 10, "rotY": 10,

View File

@ -46,7 +46,7 @@
"Tooltip": false, "Tooltip": false,
"Transform": { "Transform": {
"posX": -59.426, "posX": -59.426,
"posY": -1, "posY": 1,
"posZ": 9.395, "posZ": 9.395,
"rotX": 0, "rotX": 0,
"rotY": 280, "rotY": 280,

View File

@ -22,7 +22,7 @@
"ImageURL": "http://cloud-3.steamusercontent.com/ugc/2115061845796985108/F0ADB7094641DA966FFA3AF0CC6987D33D2D9591/", "ImageURL": "http://cloud-3.steamusercontent.com/ugc/2115061845796985108/F0ADB7094641DA966FFA3AF0CC6987D33D2D9591/",
"WidthScale": 0 "WidthScale": 0
}, },
"Description": "", "Description": "Use the buttons to show / hide a playmat.",
"DragSelectable": true, "DragSelectable": true,
"GMNotes": "", "GMNotes": "",
"GUID": "a758b2", "GUID": "a758b2",
@ -51,9 +51,9 @@
"rotX": 0, "rotX": 0,
"rotY": 270, "rotY": 270,
"rotZ": 0, "rotZ": 0,
"scaleX": 3, "scaleX": 5,
"scaleY": 1, "scaleY": 1,
"scaleZ": 3 "scaleZ": 5
}, },
"Value": 0, "Value": 0,
"XmlUI": "\u003cInclude src=\"accessories/PlayermatHider.xml\"/\u003e" "XmlUI": "\u003cInclude src=\"accessories/PlayermatHider.xml\"/\u003e"

View File

@ -5,7 +5,7 @@ function onClick_hideShow(player, matColor)
objects = guidReferenceApi.getObjectsByOwner(matColor) objects = guidReferenceApi.getObjectsByOwner(matColor)
local actionTokens = searchMat(objects.Playermat.positionToWorld({-1.1, 0.05, -0.27}), {4, 1, 1}, isActionToken) local actionTokens = searchMat(objects.Playermat.positionToWorld({-1.1, 0.05, -0.27}), {4, 1, 1}, isActionToken)
local pos = objects.Playermat.getPosition() local pos = objects.Playermat.getPosition()
local mod = (pos.y > 0) and -3 or 3 local mod = (pos.y > 0) and -2 or 2
-- move all objects -- move all objects
for _, obj in pairs(objects) do for _, obj in pairs(objects) do

View File

@ -865,7 +865,7 @@ function clickableClues(showCounter)
local clueCount = 0 local clueCount = 0
-- move clue counters -- move clue counters
local modY = showcounter and -2.52 or 2.52 local modY = showcounter and -0.52 or 0.52
ownedObjects.ClickableClueCounter.setPosition(clickerPos + Vector(0, modY, 0)) ownedObjects.ClickableClueCounter.setPosition(clickerPos + Vector(0, modY, 0))
if showCounter then if showCounter then

View File

@ -1,9 +1,9 @@
<Defaults> <Defaults>
<Text color="White" <Text color="White"
fontSize="100" fontSize="110"
alignment="MiddleLeft" alignment="MiddleLeft"
font="font_teutonic-arkham"/> font="font_teutonic-arkham"/>
<Button fontSize="100" <Button fontSize="110"
height="200" height="200"
width="600" width="600"
hoverClass="bGrey" hoverClass="bGrey"
@ -33,10 +33,9 @@
alignment="UpperCenter">Playermat Hider</Text> alignment="UpperCenter">Playermat Hider</Text>
</Cell> </Cell>
</Row> </Row>
<Row> <Row>
<Cell> <Cell>
<Text>Playermat 1 (White)</Text> <Text color="White">Playermat 1 (White)</Text>
</Cell> </Cell>
<Cell> <Cell>
<Panel> <Panel>
@ -46,7 +45,7 @@
</Row> </Row>
<Row> <Row>
<Cell> <Cell>
<Text>Playermat 2 (Orange)</Text> <Text color="Orange">Playermat 2 (Orange)</Text>
</Cell> </Cell>
<Cell> <Cell>
<Panel> <Panel>
@ -56,7 +55,7 @@
</Row> </Row>
<Row> <Row>
<Cell> <Cell>
<Text>Playermat 3 (Green)</Text> <Text color="Green">Playermat 3 (Green)</Text>
</Cell> </Cell>
<Cell> <Cell>
<Panel> <Panel>
@ -66,7 +65,7 @@
</Row> </Row>
<Row> <Row>
<Cell> <Cell>
<Text>Playermat 4 (Red)</Text> <Text color="Red">Playermat 4 (Red)</Text>
</Cell> </Cell>
<Cell> <Cell>
<Panel> <Panel>