1. Hey Guest, welcome to the new forums. Be sure to check out this thread to get all the information you need on the cool new stuff!

Our servers are now running a Steam Workshop rotation, if you'd like your map to be considered for inclusion on our rotation, post in the rotation discussion thread

Or, if you just want to play some of the best community maps the Workshop has to offer, you can join our servers by clicking these links:

Instance causing vbsp to crash

Discussion in 'Mapping Questions & Discussion' started by tyler, Apr 26, 2012.

  1. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,012
    Positive Ratings:
    3,855
    Anyone ever had a problem like this? I hope so.

    I have a certain instance in my map. When I compile with it, vbsp crashes, reporting unbound volumes all over the place. Without the instance Hella compiles fine.

    The instance itself has no problems. It's just a massive func_detail sitting in the void. The problem checker reports that there is no player start and that is it. It compiles without issues.

    Any ideas?
     
  2. Fr0Z3nR

    aa Fr0Z3nR Top Quacker

    Messages:
    6,149
    Positive Ratings:
    4,327
    did you accidently func_detailed a displacement?
     
  3. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,012
    Positive Ratings:
    3,855
    No displacements, and anyway that's an error that would show up in the log on either file.
     
  4. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,012
    Positive Ratings:
    3,855
    ha ha ha ha ha

    I figured it out.

    Don't leave cordons around your instances, kids.
     
    • Thanks Thanks x 4
  5. x6herbius

    x6herbius L6: Sharp Member

    Messages:
    344
    Positive Ratings:
    225
    I didn't know TF2 even supported instances. I know they're visible in Hammer but compiling with them always caused me problems because it's only the L4D2 and above compile tools that are programmed to be able to interpret them. You can, however, collapse the instance into the map in the instance menu before compiling.
     
  6. Freyja

    aa Freyja Creating visual gameplay since 2007

    Messages:
    2,386
    Positive Ratings:
    3,227
    TF2's SDK does indeed support instances. I love them, they're super useful.
     
  7. x6herbius

    x6herbius L6: Sharp Member

    Messages:
    344
    Positive Ratings:
    225
  8. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,012
    Positive Ratings:
    3,855
    I'm not even sure what that means. Maybe that's what we're doing?

    You just place a func_instance in your map, point it to a vmf file relative to your map file, and that's it. I don't know what "collapsing" is in this case.
     
  9. LeSwordfish

    aa LeSwordfish semi-trained quasi-professional

    Messages:
    2,917
    Positive Ratings:
    3,130
    Collapsing instances loads them direct into the map, making them editable as part of the main .vmf.
     
  10. x6herbius

    x6herbius L6: Sharp Member

    Messages:
    344
    Positive Ratings:
    225
    Strange, I swear I remember reading somewhere that pre-L4D2 VBSPs don't recognise instances.
     
  11. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,768
    Positive Ratings:
    5,437
    Wikis tend to go out of date, but I don't know when it was changed. The earliest I can recall using instances was for the artpass contest back in fall of 2010.