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!

Instance causing vbsp to crash

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

  1. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    4,499
    Thanks Received:
    3,471
    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 I do things sometimes.

    Messages:
    5,543
    Thanks Received:
    3,623
    did you accidently func_detailed a displacement?
     
  3. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    4,499
    Thanks Received:
    3,471
    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:
    4,499
    Thanks Received:
    3,471
    ha ha ha ha ha

    I figured it out.

    Don't leave cordons around your instances, kids.
     
  5. x6herbius

    x6herbius L6: Sharp Member

    Messages:
    332
    Thanks Received:
    207
    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 Unpronounceable map names since 2013

    Messages:
    2,186
    Thanks Received:
    2,908
    TF2's SDK does indeed support instances. I love them, they're super useful.
     
  7. x6herbius

    x6herbius L6: Sharp Member

    Messages:
    332
    Thanks Received:
    207
  8. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    4,499
    Thanks Received:
    3,471
    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,515
    Thanks Received:
    2,466
    Collapsing instances loads them direct into the map, making them editable as part of the main .vmf.
     
  10. x6herbius

    x6herbius L6: Sharp Member

    Messages:
    332
    Thanks Received:
    207
    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,696
    Thanks Received:
    5,426
    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.