mirror of
https://github.com/Dadido3/noita-mapcap.git
synced 2024-12-22 02:17:33 +00:00
Add -1 and +1 parallel world capture area
This commit is contained in:
parent
920288614b
commit
ae6bcd9743
@ -1,4 +1,4 @@
|
||||
-- Copyright (c) 2022 David Vogel
|
||||
-- Copyright (c) 2022-2024 David Vogel
|
||||
--
|
||||
-- This software is released under the MIT License.
|
||||
-- https://opensource.org/licenses/MIT
|
||||
@ -40,6 +40,18 @@ Config.CaptureArea = {
|
||||
BottomRight = Vec2(17920, 41984), -- in world coordinates. This pixel is not included in the rectangle.
|
||||
},
|
||||
|
||||
-- Main -1 parallel world: The main world with 3 parts: sky, normal and hell.
|
||||
["1x3 -1"] = {
|
||||
TopLeft = Vec2(-17920, -31744) + Vec2(-35840, 0), -- in world coordinates.
|
||||
BottomRight = Vec2(17920, 41984) + Vec2(-35840, 0), -- in world coordinates. This pixel is not included in the rectangle.
|
||||
},
|
||||
|
||||
-- Main +1 parallel world: The main world with 3 parts: sky, normal and hell.
|
||||
["1x3 +1"] = {
|
||||
TopLeft = Vec2(-17920, -31744) + Vec2(35840, 0), -- in world coordinates.
|
||||
BottomRight = Vec2(17920, 41984) + Vec2(35840, 0), -- in world coordinates. This pixel is not included in the rectangle.
|
||||
},
|
||||
|
||||
-- Extended: Main world + a fraction of the parallel worlds to the left and right.
|
||||
["1.5x3"] = {
|
||||
TopLeft = Vec2(-25600, -31744), -- in world coordinates.
|
||||
|
@ -1,4 +1,4 @@
|
||||
-- Copyright (c) 2022-2023 David Vogel
|
||||
-- Copyright (c) 2022-2024 David Vogel
|
||||
--
|
||||
-- This software is released under the MIT License.
|
||||
-- https://opensource.org/licenses/MIT
|
||||
@ -95,7 +95,7 @@ modSettings = {
|
||||
ui_name = " Rectangle",
|
||||
ui_description = "The area to be captured.\nSee documentation for more information.",
|
||||
value_default = "1x1",
|
||||
values = { { "1x1", "Base layout" }, { "1x3", "Main World" }, { "1.5x3", "Extended" }, { "3x3", "3 Worlds" }, { "custom", "Custom" } },
|
||||
values = { { "1x1", "Base layout" }, { "1x3", "Main World" }, { "1x3 -1", "Main -1 Parallel World" }, { "1x3 +1", "Main +1 Parallel World" }, { "1.5x3", "Extended" }, { "3x3", "3 Worlds" }, { "custom", "Custom" } },
|
||||
scope = MOD_SETTING_SCOPE_RUNTIME,
|
||||
show_fn = function() return modSettings:GetNextValue("capture-mode") == "area" end,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user