Modme Forums

Map Unplayable

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: MJPW

Hello Ive been trying some new stuff within my mod and something weird has happened. I built a new map to compare the compile and this is what is different. The map is unplayable, when trying to launch the map its just a black screen and nothing else happens till I close out the window.

UmbraConvert: smallest_occluder=72.000 small_hole=4.000
[18:41:02] INFO: T: 288 O: 72 H: 4 B: 50
[18:41:02] INFO: Tile grid 108x84x40 (at 16,-88,-20) created for scene: 446 tiles (7 empties not included) in 0.034 seconds
WARNING: SN-DBS is not installed, tome will be compiled locally
WARNING: SN-DBS service is not running, tome will be compiled locally
UmbraConvert: fetching tiles with 6 worker threads
[18:41:03] DEBUG: Total allocations 37876, peak 809 (size 1 MB 996 kB 1006 B)
[18:41:03] DEBUG: Total allocations 34558, peak 633 (size 1 MB 346 kB 817 B)
[18:41:03] DEBUG: Total allocations 45946, peak 533 (size 1 MB 97 kB 658 B)
[18:41:03] DEBUG: Total allocations 37366, peak 683 (size 795 kB 606 B)
[18:41:03] DEBUG: Total allocations 24071, peak 1007 (size 2 MB 522 kB 377 B)
[18:41:03] DEBUG: Total allocations 41480, peak 593 (size 791 kB 767 B)
UmbraConvert: 1.586 seconds to fetch tile inputs
UmbraConvert: computing 0 tiles
[18:41:03] INFO: Strict view volumes: no
[18:41:03] INFO: Filtered 14/15 inside clusters
[18:41:03] INFO: Filtered 467/468 global clusters
[18:41:03] INFO: 1670/2137 cells reachable after global analysis
[18:41:04] INFO: collapsed leaf tiles 460 => 36
[18:41:04] INFO: Generating LOD tiles using 6 threads
[18:41:04] INFO: Connecting LOD tiles
[18:41:04] INFO: Compressing lists
[18:41:04] INFO: Average index range size: 285.73
[18:41:04] INFO: object list: 4 kB 396 B, cluster list: 48 B
[18:41:04] INFO: created tome with 71 tiles, 858 targets and 0 gates
UmbraConvert: 398 tiles loaded from cache
UmbraConvert: finished processing tiles in 0:2
[18:41:04] DEBUG: Total allocations 1319099, peak 19735 (size 8 MB 744 kB 611 B)


ModmeBot:

Reply By: DTZxPorter

Most likely related to when you link, post the linker log on pastebin.


ModmeBot:

Reply By: MJPW

DTZxPorter

Most likely related to when you link, post the linker log on pastebin.

This is what I get when I compile and link. This is just linking. This is just compiling.


ModmeBot:

Reply By: DTZxPorter

MJPW
DTZxPorter

Most likely related to when you link, post the linker log on pastebin.

This is what I get when I compile and link. This is just linking. This is just compiling.

Remove all GG machines "zmcore_bgb_machine" is borking it. zbarriers just crash the game if they break.


ModmeBot:

Reply By: MJPW

DTZxPorter
MJPW
DTZxPorter

Most likely related to when you link, post the linker log on pastebin.

This is what I get when I compile and link. This is just linking. This is just compiling.

Remove all GG machines "zmcore_bgb_machine" is borking it. zbarriers just crash the game if they break.

Still broken :( Ive had them in there for the last few big updates.


ModmeBot:

Reply By: DTZxPorter

Added any code to the mod recently?


ModmeBot:

Reply By: MJPW

DTZxPorter

Added any code to the mod recently?

I did add in my easter egg script that was tested on a test map to perfect the script and make everything work. I just took it all out and its still the black screen. :(


ModmeBot:

Reply By: MJPW

Okay so after the last few hours Ive found the issue but Im not 100% on what it is EXACTLY. I had something like this happen before where I added a bit of code into the main function of the map's GSC and the problem there was that something was coming before another default section that needs to happen before others or it will not start the match it will just be a black screen. So what I did is copy and paste a clean section of main from a new maps GSC and it works again. Do you happen to see what it is that may need to go lower or higher? Ive had these in the main for the last few months but after the last update it just broke. Messed up main.


ModmeBot:

Reply By: DTZxPorter

You need to level thread all functions near or in main so it doesn't block the main


ModmeBot:

Reply By: MJPW

Okay so by changing the "thread" to "level thread" Im still getting the black screen with no start unfortunatly :(


ModmeBot:

Reply By: MJPW

I found out exactly what the problem was. For some weird reason the "level thread buyable_powerup();" part was preventing the entire map from starting. Very crazy how such a small error is so huge. Thank you for all the help fellas for helping me understand this a bit better :)