Template:PreservedEnt: Difference between revisions
Jump to navigation
Jump to search
Deprecated:This template has been deprecated by {{preserved entity}} on the English pages. {{PreservedEnt}} will continue to be used on the German, Russian, and Chinese pages until {{preserved entity}} and the relevant portions of s_PreserveEnts are are translated into those languages.
When it is time to fully deprecate this template, it may be desirable to move {{PreservedEnt/switch}}, as the new template still uses that.
(Created page with "{{warning|In some/all multiplayer games, this entity will intentionally not reset itself to its default properties (including position) when a new round beg...") |
SirYodaJedi (talk | contribs) No edit summary |
||
(42 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ | [[Category:Templates]] | ||
{{ulf|en=1|de=1|ru=1|zh=1}} | |||
<nowiki>{{SUBPAGENAME}}</nowiki> is automatically filled as first parameter if it's not specified | |||
{{deprecated|This template has been deprecated by {{t|preserved entity}} on the English pages. {{t|PreservedEnt}} will continue to be used on the German, Russian, and Chinese pages until {{t|preserved entity}} and the relevant portions of [[s_PreserveEnts]] are are translated into those languages.<br>When it is time to fully deprecate this template, it may be desirable to move {{t|PreservedEnt/switch}}, as the new template still uses that.}} | |||
{| class=wikitable | |||
! Wikitext !! Result | |||
|- | |||
| <nowiki>{{PreservedEnt | player}} </nowiki> | |||
| {{PreservedEnt|player}} | |||
|} | |||
<includeonly> | |||
<onlyinclude>{{#switch: {{language}} | |||
|#default={{important|This is a [[s_PreserveEnts|preserved entity]]{{#ifeq:{{{1}}}|all|| in {{PreservedEnt/switch|{{{1|{{lcfirst:{{SUBPAGENAMEE}}}}}}}}}}}.<br>If the game has round restart mechanics this entity may not behave as expected: | |||
{{expand|noborder=1|title=More info| | |||
* On a new round entities with this classname will '''intentionally not reset'''. You can use {{ent|logic_auto}} to emulate resetting it. | |||
* [[Kill|Killing]] it removes it forever, as '''it is not respawned''' on a new round. | |||
* It cannot be spawned with a {{ent|point_template}}. | |||
* Parenting this with non-preserved entities may have [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|undesirable effects]]. | |||
}}}} | |||
|de={{Note|{{#if: {{{1|}}} | {{#ifeq: {{{1}}} | 0 | Dies ist | {{{1}}} ist dies}} | In manchen/allen Multiplayer-Spielen ist dies}} ein {{L|s_PreserveEnts|aufbewahrtes Objekt}}. | |||
* Zu jedem Rundenbeginn werden die Eigenschaften dieses Objektes (einschließlich Position) '''absichtlich nicht zurückgesetzt'''. {{Workaround:de|Wenn dies ein Problem ist, lässt sich mit {{ent|logic_auto}} das Zurücksetzen simulieren.}} | |||
* <code>{{L|Kill}}</code>en entfernt das Objekt für immer, da es zu Rundenbeginn '''nicht respawnt'''. | |||
* Es kann nicht mit {{ent|point_template}} instanziiert werden. | |||
}} | |||
|ru={{Note|Это {{L|s_PreserveEnts|сохраняемый объект}} в {{PreservedEnt/switch|{{{1|{{SUBPAGENAME}}}}}}}. | |||
* В новом раунде игры состояние объектов данного класса '''намеренно не обновляется'''. Вы можете использовать {{ent|logic_auto}} для осуществления принудительного сброса. | |||
* <tt>Уничтожение ({{L|Kill}})</tt> такого объекта выполняется окончательно, так как он '''не восстанавливается''' в новом раунде. | |||
* Такой объект нельзя создать через {{ent|point_template}}. | |||
* Наследование таких объектов с другими классами объектов приведёт к [[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|нежелательным последствиям]]. | |||
}} | |||
|zh={{Note|在 {{PreservedEnt/switch|{{{1|{{SUBPAGENAME}}}}}}} 中,这是一个{{L|s_PreserveEnts|保留实体(preserved entity)}}。 | |||
* 在新一轮中,它'''不会故意将自己重置'''为其默认属性(包括位置)。{{workaround|如果这是一个问题,你可以采用 [[logic_auto]] 实体模拟重置它。}} | |||
* 通过<code>{{L|Kill}}</code>杀死它会永远移除它,因为它'''不会在新一轮重生'''。 | |||
* 它不能用 {{ent|point_template}} 生成。 | |||
* 把这个实体与非保留实体绑定可能会导致[[Counter-Strike Source Entity Overview#Counter-Strike Round Restarts|不良影响]]。 | |||
}}}}<!-- | |||
-->{{#if: {{NAMESPACE}}|| <!-- only if the namespace is empty, so especially not in templates | |||
-->{{ACategory|Round-Preserved Entities}}<!-- | |||
-->}}<!-- | |||
--></onlyinclude> | |||
</includeonly> |
Latest revision as of 10:57, 9 May 2025
{{SUBPAGENAME}} is automatically filled as first parameter if it's not specified

When it is time to fully deprecate this template, it may be desirable to move {{PreservedEnt/switch}}, as the new template still uses that.
Wikitext | Result | |
---|---|---|
{{PreservedEnt | player}} | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() If the game has round restart mechanics this entity may not behave as expected:
|