Re: unexpected end of file
                        Posted by ReinholD on 
    Fri Jul 7th 2006 at 10:13am
                     
                    
                        
                        Posted 
    2006-07-07 10:13am
                     
                 
                
            
            
                
    
            8 posts
        1 snarkmarks
        Registered: 
    Jul 7th 2006
                     
                
                        <DIV>Hi all. :smile: </DIV>
<DIV> </DIV>
<DIV>i needed to give a certain entity, a weird origin, so i edited the VMF file in the texteditor.</DIV>
<DIV> </DIV>
<DIV>i worked great. then i did it with 3 others. but then i tried to open the file in hammer, and the error came:</DIV>
<DIV> </DIV>
<DIV>"Unexpected end of file; line 43956" (that's how many lines there are in the file)</DIV>
<DIV> </DIV>
<DIV>what am i supposed to do?</DIV>
<DIV> </DIV>
<DIV>i've tried to delete the entity i created, but that didn't worked.</DIV>
<DIV> </DIV>
<DIV>i tried to copy the end of another file, and then override the end of my "bad" file, but that didn't worked either.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>thanks :smile: </DIV>
                                    
             
        
            
            
                                
                    
                        Re: unexpected end of file
                        Posted by ReinholD on 
    Fri Jul 7th 2006 at 10:14pm
                     
                    
                        
                        Posted 
    2006-07-07 10:14pm
                     
                 
                
            
            
                
    
            8 posts
        1 snarkmarks
        Registered: 
    Jul 7th 2006
                     
                
                        well thanks, but all the parentheses a fine, and there is a space at the end of the file. i've even tried to delete the space, but no luck. :smile:
here is the end of the file:
entity
{
 "id" "37796"
 "classname" "info_player_counterterrorist"
 "angles" "0 0 0"
 "origin" "-32.4865 1.00034 0.993118"
 editor
 {
  "color" "220 30 220"
  "visgroupshown" "1"
  "visgroupautoshown" "1"
 }
}
cameras
{
 "activecamera" "-1"
}
cordon
{
 "mins" "(99999 99999 99999)"
 "maxs" "(-99999 -99999 -99999)"
 "active" "0"
}
                                    
             
        
            
            
                                
                    
                        Re: unexpected end of file
                        Posted by ReinholD on 
    Sat Jul 8th 2006 at 2:47pm
                     
                    
                 
                
            
            
                
    
            8 posts
        1 snarkmarks
        Registered: 
    Jul 7th 2006
                     
                
                        Dark_Kilauea, no because that was a parenthese in another parenthese :smile:
Thanks for the tip Captain P :biggrin: IT WORKED!