De/Releasing A Portal 2 Map: Difference between revisions
< De
		
		
		
		Jump to navigation
		Jump to search
		m (Nesciuse moved page Releasing A Portal 2 Map:de to De/Releasing A Portal 2 Map over redirect: -Language prefixes)  | 
				m (Using L template for links)  | 
				||
| Line 8: | Line 8: | ||
Now that you have made your brilliant map you need a way to get this out to the public. If your map happens to have custom content such as sounds, scripts and materials the best way to release it is putting it inside a   | Now that you have made your brilliant map you need a way to get this out to the public. If your map happens to have custom content such as sounds, scripts and materials the best way to release it is putting it inside a {{L|VPK}}. This collects all of your content into a single file and makes it easy to distribute.  | ||
== Creating the VPK ==    | == Creating the VPK ==    | ||
| Line 18: | Line 18: | ||
# The same applies for <code>sounds</code> and <code>materials</code>.  | # The same applies for <code>sounds</code> and <code>materials</code>.  | ||
# Inside '<code>Portal 2\bin\</code>' there is an executable called '<code>vpk.exe</code>'. Drag your folder you created in step 1 onto this executable.  | # Inside '<code>Portal 2\bin\</code>' there is an executable called '<code>vpk.exe</code>'. Drag your folder you created in step 1 onto this executable.  | ||
# You will now have a .  | # You will now have a .{{L|VPK}} file in the same folder with the same name.  | ||
{{tip|As an added convenience, a folder can also be dragged onto a shortcut of '<code>vpk.exe</code>' (provided in Portal 2) in any location.}}  | {{tip|As an added convenience, a folder can also be dragged onto a shortcut of '<code>vpk.exe</code>' (provided in Portal 2) in any location.}}  | ||
| Line 31: | Line 31: | ||
== See also ==  | == See also ==  | ||
*   | * {{L|L4D2 Campaign Add-on Tutorial}}  | ||
== External links ==  | == External links ==  | ||
Revision as of 05:29, 11 July 2024
Du hast bereits Deine Map kompiliert und damit eine .bsp-Datei erzeugt. Diese kannst Du jetzt auf den bekannten Portal-Community-Seiten hochladen, damit andere Spieler sie spielen können. Wenn Deine Map zusätzliche Dateien zum Laufen benötigt, zum Beispiel ein eigenes Transition-Script, dann lade diese zusammen mit der .bsp hoch und füge sicherheitshalber eine Installationsanweisung für unerfahrene Spieler bei.
Now that you have made your brilliant map you need a way to get this out to the public. If your map happens to have custom content such as sounds, scripts and materials the best way to release it is putting it inside a VPK. This collects all of your content into a single file and makes it easy to distribute.
Creating the VPK
- Create a folder and label it with your addon name.
 - This folder should now mimic the structure of the '
Portal 2\portal2\' folder. - Start with adding a folder called 
mapsand add in your compiled .BSP. - If you have any scripts be sure it lies in the same relative folder inside 
scripts\vscripts. - The same applies for 
soundsandmaterials. - Inside '
Portal 2\bin\' there is an executable called 'vpk.exe'. Drag your folder you created in step 1 onto this executable. - You will now have a .VPK file in the same folder with the same name.
 
vpk.exe' (provided in Portal 2) in any location.Installing the VPK
- Create a folder in '
Portal 2\portal2\' calledaddons. 
- If you have the Sixense MotionPack DLC, you will most likely have to create the folder in '
Portal 2\portal2_sixense.' 
- Place your .VPK file inside the 
addonsfolder. - If Portal 2 was running during step 2, type the following in the console: 
update_addon_paths. Otherwise, skip to the next step. - To load a single player map, type in the console: 
map mymapand replace mymap with the name of your map. - To load a Co-op map, start a Co-op game with your friend, once you enter the hub type in console: 
changelevel mymapreplace mymap with the name of your map.