Ru/Env citadel energy core: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
{{stray ent|{{portal2}}}}
{{stray ent|{{portal2}}}}


==Flags==
==Флаги==
{{fl|1|No small particles}}
{{fl|1|No small particles}}
{{fl|2|Start on}}
{{fl|2|Start on}}

Revision as of 06:12, 22 January 2025

Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

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)
English (en)Русский (ru)Translate (Translate)
C++ Классовая структура
CCitadelEnergyCore
CBaseEntity
C++ citadel_effects.cpp

env_citadel_energy_core - это точечная энтити(en), доступно для Half-Life 2 Half-Life 2, Half-Life 2: Episode One Half-Life 2: Episode One, Half-Life 2: Episode Two Half-Life 2: Episode Two и Half-Life 2: Deathmatch Half-Life 2: Deathmatch.

Не следует путать с prop_coreball (The reactor core ball from Episode One) или prop_combine_ball (Citadel/AR2 energy balls).
A Citadel Energy Core with Particles

Это простой эффект частиц, который не отображается на видном месте, но часто используется в Цитадели(en). Чаще всего он используется в устройствах для конфискации оружия и «некоторых» устройствах для транспортировки энергетических шаров.

Они также используются в лифтах и нестационарных платформах в Portal Portal.

Note.pngПримечание:This entity is also in the code for Portal 2. Its functionality is not guaranteed.


Флаги

No small particles : [1]
Start on : [2]

Keyvalues

Name(en) (targetname) <объект источник(en)>
Имя объекта, по которому другие объекты могут ссылаться на этот объект, через Входы/Выходы(en) или другие ключ-параметры(en) (например parentname или target).
Также отображаются на 2D-видах в Hammer и Отчёте об объектах (Entity Report)(en).
См. также:  Основные ключ-параметры, входы и выходы доступные для всех объектов

Scale (scale) <число с плавающей запятой(en)>
Масштаб эффекта. 1 - размер по умолчанию, 2 - в два раза больше и.т.д.

Inputs

StartCharge <число с плавающей запятой(en)>
Запуск эффекта зарядки ядра в течение указанного количества секунд.
StartDischarge
Запуск эффекта рязрядки ядра.
Stop <число с плавающей запятой(en)>
Заставляет частицы исчезать в течение заданного количества секунд.