Ru/VBSP: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
m (otherlangs2)
(translated a little more)
Line 44: Line 44:
: Обновляет только static и detail props (например, internal entities). Не генерирует .prt файл (making VVIS fail).
: Обновляет только static и detail props (например, internal entities). Не генерирует .prt файл (making VVIS fail).
; <code>-glview</code>
; <code>-glview</code>
: Writes [[glview]] data to the VMF's directory. <code>-tmpout</code> will cause the files will be written to <code>\tmp</code> instead.
: Записывает [[glview]] данные в директорию VMF. При использовании <code>-tmpout</code>, файлы будут записаны в <code>\tmp</code>.
; <code>-nodetail</code>
; <code>-nodetail</code>
: Убирает [[func_detail]] браши. Оставшаяся геометрия та, что влияет на видимость.
: Убирает [[func_detail]] браши. Остаётся только геометрия влияющая на видимость.
; <code>-nowater</code>
; <code>-nowater</code>
: Избавляется от брашей воды.
: Избавляется от брашей воды.
Line 62: Line 62:
{{ColumnBox|count=2|
{{ColumnBox|count=2|
; <code>-novconfig</code>
; <code>-novconfig</code>
: Don't bring up graphical UI on vproject errors.
: Не открывать графический интерфейс при ошибках vproject.
; <code>-threads</code>
; <code>-threads</code>
: Control the number of threads vbsp uses (defaults to the # of processors (times 2 for Hypertreading/SMT CPU's) on your machine).
: Контролирует количество используемых потоков (threads) (по-умолчанию — количество процессоров (x2 для процессоров с Hypertreading/SMT) на вашем компьютере).
; <code>-verboseentities</code>
; <code>-verboseentities</code>
: If -v is on, this disables verbose output for submodels.
: If -v is on, this disables verbose output for submodels.
Line 102: Line 102:
: Dump static props to staticprop*.txt
: Dump static props to staticprop*.txt
; <code>-dumpcollide</code>
; <code>-dumpcollide</code>
: Write files with collision info.
: Записывает файлы с информацией о коллизиях.
; <code>-luxelscale #</code>
; <code>-luxelscale #</code>
: Scale all lightmaps by this amount (default: 1.0).
: Scale all lightmaps by this amount (default: 1.0).
Line 108: Line 108:
: Force lightmaps to be generated for all surfaces even if they don't need lightmaps.
: Force lightmaps to be generated for all surfaces even if they don't need lightmaps.
; <code>-localphysx</code>
; <code>-localphysx</code>
: {{todo|Currently unknown.}}
: {{todo:ru|Currently unknown.}}
; <code>-keepstalezip</code>
; <code>-keepstalezip</code>
: Keep the BSP's zip files intact but regenerate everything else.
: Keep the BSP's zip files intact but regenerate everything else.
Line 117: Line 117:
}}
}}


== Nonfunctional Options ==
== Нефункциональные параметры ==


; <code>-linuxdata</code>
; <code>-linuxdata</code>

Revision as of 13:30, 18 November 2017

Template:Otherlang2

Template:Finishtranslation:ru

VBSP — это инструмент, который компилирует сырой VMF файл в файл формата Binary Space Partition. Обычно за ним следуют VVIS и VRAD.

Что делает VBSP:

Не смотря на то что результирующий BSP файл уже может быть использован, он не имеет контроля видимости (низкая производительность) и освещения.

Template:Bug:ru

Синтаксис

vbsp [options...] vmf_file

Пример:

"Half-Life 2\bin\vbsp.exe" -onlyents sdk_trainstation_01

Это повторно встроит entity block без влияния на остальной мир.

Основные параметры

Template:Note:ru

-v
-verbose
Включает подробный вывод (также показывает больше параметров командной строки). Используется без каких-либо других параметров.
-onlyents
Импортирует из VMF только entities. Браши и internal entities не изменяются. Сохраняет текущие данные освещения.
-onlyprops
Обновляет только static и detail props (например, internal entities). Не генерирует .prt файл (making VVIS fail).
-glview
Записывает glview данные в директорию VMF. При использовании -tmpout, файлы будут записаны в \tmp.
-nodetail
Убирает func_detail браши. Остаётся только геометрия влияющая на видимость.
-nowater
Избавляется от брашей воды.
-low
Run as an idle-priority process.
-vproject <directory>
Override the VPROJECT environment variable.
-game <directory>
Определяет папку с файлом gameinfo.txt
-embed <directory>
Встраивает содержание <directory> в packfile

Расширенные параметры

-novconfig
Не открывать графический интерфейс при ошибках vproject.
-threads
Контролирует количество используемых потоков (threads) (по-умолчанию — количество процессоров (x2 для процессоров с Hypertreading/SMT) на вашем компьютере).
-verboseentities
If -v is on, this disables verbose output for submodels.
-noweld
Don't join face vertexes together.
-nocsg
Don't chop out intersecting brush areas.
-noshare
Emit unique face edges instead of sharing them.
-notjunc
Don't fixup t-junctions.
-noopt
By default, vbsp removes the 'outer shell' of the map, which are all the faces you can't see because you can never get outside the map. -noopt disables this behavior.
-noprune
Don't prune neighboring solid nodes.
-nomerge
Don't merge together chopped faces on nodes.
-nomergewater
Don't merge together chopped faces on water.
-nosubdiv
Don't subdivide faces for lightmapping.
-micro <#>
vbsp will warn when brushes are output with a volume less than this number (default: 1.0).
-fulldetail
Mark all detail geometry as normal geometry (so all detail geometry will affect visibility).
-leaktest
Stop processing the map if a leak is detected. Whether or not this flag is set, a leak file will be written out at <vmf filename>.lin, and it can be imported into Hammer.
-bumpall
Force all surfaces to be bump mapped.
-snapaxial
Snap axial planes to integer coordinates.
-block # #
Control the grid size mins that vbsp chops the level on.
-blocks # # # #
Enter the mins and maxs for the grid size vbsp uses.
-dumpstaticprops
Dump static props to staticprop*.txt
-dumpcollide
Записывает файлы с информацией о коллизиях.
-luxelscale #
Scale all lightmaps by this amount (default: 1.0).
-lightifmissing
Force lightmaps to be generated for all surfaces even if they don't need lightmaps.
-localphysx
Template:Todo:ru
-keepstalezip
Keep the BSP's zip files intact but regenerate everything else.
-replacematerials
Substitute materials according to materialsub.txt in content\maps
-FullMinidumps
Write large minidumps on crash.

Нефункциональные параметры

-linuxdata
Force it to write physics data for linux multiplayer servers. ( It will automatically write this data if it finds certain entities like info_player_terrorist, info_player_deathmatch, info_player_teamspawn, info_player_axis, or info_player_coop. )
-nolinuxdata
Force it to not write physics data for linux multiplayer servers, even if there are multiplayer entities in the map.
-virtualdispphysics
Use virtual (not precomputed) displacement collision models
-xbox
Enable mandatory Xbox 1 optimisation.

См. также