[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
-=DVF=- Gaming Community • View topic - r_speeds and what to do :)
-=DVF=- Gaming Community
It is currently Tue Apr 16, 2024 4:14 pm

All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: r_speeds and what to do :)
PostPosted: Thu Jan 08, 2004 2:25 pm 
Senior Member
Senior Member
User avatar

Joined: Sun Apr 06, 2003 12:48 pm
Posts: 1569
Location: http://www.cc-clan.co.uk

_________________
Dead to the world.
217.163.30.167:27015 - clan CSS server - http://www.cc-clan.co.uk/
::CC::


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 08, 2004 4:19 pm 
DVF Member
DVF Member
User avatar

Joined: Mon Sep 30, 2002 1:25 am
Posts: 2670
Location: South Wales
If you check the Handy Vandal's Almanac, there's some info on there.

This also looks like a decent explaination: http://www.cariad.co.za/twhl/tutorial.php?id=38

FWIW, you want to keep them as low as possible in busy areas (less than 1000 should be fine), having said that, some areas of cs_proof go up to 1500, but I've not noticed any real problems there.
The main problem with info you find on the net is that it's not always up to date, so I reckon sub-1000 should be quite playable with modern PCs; and you can get away with it being higher in some places.
- I wouldn't get too worried by numbers up to 1500 until you've tried it to see if it causes problems.

When you compile the map, it's broken down into polys - If you want to get really advanced, then you can use VIS blocks to actually manually control how your map is broken down (I used this technique in one or two areas of cs_proof with some success - the 1500 poly area was originally jumping up to 2500 before I used a few VIS blocks).
But I'd only use VIS blocks as a last resort, after you've optimised as much as possible using normal techniques.

If you want to actually see what your map 'looks' like to the computer, switch to software rendering (instead of OpenGL or DirectX); and type r_drawflat 1 in the console. This can be useful if you can't understand why the r_speeds are getting higher in some areas.
Another technique (using OpenGL mode) is to use gl_wireframe 1 or gl_wireframe 2 which also shows you the polys that are being drawn.
Note: Both these techniques only work if you start a 1 Player Local Server, you can't use them when playing multiplayer.

One technique that's widely used is to leave a 1 unit gap between your brushes (e.g. move a crate 1 pixel off the ground); you can usually use this without anyone noticing and the ground won't get split where your crate is.
Alternatively, make it a func_wall, but as you mention this does have some side-effects.

Another technique is to scale up your textures where possible.
So for example, with grass, rocks, etc, change the texture scale (X and Y) from 1 to 2 and see how it looks. With textures that do not require much detail it's worth scaling them up as much as possible as this will reduce your r_speeds - don't go too far or your map looks 'blurry' - give it a bash and you should see what i mean.
I believe there are some tools you can get to do this for you, although I've never tried them.
I've also read that going 'too far' with texture scaling can actually slow things down, so the best bet is to try a few values and see what happens.


At the end of the day, most r_speed problems are down to poor deisign.
The front of the house in cs_proof has high r_speeds - because when you enter the front garden you can theoretically see into almost every room in the house (and all the details like beds and tables, etc).
This is because I didn't think things through before designing it.

By means of a comparison, consider cs_estate - how much of the house can you see through the doors and windows ? virtually none, almost all windows and doors face a brick wall, which means good r_speeds.

HTH

_________________
The next generation of CS:S Maps


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 08, 2004 8:00 pm 
DVF Member
DVF Member
User avatar

Joined: Wed Aug 21, 2002 10:07 am
Posts: 1498
Location: long eaton


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 08, 2004 10:43 pm 
DVF Admin
DVF Admin
User avatar

Joined: Fri Jun 29, 2001 12:00 am
Posts: 4233


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 09, 2004 12:01 am 
DVF Member
DVF Member
User avatar

Joined: Mon Sep 30, 2002 1:25 am
Posts: 2670
Location: South Wales

_________________
The next generation of CS:S Maps


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 09, 2004 9:30 am 
Senior Member
Senior Member
User avatar

Joined: Sun Apr 06, 2003 12:48 pm
Posts: 1569
Location: http://www.cc-clan.co.uk
:eek:

so thats how they made the area near the APC on prodigy able for you to climb onto the railings next to the sky and not be able to see the roof of the corridors on the other side.

:eek:

that also brings me to summat else, that having not used hammer r anythign special, i am unlearnded in.....the ZHLT lightflags and setting to opaque....is this an option in the editor in in ZHLT....cos if its in editor i think i know how to do it in quark....if its in ZHLT i aint got a feckin clue.

o also.....BSTRDS AND UR PREFABS BUILT INTO HAMMER...I HAVE TO DO EVERYTHING MYSELF IN QUARK, LAZY SO N SO'S! ;)

_________________
Dead to the world.
217.163.30.167:27015 - clan CSS server - http://www.cc-clan.co.uk/
::CC::


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 09, 2004 11:52 am 
DVF Admin
DVF Admin
User avatar

Joined: Fri Jun 29, 2001 12:00 am
Posts: 4233
Prefabs are pure evil anyway, its best that you are forced to make things yourself :p

ZHTL flags are set in the editor - the expert fgd for Hammer makes it nice and easy, but if you use Quark that's not much use :p

I dunno how Quark works but in Hammer the flag you want is zhlt_lightflags and a value of 2 will be opaque.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 09, 2004 12:45 pm 
Senior Member
Senior Member
User avatar

Joined: Sun Apr 06, 2003 12:48 pm
Posts: 1569
Location: http://www.cc-clan.co.uk

_________________
Dead to the world.
217.163.30.167:27015 - clan CSS server - http://www.cc-clan.co.uk/
::CC::


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 11, 2004 2:32 am 
Senior Member
Senior Member
User avatar

Joined: Sun Apr 06, 2003 12:48 pm
Posts: 1569
Location: http://www.cc-clan.co.uk
tried out the 1 block gap on a small deathmatch map tnight.



highest r_speeds i found was 214, right in the middle.....the lowest i foun was 20!

_________________
Dead to the world.
217.163.30.167:27015 - clan CSS server - http://www.cc-clan.co.uk/
::CC::


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group