 
                                
                    
                        Re: Lag and speed
                        Posted by Carcase on 
    Sat Nov 15th 2003 at 9:10pm
                     
                    
                 
                
            
            
                
    
                    
                             Carcase
                            Carcase
            
                        member
     
            145 posts
        15 snarkmarks
        Registered: 
    Nov 15th 2003
                            Location: Northern Virginia
             
                
                        first of all, i will begin by saying that my computer is a beast with 2.5 ghz! so how come my maps are SO SLOW! What causes your map's framerate to lower. I am making a map for Sven coop with about 26 total enemies and turrets. is there a command i can use to speed up my map?
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by Campaignjunkie on 
    Sat Nov 15th 2003 at 9:42pm
                     
                    
                 
                
            
            
                
    
            1309 posts
        329 snarkmarks
        Registered: 
    Feb 12th 2002
                    Occupation: Student
                            Location: West Coast, USA
             
                
                        Make sure your 3d renderer is not Software; OpenGL will probably be your best choice. That's pretty much the only possibility I can think of; that you forgot to change your renderer.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by Carcase on 
    Sat Nov 15th 2003 at 10:57pm
                     
                    
                        
                        Posted 
    2003-11-15 10:57pm
                     
                 
                
            
            
                
    
                    
                             Carcase
                            Carcase
            
                        member
     
            145 posts
        15 snarkmarks
        Registered: 
    Nov 15th 2003
                            Location: Northern Virginia
             
                
                        well, its framerate was a lot faster, but that was only when i was say, inside a closed building facing a wall.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by fishy on 
    Sat Nov 15th 2003 at 11:24pm
                     
                    
                        
                        Posted 
    2003-11-15 11:24pm
                     
                 
                
            
            
                
    
                    
                             fishy
                            fishy
            
                        member
     
            2623 posts
        1476 snarkmarks
        Registered: 
    Sep 7th 2003
                            Location: glasgow
             
                
                        high r_speeds
there are lots of reasons this can happen. over complicated architecture, large open spaces, detailed areas being visible from other detailed areas, using -fast vis in the compile proccess. and more.
try to keep r_speeds below 500 in areas where you expect a lot of action, and below 800 elsewhere. i'm not saying this is a must, but it's really what you should aim for. /me looks at my own map in horror :eek:
i reckon that even on a relativly new system, r's of over 1500 will cause frame loss.
type r_speeds 1 in the console to check them. r_speeds 0 to turn them off :rolleyes:
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by Cash Car Star on 
    Sun Nov 16th 2003 at 2:35am
                     
                    
                 
                
            
            
                
    
            1260 posts
        345 snarkmarks
        Registered: 
    Apr 7th 2002
                    Occupation: post-student
                            Location: Connecticut (sigh)
             
                
                        You forgot to add a func_magic point entity into your map. It allows you to specify a minimum framerate that all computers will run the map at - regardless of how many models and things shooting and whatnot are visible in the map. This is just one of the many uses of the func_magic - it can do anything really.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by Carcase on 
    Sun Nov 16th 2003 at 3:07am
                     
                    
                 
                
            
            
                
    
                    
                             Carcase
                            Carcase
            
                        member
     
            145 posts
        15 snarkmarks
        Registered: 
    Nov 15th 2003
                            Location: Northern Virginia
             
                
                        man, shuddup. func_magic... anyway, ya, my map is running at 45000 r_speed, its just way too big.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by Campaignjunkie on 
    Sun Nov 16th 2003 at 4:00am
                     
                    
                 
                
            
            
                
    
            1309 posts
        329 snarkmarks
        Registered: 
    Feb 12th 2002
                    Occupation: Student
                            Location: West Coast, USA
             
                
                        It was r_speeds the whole time? Geeze. That's just really a fundamental part of mapping that I thought everyone understood.
Also be advised that a func_magic begins off. You need to use a trigger_magic to target it, along with specifying how much magical-ness you want (0 - 5 gajillion)
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by fraggard on 
    Sun Nov 16th 2003 at 7:47am
                     
                    
                 
                
            
            
                
    
            1110 posts
        220 snarkmarks
        Registered: 
    Jul 8th 2002
                    Occupation: Student
                            Location: Bangalore, India
             
                
                        I completely agree. The func_magic is definitely the most useful entity in a map... I mean, it does all that CCS said, plus it fixes leaks, improves the way the map looks, makes the game more playable, forces more servers to play the map, gives you free credit card numbers and enlarges your cough*hack* . Very useful. I think we need a tutorial.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by Carcase on 
    Sun Nov 16th 2003 at 2:27pm
                     
                    
                 
                
            
            
                
    
                    
                             Carcase
                            Carcase
            
                        member
     
            145 posts
        15 snarkmarks
        Registered: 
    Nov 15th 2003
                            Location: Northern Virginia
             
                
                        the null texture, i dont have it. i was gonna use that. yous guys know where i can get it?
                                    
             
        
            
            
                                     
                                
                    
                        Re: Lag and speed
                        Posted by Dr Brasso on 
    Sun Nov 16th 2003 at 7:05pm
                     
                    
                 
                
            
            
                
    
            1878 posts
        198 snarkmarks
        Registered: 
    Aug 30th 2003
                    Occupation: cad drafter
                            Location: Omaha,NE
             
                
                        screw science....func_God rules....you can do absolutely everything with it, including, create entirely new worlds>>> :razz:
Doc Brass.../runs like hell!!! :arse: