Saving and Compiling: Difference between revisions
Line 62: | Line 62: | ||
[[Category:Level Design Tutorials]] | [[Category:Level Design Tutorials]] | ||
==Что я еще могу узнать?== | ==Что я еще могу узнать?== | ||
Если вы хотите узнать другие (базовые) параметры, посмотрите категорию [[:Category:Level Design|Level Design Category]], на данной странице вы найдете большинство тутоларов которые помогут вам в разработке и дизайне уровней! | Если вы хотите узнать другие (базовые) параметры, посмотрите категорию [[:Category:Level Design|Level Design Category]], на данной странице вы найдете большинство тутоларов которые помогут вам в разработке и дизайне уровней! |
Revision as of 18:33, 26 February 2008
The final stage of making a level is saving and compiling it. A map must be compiled to run it in the Source Engine.
Saving the map
First, let’s save this map:
- Click the File menu.
- As this is your first time saving this map, we will need to give it a name, so choose Save As....
- A Save As... dialog will open. Type the name of your map into the File Name field:
Warning:You cannot include any spaces in the filename.
- Half-Life 2: Deathmatch maps should have the
dm_
prefix before their map names so that they can easily be recognized.
- Click the Save button to save the map to disk.
The map is saved in the .VMF file format.

Compiling the map
You have saved your map, but you will also need to compile it before it can be played in the game engine.
When a map is compiled, it is converted from the raw .VMF file that you just saved, into the .BSP format used by the game engine. The geometry is processed and the proper lighting and shadows are pre-calculated with several compile programs.
Open the File menu, and choose Run Map....
The Run Map dialog will open.

This dialog is used to set some basic compile parameters.
- Make sure that Normal is set under the Run BSP, Run VIS, and Run RAD settings.
- Under Additional game parameters:, type:
-dev -console +sv_lan 1
- See Additional game parameters if you wish to learn more about these settings.
- Now click the OK button to start the map compile process.
The Compile Process Window will show the progress of the compile. When the compilation is done, the game you are mapping for will automatically launch, and load your map in the engine.

Here's a shot of the compiled map in-game. It isn’t much to look at yet, but it has the basic pieces you need to get started making your own maps.
Congratulations, you’ve made your first map!
Where do I go from here?
Now that you know the basics, look at the Level Design Category page for a list of articles and tutorials on different level design topics.
If you're having problems, you may wish to consult the Level Design FAQ.
Что я еще могу узнать?
Если вы хотите узнать другие (базовые) параметры, посмотрите категорию Level Design Category, на данной странице вы найдете большинство тутоларов которые помогут вам в разработке и дизайне уровней!
Если у вас есть вопросы или же какие-то проблемы, вы можете проконсультироваться на Level Design FAQ.
Перевел: G-Freman