Mixing Game Content: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Otherlang2 -> lang, formatting, and rewording.)
mNo edit summary
Line 1: Line 1:
{{lang|Mixing Game Content}}
{{lang|Mixing Game Content}}
'''It is not advisable to mix game content if you wish to run your work on all players’ machines.''' This is because there is no guarantee that the person downloading your work has installed all the games required, and so there is no guarantee that your prospective player has all the game assets content installed. Instead use game content from different [[Source]] games
'''It is not advisable to mix game content if you wish to run your work on all players’ machines.'''


If a material is missing, then it will be replaced with a purple and black checkered texture. If a prop model is missing, it will be replaced with the words ERROR displayed as a large red model. Other content may cause your work to not run. For example, you can not use the M4 Carbine in a {{game name|hl2|name=Half-Life 2}} singleplayer mod because there is no way of ensuring that the people who play your mod also have {{game name|css|name=Counter-Strike: Source}} installed and fully updated. Players who lack the needed files will get an error, and not be able to play your mod.
This is because there is no guarantee that the person downloading your work has installed all the games required, and so there is no guarantee that your prospective player has all the game assets content installed. Instead use game content from different {{source|4}} games.


This is especially important when creating content which will be auto-downloaded from a multiplayer game server, or creating content for existing mods (e.g. a Counter-Strike map). It is, of course, less important when creating a single-player mod, since it will be possible to warn a player ahead of time what the requirements will be for running your mod.
If a [[material]] is missing, then it will be replaced with a purple and black checkered texture. If a prop model is missing, it will be replaced with the words ERROR displayed as a large red model. Other content may cause your work to not run. For example, you can not use the M4 Carbine in a {{hl2|4}} singleplayer mod because there is no way of ensuring that the people who play your [[modification|mod]] also have {{css|4}} installed and fully updated. Players who lack the needed files will get an error, and not be able to play your mod.


For world models and textures that are map-specific, you can package them into a distributable map with [[Bspzip|BSPzip]] or another equivalent. These tools will save the required materials into a compiled map so the source material does not have to previously exist on a client's computer. This, however, will significantly increase the map size, and for singleplayer mods that re-use textures and models, it's far more efficient to simply package in the required materials that all maps can reference.
This is especially important when creating content which will be auto-downloaded from a multiplayer game server, or creating content for existing mods (e.g. a {{cs|4}} map). It is, of course, less important when creating a single-player mod, since it will be possible to warn a player ahead of time what the requirements will be for running your mod.


== See also ==
For world models and textures that are map-specific, you can package them into a distributable map with [[BSPZIP]] or another equivalent. These tools will save the required materials into a compiled map so the source material does not have to previously exist on a client's computer. This, however, will significantly increase the map size, and for singleplayer mods that re-use textures and models, it's far more efficient to simply package in the required materials that all maps can reference.
* [[Gameinfo.txt#Mounting content]]
 
==See also==
* [[Missing content]]
* [[Gameinfo.txt#FileSystem]]


[[Category:Modding]]
[[Category:Modding]]
[[Category:Level Design FAQ]]
[[Category:Level Design FAQ]]

Revision as of 00:25, 13 May 2022

English (en)Translate (Translate)

It is not advisable to mix game content if you wish to run your work on all players’ machines.

This is because there is no guarantee that the person downloading your work has installed all the games required, and so there is no guarantee that your prospective player has all the game assets content installed. Instead use game content from different Source Source games.

If a material is missing, then it will be replaced with a purple and black checkered texture. If a prop model is missing, it will be replaced with the words ERROR displayed as a large red model. Other content may cause your work to not run. For example, you can not use the M4 Carbine in a Half-Life 2 Half-Life 2 singleplayer mod because there is no way of ensuring that the people who play your mod also have Counter-Strike: Source Counter-Strike: Source installed and fully updated. Players who lack the needed files will get an error, and not be able to play your mod.

This is especially important when creating content which will be auto-downloaded from a multiplayer game server, or creating content for existing mods (e.g. a Counter-Strike Counter-Strike map). It is, of course, less important when creating a single-player mod, since it will be possible to warn a player ahead of time what the requirements will be for running your mod.

For world models and textures that are map-specific, you can package them into a distributable map with BSPZIP or another equivalent. These tools will save the required materials into a compiled map so the source material does not have to previously exist on a client's computer. This, however, will significantly increase the map size, and for singleplayer mods that re-use textures and models, it's far more efficient to simply package in the required materials that all maps can reference.

See also