View previous topic :: View next topic |
Author |
Message |
falkvard
New Member


Joined: 04 Nov 2017 Posts: 4
21 Bank Notes
Items
|
|
Hello, I encountered a problem with objects disappearing when modifying original maps. For better understanding I made this video:
https://youtu.be/RYXdHnw73p4
When I remove an object, house in particular (and its collisions), the game still acts as if it was there, and thus doesnt show objects that are hidden behind the original object.
I am trying to make an interier of a shop / bar, but in game, I can not see any objects inside it unless I get past the point where the original house was.
Any idea as to where and how this can be fixed? |
|
Back to top |
|
 |
spartaque12
Junior Member


Joined: 10 Apr 2017 Posts: 41
81 Bank Notes
Items
|
|
its typical technique of mafia occluders , did u try mafia widescreen where u could set draw distance? |
|
Back to top |
|
 |
ASM.
Mafiascene Veteran Modder


Joined: 10 Jan 2014 Posts: 193
417 Bank Notes
Items
|
|
As spartaque12 already pointed out it's caused by occluders which are invisible meshes used for occlusion culling. The renderer skips rendering of any objects which are covered by one (or more) of these occluders from the current camera viewpoint.
To fix the issue you should ideally delete the offending occluder. Unfortunately I'm not aware of any tools that visualize occluders which can make it difficult to identify which of them need to be deleted; MWE's Jump To function might help a bit with that. In this particular case it looks like you're modifying the tutorial mission which only has a total of two occluders with occluder2 being the one you need to get rid of from what I can tell. |
|
Back to top |
|
 |
falkvard
New Member


Joined: 04 Nov 2017 Posts: 4
21 Bank Notes
Items
|
|
Thank you ASM, just what I needed to know. |
|
Back to top |
|
 |
|
|