Ru/Worldspawn: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
No edit summary
m ({{Note}} instead of {{Note:ru}})
Line 43: Line 43:


=== All Source games ===
=== All Source games ===
{{KV:ru|Map Description / Title.|string|Описание / заголовок карты. {{note:ru|Мало где используется.}}}}
{{KV:ru|Map Description / Title.|string|Описание / заголовок карты. {{Note|Мало где используется.}}}}
{{KV:ru|SkyBox Texture Name|string|[[Skybox]] текстура. Посмотреть список [[Sky List| стандартных текстур]].}}
{{KV:ru|SkyBox Texture Name|string|[[Skybox]] текстура. Посмотреть список [[Sky List| стандартных текстур]].}}
{{KV:ru|Chapter Title Message|string|Chapter Title that appears onscreen when this level starts.}}
{{KV:ru|Chapter Title Message|string|Chapter Title that appears onscreen when this level starts.}}
Line 63: Line 63:


=== {{Game link|Left 4 Dead 2}} ===
=== {{Game link|Left 4 Dead 2}} ===
{{KV:ru|Время дня|choices|Управляет поведением некоторых специальных заражённых, типо ведьм. {{note:ru|Никак не влияет на освещение. Вам всё еще нужно настраивать [[light_environment]] для того чтобы получить нужный цвет и яркость освещения.}}}}
{{KV:ru|Время дня|choices|Управляет поведением некоторых специальных заражённых, типо ведьм. {{Note|Никак не влияет на освещение. Вам всё еще нужно настраивать [[light_environment]] для того чтобы получить нужный цвет и яркость освещения.}}}}
:* 0 : Midnight (Ночь)
:* 0 : Midnight (Ночь)
:* 1 : Dawn (Рассвет)
:* 1 : Dawn (Рассвет)

Revision as of 11:21, 21 September 2023

English (en)Deutsch (de)Русский (ru)中文 (zh)Translate (Translate)
Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
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)

Worldspawn (или просто "Мир") - это большая одиночная сущность, которая содержит неинтерактивные части карты и некоторые глобальные конфигурации. По-проще:

Some other notes:

  • There can be only one. (Since Hammer doesn't allow worldspawn to be created directly it's very difficult for this rule to be broken.)
  • Damage from the environment and suicide is ordinarily attributed to the world.
  • Constraints can be assigned to worldspawn by not specifying a name for their subject/target.

Смотрите также

Related entities

Список сущностей которые должны быть в одном экземпляре на карте:

Skybox
env_fog_controller (только в играх до Left 4 Dead)
light_environment
shadow_control
env_sun (
Подтвердить:можно ли использовать несколько на одной карте?
)
sky_camera
Optimisation
game_ragdoll_manager
game_weapon_manager
game_gib_manager
water_lod_control
Logic
game_end
info_intermission
env_global

Keyvalues

Template:Tip:ru

All Source games

Map Description / Title. ([todo internal name (i)]) <строка(en)>
Описание / заголовок карты.
Note.pngПримечание:Мало где используется.
SkyBox Texture Name ([todo internal name (i)]) <строка(en)>
Skybox текстура. Посмотреть список стандартных текстур.
Chapter Title Message ([todo internal name (i)]) <строка(en)>
Chapter Title that appears onscreen when this level starts.
Level Fade In ([todo internal name (i)]) <булева переменная(en)>
Fades the map in.
Icon-Bug.pngБаг:The fade is carried out every time the map loads, including when loading from a saved game. Use env_fade instead.  [нужно проверить в ?]
Display Game Title ([todo internal name (i)]) <булева переменная(en)>
Should the game's title appear on-screen when the map starts?
New Level Unit ([todo internal name (i)]) <варианты выбора>
Used to clear out savegame data of previous levels to keep the savegame size as small as possible. Only set it to Yes if the player cannot return to any previous levels.
  • 0 : No, keep current
  • 1 : Yes, clear previous levels
Max occludee area ([todo internal name (i)]) <число с плавающей запятой(en)>
[Used on PC] Prevents occlusion testing for entities that take up more than X% of the screen.
Min occluder area ([todo internal name (i)]) <число с плавающей запятой(en)>
[Used on PC] Prevents occluders from being used if they take up less than X% of the screen.
Max occludee area (Xbox) ([todo internal name (i)]) <число с плавающей запятой(en)>
[Used on 360] Prevents occlusion testing for entities that take up more than X% of the screen.
Min occluder area (Xbox) ([todo internal name (i)]) <число с плавающей запятой(en)>
[Used on 360] Prevents occluders from being used if they take up less than X% of the screen.
Start Fade Pixels ([todo internal name (i)]) <число с плавающей запятой(en)>
Number of pixels wide at which all props in the level start to fade (<0 = use fademaxdist). This number is ignored if the prop has a specific fade distance specified.
End Fade Pixels ([todo internal name (i)]) <число с плавающей запятой(en)>
Minimum number of pixels wide at which the prop is visible (0 = don't fade out). This number is ignored if the prop has a specific fade distance specified.
Detail.vbsp file ([todo internal name (i)]) <строка(en)>
Detail.vbsp file to use for emitting detail props (found in directory <root>/modname)
Detail material file ([todo internal name (i)]) <строка(en)>
Material for detail sprites to use for drawing detail props
World is cold ([todo internal name (i)]) <булева переменная(en)>
If set, Day of Defeat: Source player models will emit breath particles from their mouth attachments. No effect elsewhere.
ResponseContext:
Response Contexts (ResponseContext) <строка(en)>
Pre-defined response system context{s} for this entity. Format is key:value,key:value,... When this entity speaks, the list of keys & values will be passed to the response rules system.

Left 4 Dead 2 Left 4 Dead 2

Время дня ([todo internal name (i)]) <варианты выбора>
Управляет поведением некоторых специальных заражённых, типо ведьм.
Note.pngПримечание:Никак не влияет на освещение. Вам всё еще нужно настраивать light_environment для того чтобы получить нужный цвет и яркость освещения.
  • 0 : Midnight (Ночь)
  • 1 : Dawn (Рассвет)
  • 2 : Morning (Утро)
  • 3 : Afternoon (После полудня)
  • 4 : Dusk (Сумерки)
  • 5 : Evening (Вечер)
Start Music Type ([todo internal name (i)]) <варианты выбора>
Music type of the safe room.
  • 0 : Mission Start
  • 1 : Check Point
Music Post-Fix String ([todo internal name (i)]) <строка(en)>
The musical theme of the map.

Portal 2 Portal 2

Paint in map ([todo internal name (i)]) <булева переменная(en)>
Разрешить краске покрывать поверхности? Установите значение "Нет", чтобы сохранить ресурсы для карт, которые не используют краску.
Max number of blobs ([todo internal name (i)]) <целое число(en)>
Максимальное количество paint blobs. НЕ должно превышать 250.

Inputs

ResponseContext:
AddContext <string>
Добавляет к энтити список связных ответов (в контексте). Формат: <key>:<value>.
RemoveContext <string>
Удаляет контекст из списка энтити. Имя должно совпадать с ключевым названием существующего контекста.
ClearContext
Удаляет весь контекст из списка энтити.