[hlcoders] Scrolling Textures

2008-10-12 Thread Josh Hollander
I'd like to know why my texture wont scroll. It refracts beautifully, but... well, it looks utterly fake. Can anybody figure out what I've done wrong here? VMT CODE: "Refract" { "$normalmap" "dvlstx/forcefield_normal" "$surfaceprop" "glass" "$bluramount" "1" "$refractamount" ".100" "$scale" "[1 1]

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Maarten De Meyer
try using $bumptransform in stead of $baseTextureTransform as texturescrollvar. That help? -- Maarten > I'd like to know why my texture wont scroll. It refracts beautifully, > but... > well, it looks utterly fake. Can anybody figure out what I've done wrong > here? > > VMT CODE: > "Refract" > { >

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Matt Hoffman
In a related question, can you have your $basetexture2 scroll? I wish to have a basetexture, then a scrolling material overlayed ontop of this. Is this possible? On Sun, Oct 12, 2008 at 8:54 AM, Maarten De Meyer <[EMAIL PROTECTED]>wrote: > try using $bumptransform in stead of $baseTextureTransfor

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Maarten De Meyer
Proxies operate on variables, I see no reason why the $basetexture2transform should be any different. What you want should be possible, yes. > In a related question, can you have your $basetexture2 scroll? I wish to > have a basetexture, then a scrolling material overlayed ontop of this. Is > this

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Matt Hoffman
What would my code look like, something like this? (Typed off memory, so the commands may be iffy) "LightmappedGeneric" { $basetexture "base/basetexture1" $basetexture "base/basetexture1overlay" $surfaceprop "metal" $surfaceprop2 "water" //Does source support SurfaceProp2? "Pr

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Matt Hoffman
Whoops that won't work, that's animated texture. I meant to say: "LightmappedGeneric" { $basetexture "test/basewatertexture01" $basetexture "base/basewavetexture01" $surfaceprop "metal" "Proxies" { "TextureScroll" { "textureScrollVar" "$basetexture2

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Josh Hollander
I believe you have to change the line "textureScrollVar" "$basetexture2" to "textureScrollVar" "$baseTextureTransform" Although I'm not sure if you're going for a different effect from scrolling. Josh On Sun, Oct 12, 2008 at 2:46 PM, Matt Hoffman <[EMAIL PROTECTED]>wrote: > Whoops that won't

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Matt Hoffman
All I know is the code I posted doesn't do anything. :P Would I remove $basetexture2 (at the start of the vmt) and replace it with $basetexturetransform? On Sun, Oct 12, 2008 at 5:49 PM, Josh Hollander <[EMAIL PROTECTED]> wrote: > I believe you have to change the line > > "textureScrollVar" "$ba

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Josh Hollander
I believe so... I'm not quite sure as to what you are trying to achieve, but if it's just a single texture I got mine working with Maarten's help. On Sun, Oct 12, 2008 at 8:53 PM, Matt Hoffman <[EMAIL PROTECTED]>wrote: > All I know is the code I posted doesn't do anything. :P > > Would I remove $

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Matt Hoffman
Well what I'm trying to do is re-create Wetwork from COD4. (First level really, with the cargoship, etc) I'm trying to re-create the water, which appears to be a moving plane (animated vertexes) with a base water texture, then an animated 'wave/foam' texture on top. I'm also trying to re-create t

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Josh Hollander
The puddle should be easy enough to do, but I'm not so sure about the water... Model with animation could be best, if you're up to it. On Sun, Oct 12, 2008 at 9:12 PM, Matt Hoffman <[EMAIL PROTECTED]>wrote: > Well what I'm trying to do is re-create Wetwork from COD4. (First level > really, with t

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Matt Hoffman
Well yeah I know about the model with the animation, but I don't want to have to have two copies of the waves (and render 2x the triangles) with the top layer being foam. How would you overlay an animated material ontop of a $basetexture? On Sun, Oct 12, 2008 at 7:08 PM, Josh Hollander <[EMAIL PR

Re: [hlcoders] Scrolling Textures

2008-10-12 Thread Maarten De Meyer
What I would *expect* logically is "LightmappedGeneric" { $basetexture "test/basewatertexture01" $basetexture2 "base/basewavetexture01" $surfaceprop "metal" "Proxies" { "TextureScroll" { "textureScrollVar" "$basetexture2transform" "textu

Re: [hlcoders] Scrolling Textures

2008-10-13 Thread Matt Hoffman
I'm not sure what $basetexture2transform is used for. I thought "textureScrollVar" defined which variable to read for which material. On Sun, Oct 12, 2008 at 11:11 PM, Maarten De Meyer <[EMAIL PROTECTED]>wrote: > What I would *expect* logically is > > "LightmappedGeneric" > { >$basetexture "t

Re: [hlcoders] Scrolling Textures

2008-10-13 Thread Christopher Harris
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoffman Sent: Monday, October 13, 2008 7:52 PM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Scrolling Textures I'm not sure what $basetexture2transform is used for. I thought "textur

Re: [hlcoders] Scrolling Textures

2008-10-13 Thread Matt Hoffman
t; To: Discussion of Half-Life Programming > Subject: Re: [hlcoders] Scrolling Textures > > I'm not sure what $basetexture2transform is used for. I thought > "textureScrollVar" defined which variable to read for which material. > > On Sun, Oct 12, 2008 at 11:11

Re: [hlcoders] Scrolling Textures

2008-10-13 Thread Matt Hoffman
ris > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoffman > Sent: Monday, October 13, 2008 7:52 PM > To: Discussion of Half-Life Programming > Subject: Re: [hlcoders] Scrolling Textures > > I'm not sure what $basetex

Re: [hlcoders] Scrolling Textures

2008-10-13 Thread Christopher Harris
ng textures. > > Chris > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoffman > Sent: Monday, October 13, 2008 7:52 PM > To: Discussion of Half-Life Programming > Subject: Re: [hlcoders] Scrolling Textures > > I&

Re: [hlcoders] Scrolling Textures

2008-10-13 Thread Matt Hoffman
the > overlay scrolling and then in the map apply the overlay over the water > texture. > > Chris > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoffman > Sent: Monday, October 13, 2008 8:12 PM > To: Discussion of

Re: [hlcoders] Scrolling Textures

2008-10-20 Thread Ben 'amogan' K.
Not sure whether you have already solved this but I just read through this thread and thought I'd reply: First of all, yes, $basetexture2transform does not exist. Seems like you got $basetexturetransform2 and $texture2transform mixed up. Second of all I think LightmappedGeneric will not work the