Skip to content

fix apexcitybuilding2/apexcitybuilding2clue camera#58

Draft
Godeps2891 wants to merge 2 commits intojss2a98aj:masterfrom
Godeps2891:apexcitybuilding2
Draft

fix apexcitybuilding2/apexcitybuilding2clue camera#58
Godeps2891 wants to merge 2 commits intojss2a98aj:masterfrom
Godeps2891:apexcitybuilding2

Conversation

@Godeps2891
Copy link
Copy Markdown
Contributor

Submitted as a draft because these patches look wild for what they do
all that changes from the vanilla file is removing the following lines

                {
                 "gid":3410,
                 "height":16,
                 "id":1032,
                 "name":"",
                 "properties":
                    {

                    },
                 "rotation":0,
                 "type":"",
                 "visible":true,
                 "width":16,
                 "x":208,
                 "y":72
                }, 

everything seems to work though?


The apexcitybuilding2 and apexcitybuilding2clue building have a camera placed against a door causing to break as soon as the door gets opened, this patch removes those cameras

Vanilla
image

PR
image

@jss2a98aj
Copy link
Copy Markdown
Owner

Modifying dungeons that are using Tiled causes a lot of excess changes in the dungeon json, which is why this particular issue (along with a few others I am aware of with dungeons) has not been fixed yet. Some things in Tiled dungeons are able to be modifed manually without unwanted changes, but that only applies to a few areas.

@Ohrwerk
Copy link
Copy Markdown
Contributor

Ohrwerk commented Oct 31, 2025

Since these cameras have been annoying me for a long time, I made a patch myself today.
An initial test worked without any problems.

apexcitybuilding2.json.patch
[ { "op": "remove", "path": "/layers/3/objects/27" } ]

apexcitybuilding2clue.json.patch
[ { "op": "remove", "path": "/layers/3/objects/27" } ]
EDIT:
I uploaded it to Steam, it's not listed, but it can be downloaded anonymously with steamcmd.
I don't know if it also works with the Steam client.
https://steamcommunity.com/sharedfiles/filedetails/?id=3596923596

EDIT-2:
There is another mod by Lemon Drops that positions the camera correctly.
https://steamcommunity.com/workshop/filedetails/?l=german&id=3223210780

A simple patch to move the position of the camera; with a value of 240 for X, the camera should be placed in the centre of the room.
However, I think that this third camera is simply a mistake and can be removed.

apexcitybuilding2.json.patch
[ { "op": "replace", "path": "/layers/3/objects/27/x", "value": 216 } ]

apexcitybuilding2clue.json.patch
[ { "op": "replace", "path": "/layers/3/objects/27/x", "value": 216 } ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants