adding area portal to a map

Discussion in 'Mapping Questions & Discussion' started by basilhs333, Nov 18, 2016.

  1. basilhs333

    basilhs333 L8: Fancy Shmancy Member

    Messages:
    587
    Positive Ratings:
    155
    i was trying recently to add area portal to my map.
    basicly in every doorway i had and in every 'house doors or windows and it doesnt work.its says that area portals make the map not you know update-work.
    and i am pressing control - T and name is areaportal like everyone else.
    what am i doing wrong?
    please feel free to tell me to the comments below
     
  2. Simulacron

    Simulacron L6: Sharp Member

    Messages:
    305
    Positive Ratings:
    174
    You can't just fill every doorway, you need to close up an are with them, just like you would try to seal your map, to don't get a leak.
     
  3. BigfootBeto

    aa BigfootBeto Too obsessed with perfection

    Messages:
    380
    Positive Ratings:
    581
    load the point file and a red line will appear showing you how it's not sealed
     
  4. ics

    aa ics http://ics-base.net

    Messages:
    694
    Positive Ratings:
    421
    You should look some of the decompiled maps or the examples in the sdk directory for some help on how areaportals are placed in those.

    This is a bad example but if you have a house with 4 windows and 1 doorway, you need to have those sealed with areaportals. This way you have a house as 1 area.
     
  5. Gale

    Gale L1: Registered

    Messages:
    38
    Positive Ratings:
    13
    Think of an area portal'd area as it's own map, and the rest of the map as the void. You need to seal it off just the same, the only difference being with more area portals.
     
  6. basilhs333

    basilhs333 L8: Fancy Shmancy Member

    Messages:
    587
    Positive Ratings:
    155
    hmmm the only thing is lets say i have an door way when i put an area portal there the map dont work but as soon as i revome it everything works fine. but i cant seem to find a solution to it :/
     
  7. Cytosolic

    Cytosolic L4: Comfortable Member

    Messages:
    190
    Positive Ratings:
    150
    Area portals work by cordoning off 'areas' that can only see each other though an area portal brush. If this isn't the case it'll cause an area portal leak. The best way to visualize this is by thinking of a line that starts on one edge of can touch the other ed the area portal brush. If that line can touch the other side of the area portal brush then it will leak. If you compile an you do get an area portal leak, you can use the load point file to find it. The Point file line will show you how the area portal is touching it's other side.
    Keep in mind that the area portal brush has to fill up the doorway or window that it's in. You should also make sure that the area portal is set to the always open state by default.
     
  8. Vel0city

    aa Vel0city func_fish

    Messages:
    1,930
    Positive Ratings:
    1,540
    Also keep in mind that only world brushes seal area portal areas. If you have a window frame with a func_detailed brush for some detailing or if you have used a model for the door/window frame you should have the areaportal touch the world brush "frame" that window/door is in. Best you can do is turn off models/func_detail so you'll have a raw skeleton of the building and seal the building with areaportals with the models and brush entities disabled.
     
    • Agree Agree x 2