Es/Source SDK Files and Directory Structure: Difference between revisions
No edit summary |
(Contenido_uno ("content one") was a "lost page" > converting and moving to Source_SDK_Files_and_Directory_Structure:es due to similarities) |
||
Line 1: | Line 1: | ||
{{totranslate}} | |||
With the latest SDK release, the default directory structure will be changed to remove the restriction of having to save your game content into the \sourcesdk directory tree. This document explains how the Source SDK directory structure is set up. | |||
= La estructura de directorio explicada = | |||
The SDK directory structure is now set up so that game content directories are separated from game sources directories. | |||
* <i>Game content</i> files are the actual files necessary to run the game — textures, maps, models, etc. | |||
* <i>Game sources</i> are the files that are used to create that game content (the "source" of the game content). | |||
This table explains some of the different game content and game source file types in the SDK: | |||
{| | {| | ||
Line 76: | Line 21: | ||
|- | |- | ||
|<code>.SCN .SMD .QC</code> || Codigo fuente de los modelos. || <code>sourcesdk_content\<nombre del juego>\modelsrc</code> | |<code>.SCN .SMD .QC</code> || Codigo fuente de los modelos. || <code>sourcesdk_content\<nombre del juego>\modelsrc</code> | ||
|- | |- | ||
| <code>.BSP</code> || Mapa ya compilado. || <code><nombre del juego>\maps</code> | | <code>.BSP</code> || Mapa ya compilado. || <code><nombre del juego>\maps</code> | ||
Line 100: | Line 29: | ||
|<code>.MDL .VTX</code> || Modelos ya compilado. || <code><nombre del juego>\models</code> | |<code>.MDL .VTX</code> || Modelos ya compilado. || <code><nombre del juego>\models</code> | ||
|} | |} | ||
The following image shows the default locations for these files and folders: | |||
[[Image:developer-contentfolders.jpg]] | |||
{| | {| | ||
| '''Steam Install Directory''' || The location where you've installed Steam. | |||
|- | |- | ||
| | | '''Game Content''' || The game content is here, with all the files necessary to run each game under each game directory. | ||
|- | |- | ||
| | | '''SDK Tools''' || The location of the applications necessary to create and compile SDK content. | ||
|- | |- | ||
| | | '''Content Sources''' || Directories for each of the types of game content sources are here, with a set of directories for each game you want to create content for. '''SDK sample content is also stored here.''' | ||
|} | |} | ||
= Ejemplos de usar esta estructura de directorio SDK = | |||
Here are some practical examples of how this structure is used: | |||
== Compilación de un mapa de CS:S: == | |||
# Launch the '''Hammer''' level editor, which is launched from the '''SDK Tools Directory'''. | |||
# Save the map as a .VMF into the <code>cstrike\mapsrc</code> directory, which is under '''Content Sources'''. | |||
# Compile the map inside Hammer. The map is compiled as a .BSP and automatically placed in the <code>cstrike\maps</code> '''Game Content''' directory. | |||
== Creación de una textura para Half-Life 2: Deathmatch: == | |||
# Create a texture in an image editing application, and save it as a .TGA in the <code>hl2mp\materialsrc</code> directory, which is under '''Content Sources'''. | |||
# Compile the texture with [[Vtex|Vtex.exe]], which is in the '''SDK Tools Directory'''. | |||
# The texture is compiled as a [[VTF]] file and automatically placed in the <code>hl2mp\materials</code> '''Game Content''' directory. | |||
# Create the [[VMT]] material file with a text editor, and save it in the <code>hl2mp\materials</code> '''Game Content''' directory. | |||
== creación de un modelo para Half-Life 2: == | |||
# Create a model in Softimage|XSI EXP, and export it as an .SMD in the <code>hl2\modelsrc</code> directory, which is under '''Content Sources'''. | |||
# Create the .QC model definition file with a text editor, and save it in the <code>hl2\modelsrc</code> directory, which is under '''Content Sources'''. | |||
# Compile the model with <code>Studiomdl.exe</code>, which is in the '''SDK Tools''' Directory. | |||
# The model is compiled as a .MDL and automatically placed in the <code>hl2\models</code> '''Game Content''' directory. | |||
For in-depth descriptions of these procedures, see the appropriate section of the Source SDK Documentation. | |||
{{otherlang:es}} | |||
{{otherlang:es:en|Source_SDK_Files_and_Directory_Structure}}, | |||
{{otherlang:es:fr|Source_SDK_Files_and_Directory_Structure:fr}}, | |||
{{otherlang:es:jp|Source_SDK_Files_and_Directory_Structure:jp}}, | |||
{{otherlang:es:zh-tw|Source_SDK_Files_and_Directory_Structure:zh-tw}}. | |||
[[Category:Source_SDK_FAQ:es]] |
Revision as of 17:27, 23 January 2008
With the latest SDK release, the default directory structure will be changed to remove the restriction of having to save your game content into the \sourcesdk directory tree. This document explains how the Source SDK directory structure is set up.
La estructura de directorio explicada
The SDK directory structure is now set up so that game content directories are separated from game sources directories.
- Game content files are the actual files necessary to run the game — textures, maps, models, etc.
- Game sources are the files that are used to create that game content (the "source" of the game content).
This table explains some of the different game content and game source file types in the SDK:
Tipo de archivo | Descripción | Localización |
---|---|---|
.VMF |
Codigo fuente de los mapas. | sourcesdk_content\<nombre del juego>\mapsrc
|
.TGA .TXT |
Codigo fuente de las texturas. | sourcesdk_content\<nombre del juego>\materialsrc
|
.SCN .SMD .QC |
Codigo fuente de los modelos. | sourcesdk_content\<nombre del juego>\modelsrc
|
.BSP |
Mapa ya compilado. | <nombre del juego>\maps
|
.VMT .VTF |
Texturas ya compilado. | <nombre del juego>\materials
|
.MDL .VTX |
Modelos ya compilado. | <nombre del juego>\models
|
The following image shows the default locations for these files and folders:
Steam Install Directory | The location where you've installed Steam. |
Game Content | The game content is here, with all the files necessary to run each game under each game directory. |
SDK Tools | The location of the applications necessary to create and compile SDK content. |
Content Sources | Directories for each of the types of game content sources are here, with a set of directories for each game you want to create content for. SDK sample content is also stored here. |
Ejemplos de usar esta estructura de directorio SDK
Here are some practical examples of how this structure is used:
Compilación de un mapa de CS:S:
- Launch the Hammer level editor, which is launched from the SDK Tools Directory.
- Save the map as a .VMF into the
cstrike\mapsrc
directory, which is under Content Sources. - Compile the map inside Hammer. The map is compiled as a .BSP and automatically placed in the
cstrike\maps
Game Content directory.
Creación de una textura para Half-Life 2: Deathmatch:
- Create a texture in an image editing application, and save it as a .TGA in the
hl2mp\materialsrc
directory, which is under Content Sources. - Compile the texture with Vtex.exe, which is in the SDK Tools Directory.
- The texture is compiled as a VTF file and automatically placed in the
hl2mp\materials
Game Content directory. - Create the VMT material file with a text editor, and save it in the
hl2mp\materials
Game Content directory.
creación de un modelo para Half-Life 2:
- Create a model in Softimage|XSI EXP, and export it as an .SMD in the
hl2\modelsrc
directory, which is under Content Sources. - Create the .QC model definition file with a text editor, and save it in the
hl2\modelsrc
directory, which is under Content Sources. - Compile the model with
Studiomdl.exe
, which is in the SDK Tools Directory. - The model is compiled as a .MDL and automatically placed in the
hl2\models
Game Content directory.
For in-depth descriptions of these procedures, see the appropriate section of the Source SDK Documentation.
Template:Otherlang:es Template:Otherlang:es:en, Template:Otherlang:es:fr, Template:Otherlang:es:jp, Template:Otherlang:es:zh-tw.