Reducing Lag on map

Reducing Lag on map

Hammer Mapping — Page [1] 2
OneDude
2011 Aug 13 • 27
How can I reduce the lag of my map?
I did not understand the explanation in the FAQ. Can you help? If I select all items on map and Crave does that help?
To summarize how I remove Lag and the Ping of the map?
 
 
2011 Aug 19 at 07:40 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
is it big and open?

lights, sprites, objects. make less of them.

post your compile log.

I drink to forget but I always remember.
 
 
2011 Aug 19 at 12:09 PDT
OneDude
2011 Aug 13 • 27
The compile takes me at least two hours. The main room of the cages is a large, open ..
What is spirit?
 
 
2011 Aug 19 at 12:33 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
sprites as in entitys
I drink to forget but I always remember.
 
 
2011 Aug 19 at 13:38 PDT
OneDude
2011 Aug 13 • 27
I did not understand what you mean ..
What can I do? Delete entity is not an option
 
 
2011 Aug 19 at 13:46 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
post your compile log so i can get a hold of what you have.

related to your problems
http://www.cstrike-planet.com/forum/remark,13631-Lag-apears-when-the-map-is-filled-with-players
I drink to forget but I always remember.
 
 
2011 Aug 19 at 13:51 PDT — Ed. 2011 Aug 19 at 13:54 PDT
OneDude
2011 Aug 13 • 27
The compile log: (I have another problem..)


hlcsg v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlcsg -----
Command line: hlcsg -nowadtextures catpee
Entering catpee.map

Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max lighting memory [ 6291456 ] [ 6291456 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
clip hull type [ legacy ] [ legacy ]
onlyents [ off ] [ off ]
wadtextures [ off ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
nullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]

1 brushes (totalling 6 sides) discarded from clipping hulls
CreateBrush:
(4.41 seconds)
SetModelCenters:
(0.00 seconds)
CSGBrush:
(14.02 seconds)

Using Wadfile: \documents and settings\\desktop\\cs_bdog.wad
- Contains 2 used textures, 3.28 percent of map (132 textures in wad)
Using Wadfile: \documents and settings\\desktop\\cstrike.wad
- Contains 2 used textures, 3.28 percent of map (123 textures in wad)
Using Wadfile: \documents and settings\\desktop\\decals.wad
- Contains 0 used textures, 0.00 percent of map (223 textures in wad)
Using Wadfile: \documents and settings\\desktop\\dev_textures.wad
- Contains 1 used texture, 1.64 percent of map (22 textures in wad)
Using Wadfile: \documents and settings\\desktop\\halflife.wad
- Contains 53 used textures, 86.89 percent of map (3116 textures in wad)
Using Wadfile: \documents and settings\\desktop\הורדות\maniacwads.wad
- Contains 2 used textures, 3.28 percent of map (22 textures in wad)
Including Wadfile: \documents and settings\\desktop\\zhlt.wad
- Contains 1 used texture, 1.64 percent of map (7 textures in wad)

added 15 additional animating textures.
Texture usage is at 1.13 mb (of 4.00 mb MAX)
19.41 seconds elapsed

----- END hlcsg -----



hlbsp v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlbsp -----
Command line: hlbsp catpee

Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
nofill [ off ] [ off ]
noopt [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 8192)


SolidBSP [hull 0] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5301 (2.75 seconds)
BSP generation successful, writing portal file 'catpee.prt'
SolidBSP [hull 1] 500...1000...1500...2000...2500...3000...3008 (1.22 seconds)
SolidBSP [hull 2] 500...1000...1500...2000...2500...2603 (1.06 seconds)
SolidBSP [hull 3] 500...1000...1500...2000...2500...3000...3327 (1.77 seconds)
24.42 seconds elapsed

----- END hlbsp -----



hlvis v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlvis -----
Command line: hlvis catpee
2957 portalleafs
9898 numportals

-= Current hlvis Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max vis distance [ 0 ] [ 0 ]
priority [ Normal ] [ Normal ]

fast vis [ off ] [ off ]
full vis [ off ] [ off ]


BasePortalVis:
(69.39 seconds)
LeafThread:
(2745.23 seconds)
average leafs visible: 262
g_visdatasize:190878 compressed from 1094090
2816.00 seconds elapsed [46m 56s]

----- END hlvis -----



hlrad v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlrad -----
Command line: hlrad catpee

-= Current hlrad Settings =-
Name | Setting | Default
--------------------|---------------------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max lighting memory [ 6291456 ] [ 6291456 ]
priority [ Normal ] [ Normal ]

vismatrix algorithm [ Original ] [ Original ]
oversampling (-extra)[ off ] [ off ]
bounces [ 1 ] [ 1 ]
bounce dynamic light [ on ] [ on ]
ambient light [ 0.000 0.000 0.000 ] [ 0.000 0.000 0.000 ]
maximum light [ 255.000 ] [ 256.000 ]
circus mode [ off ] [ off ]

smoothing threshold [ 50.000 ] [ 50.000 ]
direct threshold [ 25.000 ] [ 25.000 ]
direct light scale [ 2.000 ] [ 2.000 ]
coring threshold [ 1.000 ] [ 1.000 ]
patch interpolation [ on ] [ on ]

texscale [ on ] [ on ]
patch subdividing [ on ] [ on ]
chop value [ 64.000 ] [ 64.000 ]
texchop value [ 32.000 ] [ 32.000 ]

global fade [ 1.000 ] [ 1.000 ]
global falloff [ 2 ] [ 2 ]
global light scale [ 1.000 1.000 1.000 ] [ 1.000 1.000 1.000 ]
global gamma [ 0.500 0.500 0.500 ] [ 0.500 0.500 0.500 ]
global light scale [ 1.000 ] [ 1.000 ]
global sky diffusion [ 1.000 ] [ 1.000 ]

opaque entities [ on ] [ on ]
sky lighting fix [ on ] [ on ]
incremental [ off ] [ off ]
dump [ off ] [ off ]

colour jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
monochromatic jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
softlight hack [ 0.0 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 0.0 ]
diffuse hack [ on ] [ on ]
spotlight points [ on ] [ on ]

custom shadows with bounce light
[ off ] [ off ]
rgb transfers [ off ] [ off ]


[Reading texlights from 'lights.rad']
[59 texlights parsed from 'lights.rad']

11114 faces
Create Patches : 48000 base patches
0 opaque faces
368698 square feet [53092560.00 square inches]
2925 direct lights

BuildFacelights:
Malformed face (10039) normal @
(209.00, 257.00, -805.00)
(209.00, 257.00, -830.00)
(210.00, 257.00, -830.00)
(210.00, 257.00, -805.00)
Error: Malformed face normal
Description: The texture alignment of a visible face is unusable
Howto Fix: If using Worldcraft, do a check for problems and fix any occurences of 'Texture axis perpindicular to face'


----- END hlrad -----


 
 
2011 Aug 19 at 15:00 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
http://developer.valvesoftware.com/wiki/Malformed_face_normal

to fix that problem you have, and also see if anything pops up.
I drink to forget but I always remember.
 
 
2011 Aug 19 at 16:22 PDT
OneDude
2011 Aug 13 • 27
I did the Check for problems and it told me I do not have problems on the map ..
 
 
2011 Aug 20 at 01:39 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
maybe you could cut down on lights, are there Specific areas in the map that lag. what im trying to make you do is cut down on how much things you have in your map.

im assuming its a jail break map so there are alot of rooms and this explains how "hlvis" is taking forever.and also if you have a bad computer then rearranging your map is not going to help.
I drink to forget but I always remember.
 
 
2011 Aug 20 at 07:31 PDT
OneDude
2011 Aug 13 • 27
My computer is bad, but I replaced it.
What should I do with the lights? Just delete them all and put light_ environment?
 
 
2011 Aug 20 at 12:20 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
 
 
2011 Aug 20 at 12:47 PDT
OneDude
2011 Aug 13 • 27
Ok.. if i put light_env in the map, i need to put a sky brush some where?
 
 
2011 Aug 20 at 14:50 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
nope
I drink to forget but I always remember.
 
 
2011 Aug 20 at 17:36 PDT
OneDude
2011 Aug 13 • 27
Ok. Thank you ... You helped me very much!
I can not see if it worked because I have another problem: 'Texture axis perpindicular to face'
I do not know how to handle it, how to find the object that causes the issue. Can you explain me how to work with the Go To Brush?
 
 
2011 Aug 22 at 12:25 PDT
the_cloud_system
polly pushy pants

2008 Aug 1 • 3070
-6 ₧
OneDude said:
I have another problem: 'Texture axis perpindicular to face'


Quote:
texture axis perpendicular to face
one of your textures has not been set properly on a face. Either use the problemchecker to fix the error, or do it yourself by selecting the face or brush and then in the texture-application tool selecting 'align to face' or 'align to world'. if that doesn't work, your brush might be too broken to repair and you'll have to repair it manually...

quote found here

OneDude said:
Can you explain me how to work with the Go To Brush?


if you have a problem with hammer such as (bla bla bla is retarded) hold (alt+p) and press (go to error)

the selection tool should have already highlighted the problem entity or object. there it is up to you to fix it or delete it and do it over.
I drink to forget but I always remember.
 
 
2011 Aug 22 at 20:02 PDT — Ed. 2011 Aug 22 at 20:03 PDT
OneDude
2011 Aug 13 • 27
In the check for problems there no problem, but when I compile there is a problem - like I said..
 
 
2011 Aug 23 at 02:09 PDT
SuperJer
Websiteman

2005 Mar 20 • 6232
You just need to type in the Brush number to use Go To Brush. Sometimes error messages include a brush number.

Once you do that, it will be selected / highlighted in red.
 
 
2011 Aug 24 at 19:06 PDT
OneDude
2011 Aug 13 • 27
BuildFacelights:
Malformed face (11537) normal @
(209.00, 257.00, -805.00)
(209.00, 257.00, -830.00)
(210.00, 257.00, -830.00)
(210.00, 257.00, -805.00)

Error: Malformed face normal
Description: The texture alignment of a visible face is unusable
Howto Fix: If using Worldcraft, do a check for problems and fix any occurences of 'Texture axis perpindicular to face'
Is the brush number?
 
 
2011 Aug 25 at 01:53 PDT
sin
2011 Aug 15 • 74
Just delete them and make new ones.
 
 
2011 Aug 26 at 03:02 PDT
OneDude
2011 Aug 13 • 27
sin said:
Just delete them and make new ones.

from all this:
(209.00, 257.00, -805.00)
(209.00, 257.00, -830.00)
(210.00, 257.00, -830.00)
(210.00, 257.00, -805.00)

what i need to enter to the Go To Brush ?
how ?
 
 
2011 Aug 26 at 04:11 PDT
sin
2011 Aug 15 • 74
There is no entity number this is the Coords.

You need to point anywhere in the 2d window and find the Coords.

Its X,Y,Z i Think. Find the X,Y in the top 2d window then the Z in the Side 2d window.


Pic: http://i56.tinypic.com/id681k.png
The White is where the mouse is pointing
The bottom red is the Coords Y,Z (Side 2d view)
 
 
2011 Aug 26 at 04:37 PDT
OneDude
2011 Aug 13 • 27
I solved it. Thank you!
Now all I have left is a leak in hull 1 that I do not know how to solve - because the leak probably does not exist .. (?)
 
 
2011 Aug 26 at 14:15 PDT
sin
2011 Aug 15 • 74
You got a leak somewhere, use the 'How to plug a leak' method in the FAQ or the one i wrote on your other thread.

Try deleting the entity this would 99% fail but you can try.
And post the compile log in a new thread so i can help you.
 
 
2011 Aug 26 at 14:21 PDT
OneDude
2011 Aug 13 • 27
I prefer you:)

hlcsg v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools - Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlcsg -----
Command line: hlcsg-nowadtextures catpee
Entering catpee.map

Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|---------------- ---------
threads [4] [Varies]
verbose [off] [off]
log [on] [on]
developer [0] [0]
chart [off] [off]
estimate [off] [off]
max texture memory [4194304] [4194304]
max lighting memory [6291456] [6291456]
priority [Normal] [Normal]

noclip [off] [off]
null texture stripping [on] [on]
clipnode economy mode [on] [on]
clip hull type [legacy] [legacy]
onlyents [off] [off]
wadtextures [off] [on]
skyclip [on] [on]
hullfile [None] [None]
nullfile [None] [None]
min surface area [0.500] [0.500]
brush union threshold [0.000] [0.000]

Using mapfile wad configuration
Wadinclude list:
[Zhlt.wad]

1 brushes (totalling 6 sides) discarded from clipping hulls
CreateBrush:
(0.35 seconds)
SetModelCenters:
(0.00 seconds)
CSGBrush:
(0.87 seconds)

Using Wadfile: \ users \ eyal \ desktop \ cs_bdog.wad
- Contains 2 used textures, 2.99 percent of map (132 textures in wad)
Using Wadfile: \ users \ eyal \ desktop \ cstrike.wad
- Contains 2 used textures, 2.99 percent of map (123 textures in wad)
Using Wadfile: \ users \ eyal \ desktop \ decals.wad
- Contains 0 used textures, 0.00 percent of map (223 textures in wad)
Using Wadfile: \ users \ eyal \ desktop \ dev_textures.wad
- Contains 1 used texture, 1.49 percent of map (22 textures in wad)
Using Wadfile: \ users \ eyal \ desktop \ halflife.wad
- Contains 59 used textures, 88.06 percent of map (3116 textures in wad)
Using Wadfile: \ users \ eyal \ desktop \ maniacwads.wad
- Contains 2 used textures, 2.99 percent of map (22 textures in wad)
Including Wadfile: \ users \ eyal \ desktop \ zhlt.wad
- Contains 1 used texture, 1.49 percent of map (7 textures in wad)

added 20 additional animating textures.
Texture usage is at 1.20 mb (of 4.00 mb MAX)
1.40 seconds elapsed

----- END hlcsg -----



hlbsp v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools - Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlbsp -----
Command line: hlbsp catpee

Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|------------------ -------
threads [4] [Varies]
verbose [off] [off]
log [on] [on]
developer [0] [0]
chart [off] [off]
estimate [off] [off]
max texture memory [4194304] [4194304]
priority [Normal] [Normal]

noclip [off] [off]
nofill [off] [off]
noopt [off] [off]
null tex. stripping [on] [on]
notjunc [off] [off]
subdivide size [240] [240] (Min 64) (Max 512)
max node size [1024] [1024] (Min 64) (Max 8192)


SolidBSP [hull 0] 500 ... 1000 ... 1500 ... 2000 ... 2500 ... 3000 ... 3500 ... 4000 ... 4500 ... 5000 ... 5500 ... 5669 (0.22 seconds)
BSP generation successful, writing portal file 'catpee.prt'
SolidBSP [hull 1] 500 ... 1000 ... 1500 ... 2000 ... 2500 ... 3000 ... 3373 (0.11 seconds)
Warning: === LEAK in hull 1 ===
Entity info_teleport_destination @ (-937, -57, -782)
Error:
A LEAK is a hole in the map, where the inside of it is exposed to the
(Unwanted) outside region. The entity listed in the error is just a helpful
indication of where the beginning of the leak pointfile starts, so the
beginning of the line can be quickly found and traced to until reaching the
outside. Unless this entity is accidentally on the outside of the map, it
probably should not be deleted. Some complex rotating objects entities need
their origins outside the map. To deal with these, just enclose the origin
brush with a solid world brush

Leak pointfile generated

SolidBSP [hull 2] 500 ... 1000 ... 1500 ... 2000 ... 2500 ... 2938 (0.10 seconds)
SolidBSP [hull 3] 500 ... 1000 ... 1500 ... 2000 ... 2500 ... 3000 ... 3500 ... 3643 (0.13 seconds)
2.12 seconds elapsed

----- END hlbsp -----



hlvis v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools - Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlvis -----
Command line: hlvis catpee
>> There was a problem compiling the map.
>> Check the file catpee.log for the cause.

----- END hlvis -----



hlrad v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools - Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlrad -----
Command line: hlrad catpee
>> There was a problem compiling the map.
>> Check the file catpee.log for the cause.

----- END hlrad -----
 
 
2011 Aug 26 at 15:08 PDT
Page [1] 2