"Parallax-scrolling" skybox?

Discussions about Coding and Scripting
Post Reply
SzGergo
Skilled
Posts: 213
Joined: Fri Aug 27, 2010 2:48 pm

"Parallax-scrolling" skybox?

Post by SzGergo »

Hi there,

I don't know nothing about scripting, still i have some question:
Is it possible to make a skyboxinf type actor move along with the player?
The concept is the following:
parallax.jpg
The "skybox info" has a base point in the skybox and a projection base point in the map.
In game, a client side "skybox info" would move in the skybox along with the player proportionally. Like It's current position (xyz distance fromt its base point) should be equal with distance of the player from the "projection base point" divided by a value "n".
This way, the objecst int the skybox would have the effect not being int the infinite far distance, but would have some real distance effect according to this n value.
This concept would act nicely when there were spacecrafts, asteroids, skyscarepes etc in the skybox.
I don't have too much free time, and i never felt like to trie to learn how to do this unreal scripting stuff. (however, i know C and even C++ a little bit)
So my question is, how hard / feaseble does this sound to you?
Eviltom
Skilled
Posts: 150
Joined: Tue Jul 12, 2016 12:08 pm

Re: "Parallax-scrolling" skybox?

Post by Eviltom »

That would be pretty cool, would make objects in the skybox appear a bit closer. I would use it if it was available and simple enough to implement!
User avatar
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: "Parallax-scrolling" skybox?

Post by papercoffee »

Maybe Higor's MovingSkyZone can help.
viewtopic.php?f=15&t=3809
SzGergo
Skilled
Posts: 213
Joined: Fri Aug 27, 2010 2:48 pm

Re: "Parallax-scrolling" skybox?

Post by SzGergo »

papercoffee wrote:Maybe Higor's MovingSkyZone can help.
viewtopic.php?f=15&t=3809
Well i always had this feeling i won't be the first person who invented hot water :)
Exactly something like this
SzGergo
Skilled
Posts: 213
Joined: Fri Aug 27, 2010 2:48 pm

Re: "Parallax-scrolling" skybox?

Post by SzGergo »

Okay, here is Higor's movabel sky zone info actor.
It is awesome. It does exactly what i am looking for.
However. Only in single player.
Is there a way I can make it work in multiplayer?
On the host side it works perfectly, but on client side there is no skybox visible at all. Instead the all i see is the unlit texture of the outer walls off my map...
Any ideas?
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: "Parallax-scrolling" skybox?

Post by Higor »

The public (and finished) version is this one.
MovableSkyZone.zip
(2.12 KiB) Downloaded 105 times
You can also find it on server redirects.
User avatar
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: "Parallax-scrolling" skybox?

Post by papercoffee »

:highfive: ...snatched it! First downloader. :mrgreen:
SzGergo
Skilled
Posts: 213
Joined: Fri Aug 27, 2010 2:48 pm

Re: "Parallax-scrolling" skybox?

Post by SzGergo »

Thanks!
It works like a charm so far!
nullbyte
Novice
Posts: 27
Joined: Sat Sep 03, 2016 3:40 am

Re: "Parallax-scrolling" skybox?

Post by nullbyte »

Can we see the map you're working on with it? :D
Post Reply