add tags and reduce X_BUFFER
This commit is contained in:
parent
04b40f0da1
commit
3e5caf0f48
@ -29,6 +29,11 @@
|
|||||||
"Nickname": "Table Divider",
|
"Nickname": "Table Divider",
|
||||||
"Snap": true,
|
"Snap": true,
|
||||||
"Sticky": true,
|
"Sticky": true,
|
||||||
|
"Tags": [
|
||||||
|
"CameraZoom_ignore",
|
||||||
|
"CleanUpHelper_ignore",
|
||||||
|
"displacement_excluded"
|
||||||
|
],
|
||||||
"Tooltip": false,
|
"Tooltip": false,
|
||||||
"Transform": {
|
"Transform": {
|
||||||
"posX": 0,
|
"posX": 0,
|
||||||
|
@ -29,6 +29,11 @@
|
|||||||
"Nickname": "Table Divider",
|
"Nickname": "Table Divider",
|
||||||
"Snap": true,
|
"Snap": true,
|
||||||
"Sticky": true,
|
"Sticky": true,
|
||||||
|
"Tags": [
|
||||||
|
"CameraZoom_ignore",
|
||||||
|
"CleanUpHelper_ignore",
|
||||||
|
"displacement_excluded"
|
||||||
|
],
|
||||||
"Tooltip": false,
|
"Tooltip": false,
|
||||||
"Transform": {
|
"Transform": {
|
||||||
"posX": -16.807,
|
"posX": -16.807,
|
||||||
|
@ -29,6 +29,11 @@
|
|||||||
"Nickname": "Table Divider",
|
"Nickname": "Table Divider",
|
||||||
"Snap": true,
|
"Snap": true,
|
||||||
"Sticky": true,
|
"Sticky": true,
|
||||||
|
"Tags": [
|
||||||
|
"CameraZoom_ignore",
|
||||||
|
"CleanUpHelper_ignore",
|
||||||
|
"displacement_excluded"
|
||||||
|
],
|
||||||
"Tooltip": false,
|
"Tooltip": false,
|
||||||
"Transform": {
|
"Transform": {
|
||||||
"posX": -29.99,
|
"posX": -29.99,
|
||||||
|
@ -29,6 +29,11 @@
|
|||||||
"Nickname": "Table Divider",
|
"Nickname": "Table Divider",
|
||||||
"Snap": true,
|
"Snap": true,
|
||||||
"Sticky": true,
|
"Sticky": true,
|
||||||
|
"Tags": [
|
||||||
|
"CameraZoom_ignore",
|
||||||
|
"CleanUpHelper_ignore",
|
||||||
|
"displacement_excluded"
|
||||||
|
],
|
||||||
"Tooltip": false,
|
"Tooltip": false,
|
||||||
"Transform": {
|
"Transform": {
|
||||||
"posX": 0,
|
"posX": 0,
|
||||||
|
@ -163,7 +163,9 @@
|
|||||||
"Snap": false,
|
"Snap": false,
|
||||||
"Sticky": true,
|
"Sticky": true,
|
||||||
"Tags": [
|
"Tags": [
|
||||||
"CleanUpHelper_ignore"
|
"CameraZoom_ignore",
|
||||||
|
"CleanUpHelper_ignore",
|
||||||
|
"displacement_excluded"
|
||||||
],
|
],
|
||||||
"Tooltip": true,
|
"Tooltip": true,
|
||||||
"Transform": {
|
"Transform": {
|
||||||
|
@ -260,7 +260,7 @@ function getDynamicViewBounds(objList)
|
|||||||
-- handling for Physics.cast() results
|
-- handling for Physics.cast() results
|
||||||
if not obj.type then obj = obj.hit_object end
|
if not obj.type then obj = obj.hit_object end
|
||||||
|
|
||||||
if not obj.hasTag("CameraZoom_ignore") then
|
if not obj.hasTag("CameraZoom_ignore") and not obj.hasTag("CampaignLog") then
|
||||||
count = count + 1
|
count = count + 1
|
||||||
local bounds = obj.getBounds()
|
local bounds = obj.getBounds()
|
||||||
local x1 = bounds['center'][1] - bounds['size'][1] / 2
|
local x1 = bounds['center'][1] - bounds['size'][1] / 2
|
||||||
|
@ -15,7 +15,7 @@ local DRAWN_CHAOS_TOKEN_OFFSET = {-1.55, 0.25, -0.58}
|
|||||||
-- x-Values for discard buttons
|
-- x-Values for discard buttons
|
||||||
local DISCARD_BUTTON_OFFSETS = {-1.365, -0.91, -0.455, 0, 0.455, 0.91}
|
local DISCARD_BUTTON_OFFSETS = {-1.365, -0.91, -0.455, 0, 0.455, 0.91}
|
||||||
|
|
||||||
local SEARCH_AROUND_SELF_X_BUFFER = 18
|
local SEARCH_AROUND_SELF_X_BUFFER = 8
|
||||||
|
|
||||||
-- defined areas for the function "inArea()""
|
-- defined areas for the function "inArea()""
|
||||||
local MAIN_PLAY_AREA = {
|
local MAIN_PLAY_AREA = {
|
||||||
@ -153,7 +153,7 @@ function searchArea(origin, size)
|
|||||||
type = 3,
|
type = 3,
|
||||||
size = size,
|
size = size,
|
||||||
max_distance = 1,
|
max_distance = 1,
|
||||||
debug = DEBUG
|
debug = true
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user