Strange Collision Bug

Discussion in 'Mapping Questions & Discussion' started by Attsy, Sep 25, 2010.

  1. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    ...But not really.

    Anyway, there's one spot on my map that causes players to momentarily freeze, then it lets them go. Almost as if a clip brush surrounds them for ~2 seconds then disappears. Here's a few screenshots of the accursed area:
    Sorry for my messy annotations,
    [​IMG]

    Heres the same area only with clip brushes shown:
    [​IMG]
    [​IMG]

    I'm quite dumbfounded here and would appreciate any tips on what to do here.
    Thanks
     
  2. Beetle

    Beetle L9: Fashionable Member

    Messages:
    627
    Positive Ratings:
    141
    You could always try loading the portalfile in Hammer to see if there's some bizarre visleaf cuts.

    edit: Nevermind. I misread.
     
    Last edited: Sep 25, 2010
  3. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    Have you checked the displacements? They will often cause strange little collisions if they aren't perfectly sewn. Visibility stuff can't cause such a thing in any way.
     
    • Thanks Thanks x 1
  4. J4CK8

    J4CK8 L11: Posh Member

    Messages:
    820
    Positive Ratings:
    223
    Possibly your displacement doing something wierd. I've been 'stuck' for a second in displacements before...

    Damn you ABS
     
    • Thanks Thanks x 1
  5. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    Thanks for the replies but all displacements are sewn, heres a pic of it in hammer:
    Both 512x512, 3d displacements off
    [​IMG]

    I do agree ABS, I dont see how visibility would affect it but heres a picture of it with the portal file, just in case:
    [​IMG]
     
  6. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    Any other suggestions? This is still going on.
    :/
     
  7. Draco18s

    Draco18s L9: Fashionable Member

    Messages:
    622
    Positive Ratings:
    136
    At this point: drop a prop there to keep people from running through the area.

    When all else fails, use a work around. :\
     
  8. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    I was thinking that when I couldn't get to go away on my own.

    Looks like this is what I'll have to do though.
     
  9. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    What does showbudget show when you run through it?
     
    • Thanks Thanks x 1
  10. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    Heres the three stages, with net_graph and showbudget on. Also it doesnt do it all the time, sometimes its smooth as butter running through.

    Inside:
    [​IMG]

    Outside, not stuck:
    [​IMG]

    Im stuck here, cant move until ~2seconds:
    [​IMG]
    In the Net_graph I notice everything dip down for the duration which completely dumbfounds me.

    Thanks for the reply, I'm really hoping I can get to the bottom of this, I'd hate to use the workaround and put a barrier there.

    Some other miscellaneous details that might help:
    It started occurring out of the blue
    My compile log is error free
    The only changes to the map before it started happening was clipping fixes
    There's about 2units of space between the displacements and the nodraw skeleton of the map
    Both versions of the map its been effecting, both on final compile settings
    The map is optimized well.(areaportals, hint/skips, visclusters, nodraw)

    Heres a pic of the map information:
    [​IMG]

    I hope atleast one of those things can solve this problem but if any other information is required I'll be happy to post it..
     
    Last edited: Sep 26, 2010
  11. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Nothing looks too odd there. It's a long-shot, but you might try copy-pasting everything from your map into a fresh Hammer map with a different name, compiling it, and seeing if the same behavior occurs.

    Have you been able to reproduce the problem on other computers?
     
  12. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    I've always wondered, is the Save As action the same as this since it makes two copies of the same vmf. Main reason I ask is it seems to me all the overlays in the map would loose its attached brush. Still I'd rather go through and reselect every overlay than have this problem so I'll give it a shot.
    And yes, this has happened to everyone who ran the map.
     
  13. BrokenTripod

    BrokenTripod L5: Dapper Member

    Messages:
    248
    Positive Ratings:
    65
    Try rearranging your displacements in the area so that you don't have a seam at that corner there. If that doesn't fix it, then I don't know what the problem is
     
  14. Draco18s

    Draco18s L9: Fashionable Member

    Messages:
    622
    Positive Ratings:
    136
    No. There are times when a file gets corrupted where Save As-ing will save the corruption and a copy-paste will not.
     
    • Thanks Thanks x 1
  15. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    Whats the best way to go about doing this? Paste special and paste either knock everything out of a visgroup, or all my brush entities turn into world geometry.
     
  16. Draco18s

    Draco18s L9: Fashionable Member

    Messages:
    622
    Positive Ratings:
    136
    Make sure your [IG] button isn't enabled. Any copy-paste ignoring groups/entities will cause them to paste as brushes.
     
    • Thanks Thanks x 1
  17. Terr

    aa Terr Cranky Coder

    Messages:
    1,591
    Positive Ratings:
    405
    Yeah, the dreaded :ig:. I think the logic is that multiple brushes can be "grouped" into a single brush-entity, so ignoring groups also means ignoring entity-linkages in that case.

    If it works, then we can worry about preserving visgroups. If it doesn't work, then there's no point worrying ;)
     
    • Thanks Thanks x 1
  18. Draco18s

    Draco18s L9: Fashionable Member

    Messages:
    622
    Positive Ratings:
    136
    If the visgroups are so vitally important you could copy them one at a time...

    Of course, the point is to see if the error still presents itself, which isn't dependent on user-created visgroups.
     
  19. Attsy

    Attsy L3: Member

    Messages:
    110
    Positive Ratings:
    27
    Well with no visgroups I get a vbsb crash on compile. I didnt check if ignore groups was on though so Ill try it, I tend to hit shift w without knowing sometimes, so thats probably why.


    It appears to be fixed currently, I must have ran through the doorway a hundred times and I cant replicate it. Ill see if I can get some one to verify its fixed and I'll post back here.
    Thanks to everyone who helped.
     
    Last edited: Sep 28, 2010