Big Sized Prerequisite entity Causing Engine hunk overflow

Discussion in 'Mapping Questions & Discussion' started by Macanick, Jan 7, 2018.

  1. Macanick

    Macanick L1: Registered

    Messages:
    45
    Positive Ratings:
    6
    upload_2018-1-7_15-20-58.png

    for some reason, my giant prerequisite entities on my map causing engine hunk overflow and crash my game

    it only happens when compile with vrad, there's no crash when I compile without them
     
  2. henke37

    aa henke37

    Messages:
    1,927
    Positive Ratings:
    454
    What's a "prerequisite entity"?
     
  3. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    337
    Brushes above the size of 4096x4096 iirc cause problems if a face this big uses a lightmap. So cut your brushes into smaller ones
     
    • Like Like x 1
    • Agree Agree x 1
  4. Macanick

    Macanick L1: Registered

    Messages:
    45
    Positive Ratings:
    6
    I just noticed now those brush side from entities which is not seen in-game still affect to lightmap limit and compile time (i don't know other entities but nav_prerequisite do)
    so i need to decrease lightmap of those brushes for solve that problem
     
  5. AsG_Alligator

    aa AsG_Alligator trigger_hiss

    Messages:
    433
    Positive Ratings:
    941
    Generally if you dont want a brushface to render and get lightmaps generated for it (for example faces that are obstructed by world geometry) you should use nodraw.