Template:I BaseEntity:ru

From Valve Developer Community
Jump to: navigation, search
English (en)русский (ru)中文 (zh)
... Icon-Important.png
Info content.png
This page has not been fully translated.

You can help by finishing the translation.

Also, please make sure the article tries to comply with the alternate languages guide.

This template is our holder for all inputs assigned through CBaseEntity. The template has a very specific syntax that you must follow to apply properly, because new games have added new features throughout the years. See Help:Templates for more info on named parameters.

{{I BaseEntity}}

No parameters: display inputs for ALL games.

{{I BaseEntity|base=1}}

Base: display inputs that have only existed since whatever game added the class (most have existed since HL2, the first Source game).

{{I BaseEntity|l4d2=1}}

Game as a parameter: display the inputs that base displays, AND inputs that were added to the class, by the specified game. You can specify as many games as needed. You must specify ALL the games you want to include (e.g. l4d2 will not automatically include l4d inputs as well).

All parameters for this template:

  • base
  • l4d2
  • as
  • prel4d - (DEPRECATED 9/28/18: This parameter existed to hide DispatchEffect for games (ones before l4d) that did not have it. There's many cases of similar inputs and keyvalues that aren't in absolutely everything, and making similar parameters for all of those simply isn't worth the trouble, especially considering having to comb through every existing use of those templates. Parameter is totally removed from code and affects nothing.)
Note.pngNote:If you want to edit something on this template, please make sure you edit it in both places. Per-game inputs are duplicated, for complex technical reasons.

For full documentation on this family of templates, see FGD Template Prototype. Still confused on something? Ask for help before editing this template.

  • noscroll – tells the template not to scroll.
Note.pngNote:Some CBaseEntity inputs are not covered here. See the talk page.


Base:
Kill
Удаляет эту сущность и любые сущности, связанные с ней, из мира.
KillHierarchy
Функционирует так же, как Kill , хотя этот объект и любые связанные с ним объекты уничтожаются в одном кадре..
SetParent  <строка>
Двигаться с этой сущностью. Смотрите Иерархия энтитей.
SetParentAttachment  <строка>
Измените эту сущность, чтобы присоединить ее к определенной точке attachment English его источника. Сущность будет телепортироваться к источнику, чтобы положение ее корня bone English совпадало с положением attachment. Субъекты должны быть источниками перед отправкой этого ввода.
SetParentAttachmentMaintainOffset  <строка>
Как и выше сказанное, но без телепортации. Сущность сохраняет свою позицию относительно attachmentво время получения ввода.
ClearParent
Удаляет эту сущность из иерархии движения, оставляя ее свободной для самостоятельного перемещения..
AddOutput  <строка>
Оценивает ключевое значение/вывод для этой энтити..
Формат: <key> <value>
Формат: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1 до FireUser4
Поджечь OnUser outputs; Смотрите Пользовательские Входы и выходы.
Use  Отсутствует в FGD! English
То же, что игрок, вызывающий +use English; может ничего не делать. Может также вызываться путем создания вывода, в котором не указан ввод.
Этот ввод не включен в Valve. FGDs English.
DispatchEffect  <строка> Отсутствует в FGD! English
Отправляет специальный эффект от позиции ентити . Удалено и полностью заменено системой particle, так какLeft 4 Dead.
DispatchResponse  <строка> Отсутствует в FGD! English
Отправляет ответ сущности. Смотрите Response English а также Concept English.
AddContext  <строка>
Добавляет в список объекта response contexts English. Формат <key>:<value>.
RemoveContext  <строка>
Remove a context from this entity's list. The name should match the key of an existing context.
ClearContext  <строка>
Removes all contexts from this entity's list.
RunScriptFile  <скрипт> (Во всех играх начиная с Left 4 Dead 2)
Execute a VScript file from disk, without file extension. The script contents are merged with the script scope of the receiving entity.
RunScriptCode  <строка> (Во всех играх начиная с Left 4 Dead 2)
Execute a string of VScript source code in the scope of the entity receiving the input. String quotation may be needed when fired via console.
Warning icon.png
This template has been marked as a candidate for speedy deletion because it has been deprecated.
If you object to this decision, then please discuss why hereIf this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators - Remember to check if anything links here and the page history (last edit) before deleting.
Warning.pngWarning:Never try to pass строка parameters to a script function with this input. It will corrupt the VMF English structure because of the nested quotation marks, which then must be removed manually with a text editor.
CallScriptFunction  <строка> (Во всех играх начиная с Left 4 Dead 2) Отсутствует в FGD! English
Execute a VScript function in the scope of the receiving entity.
SetLocalOrigin  <coordinates English> (Во всех играх начиная с Alien Swarm) Отсутствует в FGD! English
Send this entity to a spot in the map. If the entity is parented to something, it will be offset from the parent by this amount.
SetLocalAngles  <angles English> (Во всех играх начиная с Alien Swarm) Отсутствует в FGD! English
Set this entity's angles.