Re: Adding "$selfillum" to existing textures
Posted by Bl1tz on
Fri Apr 15th 2005 at 6:45am
35 posts
14 snarkmarks
Registered:
Jan 23rd 2005
Occupation: Slacker
Hi.
Tonight I was messing around with my lights.rad
file, and I realized that you can't just have any texture emit light as
long as it's in the .rad file, like in HL1. So I did a little
investigating and found that the .vmt of the texture you want to emit
light needs to have a ' "$selfillum" 1 ' in it. Easy enough right?
Well...not really.
What I did was take the texture I wanted to use
(toxicslime002a) and extract the .vtf from the .gcf, renamed it to
'blitzslime.vtf' and put it in C:\Program
Files\Steam\SteamApps\<user>\half-life 2
deathmatch\hl2mp\materials\customtex along with the modified
toxicslime002a.vtm (now named 'blitzslime.vtm')
So I compiled it, and it's still not working. The
texture showed up in WC, and in the game, but it wasn't emitting light.
Thanks to anyone who can provide a solution or a workaround.
Re: Adding "$selfillum" to existing textures
Posted by OtZman on
Fri Apr 15th 2005 at 2:58pm
OtZman
member
1890 posts
218 snarkmarks
Registered:
Jul 12th 2003
Occupation: Student
Location: Sweden
Will a texture with $selfillum spread light on surrounding objects or will it just make the texture itself appear lit up?
Re: Adding "$selfillum" to existing textures
Posted by fishy on
Fri Apr 15th 2005 at 6:43pm
fishy
member
2623 posts
1476 snarkmarks
Registered:
Sep 7th 2003
Location: glasgow
just gives the appearance of light. for the car example, adding the texture to the lights.rad wouldn't be the best idea, because there's only a little bit of the texture emitting any light. for textures, like say a piece of coloured n0n-transparent window that has been $selfillum'ed, lights.rad would need an entry to make the texture actually cast any light on the world.
Re: Adding "$selfillum" to existing textures
Posted by Bl1tz on
Fri Apr 15th 2005 at 10:49pm
Posted
2005-04-15 10:49pm
35 posts
14 snarkmarks
Registered:
Jan 23rd 2005
Occupation: Slacker
Okay...how do I do this with an existing HL2 texture?
Also, is there an easier/different way to get it to look texture lit
without actually being so? Point lights don't really look correct.
Re: Adding "$selfillum" to existing textures
Posted by wil5on on
Sat Apr 16th 2005 at 4:20am
wil5on
member
1733 posts
570 snarkmarks
Registered:
Dec 12th 2003
Occupation: Mapper
Location: Adelaide
-Copy the existing textures .vmt, give the vmt a different name but make it point to the same .vtx in the file. Add the $selfillum line into the vmt.
-Not that I'm aware of.
Re: Adding "$selfillum" to existing textures
Posted by Bl1tz on
Sat Apr 16th 2005 at 5:12am
35 posts
14 snarkmarks
Registered:
Jan 23rd 2005
Occupation: Slacker
No, that doesn't work. That's what I did initially. I need to have an alpha channel like fishy said.