 
                                
                    
                        Re: Getting a texture to emit light
                        Posted by SnarkSephiroth on 
    Fri Jun 18th 2004 at 7:29pm
                     
                    
                 
                
            
            
                
    
            206 posts
        31 snarkmarks
        Registered: 
    Sep 10th 2003
                    Occupation: Automotive Tech Student
                            Location: Phoenix, Arizona
             
                
                        I have a light texture that I got out of a texture pack and I want it to emit light. I know this has to do with the lights.rad file but I need someone to tell me how to get it to emit light. It is a blue texture so how do I make it give off a blueish light? Thanks. :biggrin:
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Gwil on 
    Fri Jun 18th 2004 at 7:55pm
                     
                    
                 
                
            
            
                
    
                    
                             Gwil
                            Gwil
            
                        super admin
     
            2864 posts
        315 snarkmarks
        Registered: 
    Oct 13th 2001
                    Occupation: Student
                            Location: Derbyshire, UK
             
                
                        Open up your lights.rad file and take a look at the entries in there..
Make a copy of one, but you'll notice 3 values along the lines of "255 255 255" - or similar. These are the RGB values.
Example:
+0~GENERIC65                 255 255 255     750
Texture Name                 <span style="color: blue;">RGB Value        Brightness </span>
<span style="color: blue;">You can
get an RGB value from PSP, Photoshop, GIMP - most image editing
programs will have a 3 number display on their colour palette screen.
Find a blue that you like, and put it in!</span>
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Orpheus on 
    Fri Jun 18th 2004 at 8:00pm
                     
                    
                 
                
            
            
                
    
                    
                             Orpheus
                            Orpheus
            
                        member
     
            13860 posts
        2024 snarkmarks
        Registered: 
    Aug 26th 2001
                    Occupation: Long Haul Trucking
                            Location: Long Oklahoma - USA
             
                
                        2 things,
1)this is in the database someplace. you didn't search :razz:
2) there is a program someplace, i saw it once.. it tells you the numbers you need for colors.. i have an HTML number one, but i am not sure the colors will be the same for editing light..
anyways.. maybe someone has this program handy.
                                    
             
        
            
            
                                
                    
                        Re: Getting a texture to emit light
                        Posted by scary_jeff on 
    Fri Jun 18th 2004 at 8:03pm
                     
                    
                 
                
            
            
                
    
            1614 posts
        191 snarkmarks
        Registered: 
    Aug 22nd 2001
                     
                
                        Open paint, double click on a colour, then click 'define custom colours'. You want the right hand column of numbers, in that order, for the colour you select.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Gwil on 
    Fri Jun 18th 2004 at 8:04pm
                     
                    
                 
                
            
            
                
    
                    
                             Gwil
                            Gwil
            
                        super admin
     
            2864 posts
        315 snarkmarks
        Registered: 
    Oct 13th 2001
                    Occupation: Student
                            Location: Derbyshire, UK
             
                
                        Orph - thats a hexadecimal colour code, in this format:
#FFFFFF
This definately needs RGB values :smile:
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Gwil on 
    Fri Jun 18th 2004 at 8:13pm
                     
                    
                 
                
            
            
                
    
                    
                             Gwil
                            Gwil
            
                        super admin
     
            2864 posts
        315 snarkmarks
        Registered: 
    Oct 13th 2001
                    Occupation: Student
                            Location: Derbyshire, UK
             
                
                        LOL, "break out the calculators"... :razz:
Absolute classic Crono :smile:
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Orpheus on 
    Fri Jun 18th 2004 at 8:24pm
                     
                    
                 
                
            
            
                
    
                    
                             Orpheus
                            Orpheus
            
                        member
     
            13860 posts
        2024 snarkmarks
        Registered: 
    Aug 26th 2001
                    Occupation: Long Haul Trucking
                            Location: Long Oklahoma - USA
             
                
                        i could have swore that the color codes were similar..
anywho's i saw a program, that converts colors into the 3 digit variety that hammer uses..
 forget i mentioned the html ones.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Gwil on 
    Fri Jun 18th 2004 at 8:35pm
                     
                    
                 
                
            
            
                
    
                    
                             Gwil
                            Gwil
            
                        super admin
     
            2864 posts
        315 snarkmarks
        Registered: 
    Oct 13th 2001
                    Occupation: Student
                            Location: Derbyshire, UK
             
                
                        The texture wont emit light in Hammer :razz: The .rmf/.map has to be compiled so RAD can interpret the values in the .rad file.
You can't have dynamic lighting in Hammer i'm afraid :sad:
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by SnarkSephiroth on 
    Fri Jun 18th 2004 at 8:44pm
                     
                    
                 
                
            
            
                
    
            206 posts
        31 snarkmarks
        Registered: 
    Sep 10th 2003
                    Occupation: Automotive Tech Student
                            Location: Phoenix, Arizona
             
                
                        I read a tut some where that told me how to take a texture and put it in the lights.rad file. It said that that texture would now emit light in my map when I compiled it. I actually did it and it worked. But I can't find the tut now and I really like this light texture. Any suggestions other than using entitys?
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by wil5on on 
    Sat Jun 19th 2004 at 2:54am
                     
                    
                 
                
            
            
                
    
                    
                             wil5on
                            wil5on
            
                        member
     
            1733 posts
        570 snarkmarks
        Registered: 
    Dec 12th 2003
                    Occupation: Mapper
                            Location: Adelaide
             
                
                        Do you have lights.rad in the right location? It should be in the same folder as your compile tools.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Tracer Bullet on 
    Sat Jun 19th 2004 at 3:11am
                     
                    
                 
                
            
            
                
    
            2271 posts
        445 snarkmarks
        Registered: 
    May 22nd 2003
                    Occupation: Graduate Student (Ph.D)
                            Location: Seattle WA, USA
             
                
                        IMO it's easier to have a seperate file for each map: mapname.rad
Just place it in the same folder as the mpaname.map you are compiling from. (your RMF directory if you use hammer for the compile)
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Orpheus on 
    Sat Jun 19th 2004 at 1:52pm
                     
                    
                 
                
            
            
                
    
                    
                             Orpheus
                            Orpheus
            
                        member
     
            13860 posts
        2024 snarkmarks
        Registered: 
    Aug 26th 2001
                    Occupation: Long Haul Trucking
                            Location: Long Oklahoma - USA
             
                
                        far be it for me to steal anyones thunder, but.. to reward answers with blue, defeats the system if the answer was in fact searchable here at the pit :sad:
we truly need to encourage new questions to be searched for first..
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by wil5on on 
    Sat Jun 19th 2004 at 2:41pm
                     
                    
                 
                
            
            
                
    
                    
                             wil5on
                            wil5on
            
                        member
     
            1733 posts
        570 snarkmarks
        Registered: 
    Dec 12th 2003
                    Occupation: Mapper
                            Location: Adelaide
             
                
                        What? No!
HOW ARE I MAKEY TEH MAP INTO TEH BSP!?!?!?!?!!?!?!?!!? WAHT R COMLIPING!?!?!?!?!?!!?!? I R NOOB LOL!1!!!!1!1!1!1111!!!!1111!!!!
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Gwil on 
    Sat Jun 19th 2004 at 2:52pm
                     
                    
                 
                
            
            
                
    
                    
                             Gwil
                            Gwil
            
                        super admin
     
            2864 posts
        315 snarkmarks
        Registered: 
    Oct 13th 2001
                    Occupation: Student
                            Location: Derbyshire, UK
             
                
                        Orph, it was only partially answered I believe... and he did end
restating the question for clarity.. AFAIK there isnt a mention of the
RGB values/creating custom light colours with .rad files on the site.
But I see your point :smile: There's no foolproof way to get people to read
and understand the guide to using the forum though.. people have
natural blocks on the internet so they can achieve their goal as
quickly as possible :smile:
Sadly :smile:
                                    
             
        
            
            
                                     
                                
                    
                        Re: Getting a texture to emit light
                        Posted by Orpheus on 
    Sat Jun 19th 2004 at 3:05pm
                     
                    
                 
                
            
            
                
    
                    
                             Orpheus
                            Orpheus
            
                        member
     
            13860 posts
        2024 snarkmarks
        Registered: 
    Aug 26th 2001
                    Occupation: Long Haul Trucking
                            Location: Long Oklahoma - USA
             
                
                        if i have time, i am going to find that program i mentioned.. if i succeed, maybe we can get lep to upload it to a secure place for next time..