Contagion

Contagion

Design the Zombie Apocalypse you always imagined.
Find your favorite and/or the latest maps, add-ons, and more to download. Using our Contagion SDK and Steam Workshop page it's now easy to share with friends and the rest of the community.
Learn More
Animated wallpapers
I need some help getting my wallpaper to be animated:happy_creep:
< >
Showing 1-6 of 6 comments
CRY FOR ME 7 27 Jun, 2015 @ 2:42pm 
Do you have each frame of the animated sequence ready? Have you put the appropriate lines into the .vmt file? Imported all frames into a .vtf? What point are you at, in other words?
[Noisefan744] 4 27 Jun, 2015 @ 6:03pm 
Right now im trying to get the animated background from a gif and i dont really know how to get it to a vtf thats animated
CRY FOR ME 7 27 Jun, 2015 @ 6:14pm 
When you're importing, just select all the images in the sequence at once. It will import all selected images as an animated sequence. Make sure to choose Animated Texture in the options, although I'm pretty sure that's default. Then you'll need to add the animation code to the corresponding .vmt file, as such:
"AnimatedTexture"
{
"animatedTextureVar" "$basetexture"
"animatedTextureFrameNumVar" "$frame"
"animatedTextureFrameRate" "15"
}

Take note of the frame rate and factor that in while creating your animation.
Place your .vtf and .vmt together in the appropriate folder structure accompanied by your addon.txt file and pack it all into a .vpk. Stuff that .vpk up your addons folder and you're ready to rock.
CRY FOR ME 7 27 Jun, 2015 @ 6:17pm 
Wait, are you saying you just have a .gif and you don't have the individual frames? You're going to have to save each frame from that .gif via Photoshop or some other program first if you haven't broken it apart yet. And you should probably save each frame as a Targa file. Also, make sure to name each frame sequentially. Like Pic_01, Pic_02, Pic_03, etc.
Last edited by CRY FOR ME; 27 Jun, 2015 @ 6:18pm
[Noisefan744] 4 27 Jun, 2015 @ 6:20pm 
I get what im doing now, also ive split up the gif to seperate images
CRY FOR ME 7 27 Jun, 2015 @ 6:20pm 
Originally posted by Davy Jones:
I get what im doing now, also ive split up the gif to seperate images
Excellent. Good luck, it sounds like you'll be fine.
< >
Showing 1-6 of 6 comments
Per page: 1530 50