Upvote Upvoted 3 Downvote Downvoted
Animated Skybox
posted in Customization
1
#1
0 Frags +

I was wondering if it is possible to create an animated skybox to use it in Lawena for example. I've tried to import this gif into Lawena, but it doesn't move and only shows the first frame of the GIF sadly. I feel like I need to use an VMF to tell the game there are multiple frames like in the main menu background, but I have no idea how to apply this for a skybox, if it's even possible at all.

Does anyone have experience with this or any ideas maybe?

I was wondering if it is possible to create an animated skybox to use it in Lawena for example. I've tried to import [url=https://www.teamfortress.tv/post/980501/show-your-hud-modifications]this gif[/url] into Lawena, but it doesn't move and only shows the first frame of the GIF sadly. I feel like I need to use an VMF to tell the game there are multiple frames like in the main menu background, but I have no idea how to apply this for a skybox, if it's even possible at all.

Does anyone have experience with this or any ideas maybe?
2
#2
11 Frags +

what if you made the sky box green and green screened in the gif

what if you made the sky box green and green screened in the gif
3
#3
20 Frags +
YeeHawwhat if you made the sky box green and green screened in the gif

https://www.twitch.tv/kukkye/clip/PowerfulSneakyUdonImGlitch

[quote=YeeHaw]what if you made the sky box green and green screened in the gif[/quote]
https://www.twitch.tv/kukkye/clip/PowerfulSneakyUdonImGlitch
4
#4
7 Frags +

https://youtu.be/KL_i2AmiiLc?t=135

https://youtu.be/KL_i2AmiiLc?t=135
5
#5
1 Frags +
YeeHawwhat if you made the sky box green and green screened in the gif

Yeah that's an option for sure. The reason why I want to try to do it ingame is because I'm not really very experienced with video editing and (if it is possible) I feel like it's easier to only make the skybox once and apply it to every demo, instead of editing it for every clip afterwards with a green screen.

MisterDannyhttps://www.twitch.tv/kukkye/clip/PowerfulSneakyUdonImGlitchdonovinhttps://youtu.be/KL_i2AmiiLc?t=135

The background in these videos isn't really what I'm looking for. What I'm trying to do is using still images in a box just like the ordinary skybox, but on these images I want some stuff to be moving. So the entire skybox/background shouldn't be moving when a player is moving its mouse like in the video, just a static image with something animated within that image.

[quote=YeeHaw]what if you made the sky box green and green screened in the gif[/quote]

Yeah that's an option for sure. The reason why I want to try to do it ingame is because I'm not really very experienced with video editing and (if it is possible) I feel like it's easier to only make the skybox once and apply it to every demo, instead of editing it for every clip afterwards with a green screen.

[quote=MisterDanny]
https://www.twitch.tv/kukkye/clip/PowerfulSneakyUdonImGlitch[/quote]

[quote=donovin]https://youtu.be/KL_i2AmiiLc?t=135[/quote]

The background in these videos isn't really what I'm looking for. What I'm trying to do is using still images in a box just like the ordinary skybox, but on these images I want some stuff to be moving. So the entire skybox/background shouldn't be moving when a player is moving its mouse like in the video, just a static image with something animated within that image.
6
#6
7 Frags +

https://imgur.com/a/CoS87J3

Seems to be possible. Few notes:

  • the texture is white, I have no idea why is it green (something with HDR?)
  • VTF can't be larger than ~55 MB (you'll get missing textures)
  • I just mashed together the animated texture and skybox VMTs, you can probably figure out something better
Show Content
UnlitGeneric
{
$basetexture "skybox/skybox_up"
$hdrbasetexture "skybox/skybox_up"
$vertexcolor 1
$vertexalpha 1
$ignorez 1
$no_fullbright 1
$nofog 1
%keyword ""

Proxies
{
AnimatedTexture
{
animatedtexturevar $basetexture
animatedtextureframenumvar $frame
animatedtextureframerate 24
}
}
}
https://imgur.com/a/CoS87J3

Seems to be possible. Few notes:
[list]
[*] the texture is white, I have no idea why is it green (something with HDR?)
[*] VTF can't be larger than ~55 MB (you'll get missing textures)
[*] I just mashed together the animated texture and skybox VMTs, you can probably figure out something better
[/list]

[spoiler]
UnlitGeneric
{
$basetexture "skybox/skybox_up"
$hdrbasetexture "skybox/skybox_up"
$vertexcolor 1
$vertexalpha 1
$ignorez 1
$no_fullbright 1
$nofog 1
%keyword ""

Proxies
{
AnimatedTexture
{
animatedtexturevar $basetexture
animatedtextureframenumvar $frame
animatedtextureframerate 24
}
}
}
[/spoiler]
7
#7
2 Frags +

Thanks, with your VMT I managed to get the GIF on badlands. It's not very clear in this video but it is moving :) https://imgur.com/a/dIQc1va

As you can see there are still some issues, but it's nice to know that it's possible. Could you maybe share your VTF you used for the skybox? Maybe some of the settings of my VTF are wrong.

Thanks, with your VMT I managed to get the GIF on badlands. It's not very clear in this video but it is moving :) https://imgur.com/a/dIQc1va

As you can see there are still some issues, but it's nice to know that it's possible. Could you maybe share your VTF you used for the skybox? Maybe some of the settings of my VTF are wrong.
8
#8
2 Frags +
TimTumThanks, with your VMT I managed to get the GIF on badlands. It's not very clear in this video but it is moving :) https://imgur.com/a/dIQc1va

As you can see there are still some issues, but it's nice to know that it's possible. Could you maybe share your VTF you used for the skybox? Maybe some of the settings of my VTF are wrong.

For anyone else that wants to use this in the future, the issues go away when you remove some of the lines in the VMT:

Show Content
UnlitGeneric
{
$basetexture "skybox/skybox_up"
$hdrbasetexture "skybox/skybox_up"
$ignorez 1
$nofog 1

Proxies
{
AnimatedTexture
{
animatedtexturevar $basetexture
animatedtextureframenumvar $frame
animatedtextureframerate 24
}
}
}

It works now :) https://imgur.com/a/Fo9YoIo

[quote=TimTum]Thanks, with your VMT I managed to get the GIF on badlands. It's not very clear in this video but it is moving :) https://imgur.com/a/dIQc1va

As you can see there are still some issues, but it's nice to know that it's possible. Could you maybe share your VTF you used for the skybox? Maybe some of the settings of my VTF are wrong.[/quote]

For anyone else that wants to use this in the future, the issues go away when you remove some of the lines in the VMT:

[spoiler]UnlitGeneric
{
$basetexture "skybox/skybox_up"
$hdrbasetexture "skybox/skybox_up"
$ignorez 1
$nofog 1

Proxies
{
AnimatedTexture
{
animatedtexturevar $basetexture
animatedtextureframenumvar $frame
animatedtextureframerate 24
}
}
}[/spoiler]

It works now :) https://imgur.com/a/Fo9YoIo
Please sign in through STEAM to post a comment.