Sorry, we don't support your browser.  Install a modern browser

attached 3D objects are partially ignored by fog of war#1335

I

Hey guys. I often use 3D objects for my maps in TTS and sometimes I have to customize them by attaching several objects and merging them into one. For example: I wish to make a door that has several states (open, closed) and therefore the door needs to be attached to a wall or fence post (a reference object). But depending on which object I designate as the parent, the child will still be visible under a fog of war. So I wanted to ask if you could look into it. Thanks

3 years ago

I had to script around this problem and it’s a problematic one to deal with. Basically added a toggle to my minis where i could make them completely invisible including attached objects. It would be great if this problem was fixed.

2 years ago
1
I

Hey Daniel. Wow, never thought anyone would reply to this. Could you elaborate on your solution/hotfix? Thanks!

2 years ago

here is the code snippet i wrote.
https://github.com/ColColonCleaner/DNDTools/blob/main/DNDMiniInjector.lua#L1049
It removes the attachments, shrinks them to zero scale, re-attaches them, then hides the base object. It remembers what the scales were so when unhiding it reverses the process.

2 years ago

I either can’t reproduce this bug or maybe I don’t quite understand it. Could you provide me an example save?

2 years ago
Changed the status to
Research
2 years ago
I

Hi. Made some screenshots to explain it better. So basically what I want to do is use several 3D objects from Steam Workshop collections, like this shelf and the bag of oranges. I want to place the oranges on that shelf and attach the bag to the shelf, with the bag being the child and the shelf being the parent. Once this is done and I move this new 3D object consisting of the bag and the shelf into a Fog of War, the bag of oranges (the child) remains visible.
Ideally all attached objects should become invisible, too. Otherwise it would be difficult to use 3D maps with such objects because the players would be able to see some of them floating in the air, or doors with an open & closed state and so on. One can work around this problem if it’s just objects without several states by detaching them again but doors that can be opened or closed by changing their state (the door is the child attached to a wall or fence which acts as the parent) are always a problem

2 years ago
1

That is a good description of the problem, and the screenshot is great too. FOW properly hides singular objects, but if those objects are attached (not jointed, attached with the attach tool) to other objects, only the parent object is hidden. For the attach tool the target of the arrow becomes the parent and the object you dragged it from is the child.

2 years ago
1

Still no solution for this I guess? I’m making a game and I’m at the point now where I want to start putting models into the map, but I’ve realized the models I spent hours picking out and customizing are going to be unusable if I can’t hide them and everything attached to them with fog of war.

2 months ago
I

Nah, apparently not. Maybe keep pushing and/or try to find more people who’d like this fixed and it might end up on their agenda after all.

2 months ago