Hammer ~ Problem

Discussion in 'Mapping Questions & Discussion' started by Mr_Orion, Oct 25, 2012.

  1. Mr_Orion

    Mr_Orion L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    Hi all, so for my first post I need help ;

    I have a problem quite disturbing and unknown, in my opinion ;
    I have customize a map, which had no problem, I compile it, set textures + sounds inside with Pakrat.
    I try it (Local: all is ok) one of my friends try it too (ok too), after, he puts it on his server multiplayers, and there the problem begins!

    Nobody (except me and my friends) sees the textures and the server lag much.


    So, do you know the solution? It is very embarrassing for him, and especially for me. Thank you. :)
     
  2. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    testing locally is a difficult process to determine whether textures are present in the map because they will be present in your machines directory. When you test on a dedicated server the server determines what textures are visible and so they are not visible even if you have them on your machine. If either one doesn't have them, they wont see them. Although for the host it is different.

    To make sure textures are really visible, disable your custom content by renaming your custom content folders ("models - disabled", "metarials - disabled", etc). That way you will never mistake textures on your machine for packed textures.
     
  3. Wander

    Wander L3: Member

    Messages:
    148
    Positive Ratings:
    42
    What I usually do to test if packing textures and so on worked, is simply copying the map to tf2beta and check there, since it doesn't have any custom content

    Once tf2 beta is installed, it's faster than renaming texture/model/particle/etc folders and faster than asking a friend to check it
     
  4. Mr_Orion

    Mr_Orion L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    @grazr : Okay, but i can't try this...reason : When my friend's server goes on my custom map, the server begins to LAG very strongly.

    @Wander : I will try your solution later. but according to me its does not help the problems of unwanted lag.
     
  5. bob+M|M+

    bob+M|M+ L6: Sharp Member

    Messages:
    348
    Positive Ratings:
    185
    Try packing using packbsp instead. Much better than pakrat and will often find the files that pakrat tends to miss.

    As for lag, that's probably due to you map being unoptimized, which reveals itself the more people you have on the server. Assuming that's the issue, that's going to be hard to fix, and it's usually just accepted that everyone's first map will be poorly optimized.

    Some major things you can do if you haven't already to help with the lag is:
    -func_detail (ctrl+T) every detail, curve, and weird shape in your map, including stairs, ramps, beams, etc.
    -fix leaks
     
  6. Mr_Orion

    Mr_Orion L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    So, if I understand correctly, you want that I use PackBsp instead Pakrat, correct?

    -For the func_detail, I delete or I add them?
    -Fix leaks, ok.
     
  7. Pocket

    aa Pocket func_croc

    Messages:
    4,480
    Positive Ratings:
    2,212
    You convert things to them, if you haven't already. Open up one of Valve's maps and uncheck "Detail Brushes" for a good guideline of how little of your brushwork should be left unconverted. Especially eye-opening for me was that, in Gravel Pit, all three of the capture point buildings are 100% func_detail. Yes, even B.