scroll texture
Post Reply
Quote
Re: scroll texture
Posted by warlord on Fri Jun 2nd at 11:06pm 2006


anyone know the code to make a scrolling texture like a waterfall or conveyor belt for source

im not making a conveyor but i need to make a scrolling texture

thx




the only problem with steam updating things every week is it doesent give the developers an incentive to playtest thier work, so we do it for them



Quote
Re: scroll texture
Posted by Orpheus on Fri Jun 2nd at 11:30pm 2006


This is an editing question, and one thats been asked.

Search for it in the editing forums.





The best things in life, aren't things.



Quote
Re: scroll texture
Posted by warlord on Sat Jun 3rd at 7:21am 2006


ive searched around but could not find it.

i dont want to actually make a comveyor just a texture that scrolls




the only problem with steam updating things every week is it doesent give the developers an incentive to playtest thier work, so we do it for them



Quote
Re: scroll texture
Posted by Crono on Sat Jun 3rd at 7:44am 2006


This would only be in art if you had something to show ... like ... art. This is blatantly an editing question.

To answer your question (which I suggest gets moved to the HL2 forum and this answer marked correct, because this IS NOT covered for HL2)

You have to edit the VMT for the texture.

In an area create a new block of code under "Proxies" (if it doesn't already exist)

"TextureScroll"

{
"texturescrollvar" "$basetexturetransform" //tells the proxy what texture to move.
"texturescrollrate" .5 // This is how fast to scroll the texture.
"texturescrollangle" 270 //this is the angle at which it will scroll.
}


I got that from this tutorial, which also goes into some neat water tricks!

The "$basetexturetransform" is a variable, as is the ".5" and "270".

[EDIT]
Apparently, this has been covered here.

http://www.snarkpit.net/forums.php?forum=6&topic=5002&highlight=Scrolling,Texture
http://www.snarkpit.net/forums.php?forum=6&topic=4447&highlight=Scrolling,Texture&findpost=76469#post76469



Blame it on Microsoft, God does.



Quote
Re: scroll texture
Posted by Orpheus on Sat Jun 3rd at 11:54am 2006


? quoting warlord
ive searched around but could not find it.

It is if you type "Scrolling" into the search window.

[EDIT] It can be moved but since its origin wasn't within the editing forum, there is no option for "correct"

Tis why I didn't move it yesterday. I was hoping the author would repost it himself to keep the database straight.

Anyway, I moved it.





The best things in life, aren't things.



Quote
Re: scroll texture
Posted by warlord on Sat Jun 3rd at 5:44pm 2006


i see ive searched for scroll and scroll texture and havent found these articles, thought scrolling would be covered by scroll, but anyway i read them and now it works thx

you can delete this if you want since it is useless




the only problem with steam updating things every week is it doesent give the developers an incentive to playtest thier work, so we do it for them




Post Reply