Hammer ~ Problem

Mr_Orion

L1: Registered
Oct 25, 2012
3
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. :)
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
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.
 

Wander

L3: Member
Sep 16, 2010
148
55
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
 

Mr_Orion

L1: Registered
Oct 25, 2012
3
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.
 

bob+M|M+

L6: Sharp Member
Mar 31, 2008
346
394
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
 

Mr_Orion

L1: Registered
Oct 25, 2012
3
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.
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
-For the func_detail, I delete or I add them?
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.