Getting a texture to emit light

Getting a texture to emit light

Re: Getting a texture to emit light Posted by SnarkSephiroth on Fri Jun 18th 2004 at 7:29pm
SnarkSephiroth
206 posts
Posted 2004-06-18 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
2864 posts
Posted 2004-06-18 7:55pm
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 Crono on Fri Jun 18th 2004 at 8:00pm
Crono
6628 posts
Posted 2004-06-18 8:00pm
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
Re: Getting a texture to emit light Posted by Orpheus on Fri Jun 18th 2004 at 8:00pm
Orpheus
13860 posts
Posted 2004-06-18 8:00pm
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
scary_jeff
1614 posts
Posted 2004-06-18 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
2864 posts
Posted 2004-06-18 8:04pm
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 Crono on Fri Jun 18th 2004 at 8:10pm
Crono
6628 posts
Posted 2004-06-18 8:10pm
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
Orph - thats a hexadecimal colour code, in this format:

#FFFFFF

This definately needs RGB values :smile:
They can be converted! Break out the calculators.
Re: Getting a texture to emit light Posted by Gwil on Fri Jun 18th 2004 at 8:13pm
Gwil
2864 posts
Posted 2004-06-18 8:13pm
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
13860 posts
Posted 2004-06-18 8:24pm
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 SnarkSephiroth on Fri Jun 18th 2004 at 8:31pm
SnarkSephiroth
206 posts
Posted 2004-06-18 8:31pm
206 posts 31 snarkmarks Registered: Sep 10th 2003 Occupation: Automotive Tech Student Location: Phoenix, Arizona
I copied and pasted the name of a texture and renamed it, I gave it a value, Then started hammer up. It still doesn't work. Any suggestions?

:confused:
Re: Getting a texture to emit light Posted by Gwil on Fri Jun 18th 2004 at 8:35pm
Gwil
2864 posts
Posted 2004-06-18 8:35pm
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
SnarkSephiroth
206 posts
Posted 2004-06-18 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 Gwil on Fri Jun 18th 2004 at 8:53pm
Gwil
2864 posts
Posted 2004-06-18 8:53pm
Gwil
super admin
2864 posts 315 snarkmarks Registered: Oct 13th 2001 Occupation: Student Location: Derbyshire, UK
As long as the texture is listed in lights.rad, and is applied to a
face, and the map is compiled with the RAD tool included, it should
emit light :smile:

Check Crono's answer for a tutorial on texture lighting :smile:

http://www.snarkpit.com/editing.php?page=tutorials&game=HL&id=53 < that one :smile:
Re: Getting a texture to emit light Posted by wil5on on Sat Jun 19th 2004 at 2:54am
wil5on
1733 posts
Posted 2004-06-19 2:54am
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
Tracer Bullet
2271 posts
Posted 2004-06-19 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
13860 posts
Posted 2004-06-19 1:52pm
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
1733 posts
Posted 2004-06-19 2:41pm
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
2864 posts
Posted 2004-06-19 2:52pm
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
13860 posts
Posted 2004-06-19 3:05pm
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..