First path_track is causing map to crash?

Discussion in 'Mapping Questions & Discussion' started by KubeKing, Jan 16, 2017.

  1. KubeKing

    Server Staff KubeKing dan's birthday was fun

    Messages:
    1,233
    Positive Ratings:
    1,474
    TF2 is crashing whenever I join the Red or Blu team on my map (NOT when I join Spectator). Through selectively hiding items, I've narrowed the source of the crashes down to one entity: the first path_track in the cart track ("sspl_path_start").

    No compile errors, no runtime errors. The entity setup is copied straight from ABS, with path_tracks hovering 40HU over the ground. I'm able to fly throughout the map when I join Spectator mode (and see the cart in the correct starting position), but crash whenever I select a class.

    I believe the crashes first began when I fixed a missing connection between two path_tracks. Before I fixed this, I had the cart tracking working up until the gap.

    Another caveat, I've compiled with only the necessary payload entities/one spawn location, and the crash still happened.

    Edit: This is what the game looks like when it freezes.
     
    Last edited: Jan 16, 2017
  2. theatreTECHIE

    aa theatreTECHIE Yet another Techie for the net...

    Messages:
    389
    Positive Ratings:
    403
    Try copying everything over to a new vmf, and if that doesn't work try rebuilding the path logic from scratch.
     
    • Thanks Thanks x 1
  3. KubeKing

    Server Staff KubeKing dan's birthday was fun

    Messages:
    1,233
    Positive Ratings:
    1,474
    @theatreTECHIE Copying over the map didn't work. I'm probably going to try rebuilding the path logic, but it won't be happening tonight.
     
    Last edited: Jan 16, 2017
  4. AsG_Alligator

    aa AsG_Alligator trigger_hiss

    Messages:
    404
    Positive Ratings:
    876
    Look for any track loops. If you have a loop in the track (path_tracks that point towards others preceeding it) the game will crash/freeze when gamemode logic is initiated (eg. after selecting a class).

    I had that issue in Enclosure. Stage 1 played fine, but when round switched to stage 2 game would freeze (thats where I had a loop).
     
    • Thanks Thanks x 1
    • Agree Agree x 1
  5. KubeKing

    Server Staff KubeKing dan's birthday was fun

    Messages:
    1,233
    Positive Ratings:
    1,474
    @AsG_Alligator I took a close look at individual path_tracks, and stumbled upon a loop. The map is functioning now! So to that end, thank you.
     
    • Like Like x 1