Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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:
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.)
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.
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
Yeah...will post today\tommorow hopefully.
Make sure you compiled VPK file correct, also double check addoninfo.txt . Maybe something missing in there?