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
Aluca 3 20 May, 2014 @ 2:10pm
How to make a custom phone background?
I see alot of custom phone backgrounds on the workshop, but I cannot find a definitive answer on how to make one. If someone could help me out, it would be appreciated.
< >
Showing 1-15 of 19 comments
Orphanage 2 20 May, 2014 @ 3:06pm 
Dont get surprised if I havent answered at your question on my workshop item. I never respond there, only deleting non-english commentaries.

Anyways, first of all, you need to choose image that you like, then resize it to 512x512(paint can help you), save it to .bmp\jpg or whatever(better to jpg). Then, go ahead and open VTFedit program. When you are in VTFedit, click "File">"Import">choose the image with 512x512 size. Once you've done with that part, click "Save As..." and name it as "background01". File format must be in .vtf ! Once you've done with this stuff, we are moving to next ones. Create the folder. Call it however you like.(If you planned to post your item in workshop, then name it properly.)
Open your new folder, in new folder create another new folder and name it as "materials", get in that materials folder, create another folder and name it as "vgui". Get in vgui folder and create last folder and name it as "objective". Once you've done with this one, grab your new background01.vtf and drop it in objective folder. Now, 2 more steps.

Head to the vgui folder. Your new objective is, you will have to create an preview of your background. Make a screenshot of your new background or something and resize it to 256x256, then save it as background.vtf file. Once you've done with that, drop that new 256x256.vtf file into "vgui" folder. Last thing is, you need to create an ".vmt" file. Personally, I am using standart text from .vmt file. Create an textfile and write down:

Originally posted by background.vmt:
UnlitGeneric
{
$basetexture "vgui/background"
$vertexcolor "1"
$vertexalpha "1"
$translucent "1"
$ignorez "1"
$no_fullbright "1"
}

When you are done with that, press "File">"Save as..." and name it as "background.vmt".



Now head back to your first created folder. Create textfile and name it as "addoninfo".
Open that textfile. Write down next stuff.(Some stuff might be useless, but thats what I am using at this moment.)

Originally posted by addonsinfo.txt:
AddonsInfo
{
addonSteamAppID "238430"
addonTitle "My personal background."
addonDescription "This is my personal background for my phone"
addonImage "background"
addonURL0(optional, doesnt shows in game)
addonAuthor "Your nickname"
}
Save it.
Drag your created folder with stuff into Contagion>contagion>addons folder.

Now, when you are done with all that stuff, you'll need to package that stuff right into .vpk file. Its simple.
To create a .vpk you must open the contagion/addons folder and your Steam/SteamApps/Common/Contagion/bin folder. Once you have both windows open and the vpk.exe visible, simply drag your add-on folder that is inside the contagion/addons folder into the vpk.exe. You will then see a quick command window and a .vpk file with the name of your add-on will appear in the same folder as your add-on folder that is inside the contagion/addons base folder.

And thats it, I guess. Might be hard a little to understand(half asleep), but hopefully you wont get any troubles here.
Open your Contagion game>head to "Extras">addons>enable your new addon.
Last edited by Orphanage; 20 May, 2014 @ 3:09pm
76561198137267652 20 May, 2014 @ 3:29pm 
very intresting
Bsabbath325 21 May, 2014 @ 10:41am 
Didn't work. "ORIONN`1.VPK" is not a valid Source Engine add-on. Installation Failed.
even if I do the vpx convert without click it, it still doesn't show in Exta<addons
Last edited by Bsabbath325; 21 May, 2014 @ 11:02am
Clone303 21 Jun, 2014 @ 2:54pm 
that looks dam hard to make
Orphanage 2 21 Jun, 2014 @ 5:57pm 
Originally posted by Clone303:
that looks dam hard to make
Its pretty much easy, but I can make a video if youll need it.
Gadman 21 Jun, 2014 @ 8:39pm 
Originally posted by John:
Didn't work. "ORIONN`1.VPK" is not a valid Source Engine add-on. Installation Failed.
even if I do the vpx convert without click it, it still doesn't show in Exta<addons

make sure the "addoninfo.txt" is in the same folder as the "materials" folder, not in the "materials" folder.

Had that same mix up
battle2525 23 Jun, 2014 @ 11:28am 
Thanks Orphanage! Works great. I made one for personal use, the same background my real cell phone is using. :)
Frühling 7 Jul, 2014 @ 12:35pm 
Originally posted by Orphanage:
Originally posted by Clone303:
that looks dam hard to make
Its pretty much easy, but I can make a video if youll need it.
Could you make a video please..
Orphanage 2 7 Jul, 2014 @ 7:12pm 
Originally posted by Fruhling In Paris:
Originally posted by Orphanage:
Its pretty much easy, but I can make a video if youll need it.
Could you make a video please..

Yeah...will post today\tommorow hopefully.
Riel 1 Sep, 2014 @ 1:01am 
Sorry for reviving an old thread, i followed all these steps and the wallpapers are working however when i go into the addons section it shows multiple copys of the tutorial map and doesnt show my wallpaper mod. nothing threatening to the game just something that has been bugging me. anyway to fix this?
TioBF 1 Sep, 2014 @ 5:25am 
I've done it and it works, try doing it all over again
Orphanage 2 1 Sep, 2014 @ 5:58am 
Originally posted by Meshire:
Sorry for reviving an old thread, i followed all these steps and the wallpapers are working however when i go into the addons section it shows multiple copys of the tutorial map and doesnt show my wallpaper mod. nothing threatening to the game just something that has been bugging me. anyway to fix this?

Make sure you compiled VPK file correct, also double check addoninfo.txt . Maybe something missing in there?
poleruj@wp.pl 2 2 Sep, 2014 @ 5:44am 
i have the same problem with meshire, for some reason my first file worked perfectly(except for name dupe glitch) but when i try to do the other files it doesnt work like meshire says. And i may've think i compiled the VPK file correctly but i just followed your instructions, there is nothing missing.
Last edited by poleruj@wp.pl; 2 Sep, 2014 @ 5:44am
Syko 1 3 Sep, 2014 @ 11:00am 
Originally posted by Orphanage:
Originally posted by Clone303:
that looks dam hard to make
Its pretty much easy, but I can make a video if youll need it.
Please do. That can help expand the Workshop
Bsabbath325 29 Sep, 2014 @ 3:04pm 
Mine ended up randomly showing up on my phone after a patch update for some reason
< >
Showing 1-15 of 19 comments
Per page: 1530 50