Could I hack non-solid func_details into the FGD?

Discussion in 'Mapping Questions & Discussion' started by Pocket, Nov 15, 2016.

  1. Pocket

    aa Pocket func_croc

    Messages:
    4,487
    Positive Ratings:
    2,213
    As you know, func_detail is an "internal entity", meaning it just tells VBSP to ignore those brushes when calculating vis and otherwise treats it like regular world brushes. It doesn't count towards the entity count, nor go invisible when you clip outside the map, the way func_brush does. Unfortunately, unlike displacements, func_details have no option to be non-solid. Would it be possible to add that ability with an FGD tweak? Either by modifying the entity's existing attributes or by creating a new internal entity with otherwise identical properties.
     
  2. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,167
    Why not just use func_brush? Modifying the FGD seems like a lot of effort (comparatively) for minimal gain.
     
    • Agree Agree x 1
  3. Crash

    aa Crash func_nerd

    Messages:
    3,074
    Positive Ratings:
    4,559
    Or even just func_illusionary.
     
    • Agree Agree x 1
  4. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,597
    Positive Ratings:
    1,677
    from my understanding of how bsp works, not possible at all. I'd have to double check but as far as I can remember for world geometry, collision data and its geometry are one in the same
     
  5. Pocket

    aa Pocket func_croc

    Messages:
    4,487
    Positive Ratings:
    2,213
    Aren't the individual vertices in displacements world geometry too, though?
     
  6. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,597
    Positive Ratings:
    1,677
    displacements are in a separate part of the bsp and don't use the same data structure
     
  7. henke37

    aa henke37

    Messages:
    1,834
    Positive Ratings:
    420
    Detail geometry get special treatment in the bsp too.
     
  8. Frosty Scales

    aa Frosty Scales

    Messages:
    83
    Positive Ratings:
    34
    modifying the FGD doesn't actually modify the entity, the FGD is just the guide for hammer to show you the entities and what the keyvalues are, if you add something that doesn't exist in the game to the FGD, it will just be invalid.
     
    • Thanks Thanks x 1
    • Agree Agree x 1
  9. Powerlord

    Powerlord L3: Member

    Messages:
    124
    Positive Ratings:
    58
    This.

    All non-internal entities have backing objects in the C++ code that define their properties and such.
     
    • Thanks Thanks x 1