Map Crashing

Discussion in 'Mapping Questions & Discussion' started by Exactol, Nov 3, 2013.

  1. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    (sorry if its the wrong place for this) Ok, so I was planning on releasing my first public map, when all of a sudden it just crashes tf2 upon load. I was hoping someone could look through my map and find the problem. I've already spent an hour trying to find it with no success. I think it has something to do with a entity, but I'm not sure. Download link: http://www.mediafire.com/?t9oivcb81x91htj (Uses the construction pack, so you might get missing textures)
     
  2. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    I don't suppose you've already used interlopers.net/errors have you?
     
  3. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    I have and it shows nothing Also nothing shows up in the ingame error checker
     
  4. Tarry H Sruman

    Tarry H Sruman Large Orphanage Proprietor

    Messages:
    871
    Positive Ratings:
    820
    Does the map crash the game or hammer?

    I was having a problem with my map crashing hammer this morning and opening it in a newer version of Hammer fixed it for some reason.
     
  5. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    It crashes the game on loading the map
     
  6. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    Hide the logic and compile and try again. I agree that it has something to do with that.
     
  7. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    Nope, Still crashed
     
  8. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    wow you hid all the entities that have outputs/inputs and it still does it? I'm stumped.

    Just a long shot, but sometimes stair brushes (triangular prisms) when rotated cause invalid brushes, but in rare cases they can even cause a map to crash with no indication of anything being wrong.

    edit: by "rotated" i just mean brushes that were, say, copied and rotated so you didn't have to make all the stair brushes all over again.
     
    Last edited: Nov 3, 2013
  9. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    I have no stair brushes (I think) I have a building that is rotated 45 degrees. Do you think that's the problem?
     
  10. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    it could be, especially if it's not on the grid. but even so, it's still a long shot.

    and I only used stairs as an example because rectangles rotated 90 degrees dont seem to have a problem, but if it's a bunch of triangles, it can.
     
  11. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    Ok, I deleted it and it STILL crashes :/ this is driving me crazy
     
  12. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    There are so many problems with your map, but it's a learning experience.

    1. You can't surround your map with a texture that's a decal/overlay. (for you, it's that blue stripe texture.) It will cause leaks.
    2. Pretty much the cause of your initial errors are your brushes made out of spheres - your grass areas. Look up displacements on the wiki, they will be invaluable and will give you way better results at way less of a performance cost.
    3. Look up func_details and learn when you use them - you'll use them a ton and they'll cut down your compile times drastically.

    After all that's done, consider researching a bit of optimization (func_details are part of that). Housing your map in one big cube will cause performance problems after your maps become a bit more complicated.
     
  13. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    Ya, this was my first/second map I made without copy and pasting things. I made this when I first began to understand lining up displacements. Is the map fixable?
     
  14. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    I believe so - it's fairly simple. just replace all your squashed sphere brushes with displacement brushes and replace your blue stripe texture with tools/skybox texture.

    (and obviously look into the other things I said)
     
  15. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    What blu stripe texture?
     
  16. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    The one that is on the big cube that surrounds your map. That could possibly be your custom texture for you.
     
  17. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    Um, that's really odd. It is a tools/toolsskybox texture. Also which brushes are squashed sphere brushes? I can't find them
     
  18. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    in your current map, you pretty much need to make everything that has a grass texture on it into a displacement. trust me - you'll love displacements.

    and if you have a skybox texture now for the cube, then that's fine.
     
  19. Exactol

    aa Exactol Certified Hammer Hacker

    Messages:
    394
    Positive Ratings:
    451
    I do love displacements :p But there is no grass :/ Its all dust and concrete (which are displacements)
     
  20. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    Umm. I'm very embarrassed about what I am about to say.

    I posted in the wrong thread, and therefore none of this info is applying to you. I'm just trying to help too many people. I'm sorry

    You know much more than the one I meant to respond to, and I TOTALLY downloaded your map too, I just couldn't find what was wrong in your map. ahhh so embarrassed ><