[Feature Request] Moving Skybox Viewpoint

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

[Feature Request] Moving Skybox Viewpoint

Post by Tormentor667 »

I already asked for this in the very, very, very old notgod.phorums but unfortunately, the discussion got offtopic and then lost, so I try it once again, to get this feature:

A very useful thing would be the addition of an Moving Skybox Viewpoint which moves relative to the player's position. This would make up for more realism and a by far better illusion concerning "faked-3d"

The skybox thing would have just one argument (or two, concerning the amount over 255) and this would define the percentage ratio of the relative movcement to the players speed and direction. 100 would mean, that the skybox viewpoint moves exactly like the player (just like a mirrored clone), 50 would mean half the speed and so on.

The moving skybox thing is noclipped and mappers would have to make sure, that their skybox is large enough for the moving skybox thing. Also, the skybox behaves different to each player start, just depending where the player start 2-8 are placed. Same goes for deathmatch starts.

Just imagine the possibilites!!!!
User avatar
Cutmanmike
Posts: 11351
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Post by Tormentor667 »

@cutmanmike - This is achieved via ACS but I don't like this version, because it doesn't act relative to the Player's position and actually, a non-ACS variant would be much more comfortable!
User avatar
Chris
Posts: 2969
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

I like that idea. It'd really help give a better illusuion of depth. Imgaine seeing those mountains off in the distance ever-so-slowly get bigger as you walk towards the edge of the level.
User avatar
Chilvence
Posts: 1647
Joined: Mon Aug 11, 2003 6:36 pm
Contact:

Post by Chilvence »

You could probably fake this with ACS now using a combination of GetActor<xxxx> and Thing_Move
User avatar
Chris
Posts: 2969
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Still it would be nice for it to be automatic.. like one or two byte arguments for the skybox thing used for a speed scalar.. 0 is none (no skybox movement) and 255 is full 1:1 skybox camera movement. You could also have a seperate one for vertical movement. Of course, you might need a skybox anchor point.. placed somewhere on the map, it would be where the skybox thing would center (ie. if the player viewpoint is on the skybox anchor, the skybox viewpoint would be at the skybox viewer).
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Post by Tormentor667 »

@Chris - Exactly, this is how it would work absolutely perfect and how it would be easy enough for us to work with! :)
User avatar
Chilvence
Posts: 1647
Joined: Mon Aug 11, 2003 6:36 pm
Contact:

Post by Chilvence »

Well, this sort of works, only you have to kill the teleport fog because theres no way to turn it off

#include "zcommon.acs"

#define SKYSCALE 0.5
#define SKYX 100
#define SKYY 100
#define SKYZ 150

script 1 enter
{
thing_changetid(0, 1000);
}

script 2 open
{
spawn("MapSpot", FixedMul(GetActorX(1000)+SKYX, SKYSCALE),
FixedMul(GetActorY(1000)+SKYY, SKYSCALE),
FixedMul(GetActorZ(1000)+SKYZ, SKYSCALE),
1001, 0);
delay(3);
Thing_move(128, 1001);
Thing_Destroy(1001);
restart;
}
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Post by Tormentor667 »

Well, thx for the script, chilvence, but as you already said: This creates restrictions and this additional thing method (which won't be too hard to code) might make things much easier!
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Post by Tormentor667 »

Sorry, for bumping but what has happend to this idea?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Nothing, it seems.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

You need to get randy down here on the double!
User avatar
Tormentor667
Posts: 13554
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Post by Tormentor667 »

Well, I don't think that randy hasn't yet read this thread (as far as I know, he reads a lot of requests here), the only thing I need is a comment from him, if he will do it or not :)
Post Reply

Return to “General”