"moving skybox"

AWESOME-O

L10: Glamorous Member
Mar 20, 2008
779
132
Hey, long time no serious posted, but here it goes.

You guys all know ctf_convoy i guess?
Well, the walls are all moving, the cart doesnt move but the skybox moves.
I decompiled the map to search how it worked (Sorry maker of ctf_convoy)
But i still don't understand how to make these walls, i'm sure i've asked this before but when i searched for the topic i couldn't find it :(
So, someone knows how to make these walls?
 

samn

L4: Comfortable Member
Mar 28, 2008
158
47
The cliffs and floor all use animated textures to give the appearance that it is moving
 

AWESOME-O

L10: Glamorous Member
Mar 20, 2008
779
132
hmm thanks, but still can't find anything in the VDC (Or i'm just blind)
 

samn

L4: Comfortable Member
Mar 28, 2008
158
47
Hmm, FaTony always seems to post 'I know how to do it' but never bothers to give an explanation.
 

FaTony

Banned
Mar 25, 2008
901
160
Learned most of the skills reading VDC. It's really a great resource. And I actually unveiled the key of my moving skybox -> func_tracktrain. I most likely will post a tutorial on that after the release of cp_train.
 
Last edited by a moderator:

Nineaxis

Quack Doctor
aa
May 19, 2008
1,767
2,820
Nothing is less helpful than saying "Smart people should know how to do it already".
 

Shmitz

Old Hat
aa
Nov 12, 2007
1,128
746
Moving the entire skybox via func_tracktrain is a terrible idea, particularly when the original poster is asking about a map that just has movement in a straight line, where the animated textures work fine and don't have anywhere near the performance overhead of moving entities.

Knowing why something is done is far more important than just knowing how.
 

AWESOME-O

L10: Glamorous Member
Mar 20, 2008
779
132
"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$baseTextureTransform"
"texturescrollrate" .15
"texturescrollangle" 270.00
}
}

One example. As you can see it moves at a rate of .15/tick and moves in the direction specified, that is, down.

you got a thanks, i'll try out this weekend, gotta hurry for school now :)
 

Vander

L8: Fancy Shmancy Member
Feb 16, 2008
506
215
Removed to lessen the drama
 
Last edited by a moderator:

AWESOME-O

L10: Glamorous Member
Mar 20, 2008
779
132
"Proxies"
{
"TextureScroll"
{
"texturescrollvar" "$baseTextureTransform"
"texturescrollrate" .15
"texturescrollangle" 270.00
}
}

One example. As you can see it moves at a rate of .15/tick and moves in the direction specified, that is, down.

i just wonder, this is possible to do on a skybox 2?
That the skybox stays on 1 place?

PS: i know my schoolday is short :D
 

Uriak

L8: Fancy Shmancy Member
Apr 27, 2008
543
70
You could try... but I highly doubt that the illusion would work. (I think of the transition between "front" and "back" sky faces and the "up" and "sides" face of your skybox.

Maybe a 3d skybox with large cloud layers scrolling... and fog to help mix the whole thing at the "front" and "end" of your skybox...
 

Zmathue

L2: Junior Member
Aug 3, 2008
72
14
i just wonder, this is possible to do on a skybox 2?
That the skybox stays on 1 place?

PS: i know my schoolday is short :D

No I just tested 2d and 3d skybox's with this, it doesn't work because even though the texture shifts the "skycamera" always updates the area around it.
 
Last edited: