Ru/Source SDK Known Issues: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
Line 39: Line 39:
The newest release of Hammer requires that at least on Camera be placed in the map in order for the 3D Views to work. If you are experiencing empty 3D views simply [[Hammer_Camera_Tool|place a camera]] in your map.
The newest release of Hammer requires that at least on Camera be placed in the map in order for the 3D Views to work. If you are experiencing empty 3D views simply [[Hammer_Camera_Tool|place a camera]] in your map.


=== Error when running maps from within a mod (Since 8/4/2006)===
=== Ошибка при запуске карт из мода (С 8/4/2006)===
When attempting to run a map from within Hammer you may come across the following error message:
При попытке запустить карту из Hammer'а, можно встретить следующюю ошибку:


[[Image:MountAppFilesystemFailed.JPG]]
[[Image:MountAppFilesystemFailed.JPG]]


Here is the process for working around this issue until it is addressed in the SDK:
Вот схема действий для того, чтобы обойти этот баг:


# On Hammer's Tools > Options > Build Tools page change the '''Game Executable''' to be:
# В Hammer'е откройте меню Tools > Options > зайдите на вкладку Build Programs, и измените параметр '''Game Executable''' на:
#: <code>$SteamDir\steam.exe</code> instead of <code>$SteamUserDir\half-life 2\hl2.exe</code><br /><br />
#: <code>$SteamDir\steam.exe</code> вместо <code>$SteamUserDir\half-life 2\hl2.exe</code><br /><br />
#: [[Image:SteamFSError-Sol1.JPG]]
#: [[Image:SteamFSError-Sol1.JPG]]
# From the '''Run Map''' dialog, prepend the <code>-applaunch 215</code> parameter for the '$game_exe' command:
# Из диалогового окна '''Run Map''', в конце вставьте параметр <code>-applaunch 215</code> для команды '$game_exe':
#: [[Image:SteamFSError-Sol2.JPG]]
#: [[Image:SteamFSError-Sol2.JPG]]


What this will do is run Steam and instruct it to launch 'Source SDK base' and point it to the map defined by the remainder of the <code>$game_exe</code> parameters. One thing to look out for is that you will need to build the DLL's for your mod before running it.
Это запускает 'Source SDK Base' из Steam'а с параметрами из <code>$game_exe</code>. Единственное, что - Вы должны построить DLL для своего мода прежде чем запускать его.


== SDK code issues ==
== SDK code issues ==

Revision as of 11:24, 8 May 2011

Template:Otherlang2 Template:Totranslate:ru

Info content.png
This page has not been fully translated.
You can help by finishing the translation.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)

Это - список известных и проверенных проблем с Source SDK, а так же способы их решения

Основные Проблемы

Visual Studio 2002 не поддерживается (с 8/4/2006)

В этом релизе SDK Visual Studio 2002 не поддерживается. Приносим извинения, за связанные с этим неудобства.

Однако есть патч, разрешающий VS 2002 компиляцию.

Note.pngПримечание:Этот патч приводится здесь для удобства. Однако Valve не осуществляет его поддержку.

Проблемы с Hammer Editor'ом

Не работают ярлыки с hammer'ом (с 8/4/2006)

В этой версии SDK вы получите сообщение об ошибке, при попытки запустить hammer.exe из директории 'sourcesdk\bin'. Вот лучший способ исправить эту проблему:

  1. Совершите правый клик на Source SDK в меню Tools в Steam.
  2. Выберите Create desktop shortcut.
  3. Добавьте -runhammer в конец командной steam.exe.
    Для примера: C:\Program Files\Valve\Steam\Steam.exe -applaunch 211 -runhammer
  4. Переименуйте ярлык на что-то соответствующие, например "Hammer Editor".

This has the added benefit of actually launching the SDK Launcher before Hammer, making sure it is the latest version.

Note.pngПримечание:Shortcuts for Model Viewer and FacePoser can be created by following the same procedure and replacing -runhammer with one of these command line arguments: -runmodelviewer or -runfaceposer.

3D Lighting Preview View in Hammer causes strange behavior and crashes (Since 8/4/2006)

There is a main menu item for 3D Lighting Preview that should not be exposed at this point. Please do not use it as it does not work.

This issue is addressed and the fix will be available in the next release.

3D View in Hammer appears empty (Since 8/4/2006)

The newest release of Hammer requires that at least on Camera be placed in the map in order for the 3D Views to work. If you are experiencing empty 3D views simply place a camera in your map.

Ошибка при запуске карт из мода (С 8/4/2006)

При попытке запустить карту из Hammer'а, можно встретить следующюю ошибку:

MountAppFilesystemFailed.JPG

Вот схема действий для того, чтобы обойти этот баг:

  1. В Hammer'е откройте меню Tools > Options > зайдите на вкладку Build Programs, и измените параметр Game Executable на:
    $SteamDir\steam.exe вместо $SteamUserDir\half-life 2\hl2.exe

    SteamFSError-Sol1.JPG
  2. Из диалогового окна Run Map, в конце вставьте параметр -applaunch 215 для команды '$game_exe':
    SteamFSError-Sol2.JPG

Это запускает 'Source SDK Base' из Steam'а с параметрами из $game_exe. Единственное, что - Вы должны построить DLL для своего мода прежде чем запускать его.

SDK code issues

Error running a new mod (Since 8/4/2006)

Couldnotloadclient.JPG

In the new SDK it is necessary to build the client and server DLLs before running the mod. Please build them if you see this message when trying to run the mod.

From scratch mod exits when launching from Steam Menu (Since 8/4/2006)

Launching a (Make a mod from scratch) mod from the Steam menu enters the game, shows the game menu, dings, and then exits, no error. Although, launching from a command line works fine.

Well actually it should work fine. Though note that if you have compiled your DLLs in debug mode you have to add -allowdebug to the mod's launch options! The run_mod.bat already adds it.

See also