This article's documentation is for anything that uses the Source engine. Click here for more information.

Sk/Info target: Difference between revisions

From Valve Developer Community
< Sk
Jump to navigation Jump to search
(Created page with "{{subst:#if: Translation of 'Info target' to 'slovenčina' via Template:LanguageBar buttons...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{subst:#if:|||{{LAuto/t}}
*SEARCH FOR:
\[\[(?!#|File(?:[ _]talk)?:|Image(?:[ _]talk)?:|Media:|Template(?:[ _]talk)?:|MediaWiki(?:[ _]talk)?:|Talk:|Category[ _]talk:|Project[ _]talk:|Valve[ _]Developer[ _]Community[ _]talk:|Help[ _]talk:|User(?:[ _]talk)?:|c:|commons:|Dictionary:|Google:|GoogleGroups:|IMDB:|M:|Meta:|Metawikipedia:|MW:|SdkBug:|SourceForge:|Steampowered:|W:|Wiki:|WikiBooks:|Wikipedia:|Wikiquote:|Wiktionary:|WP:)(:?(?:Category|Category|Help|Project|Valve[ _]Developer[ _]Community|Special|)(?:[^\|\]]+))(\|?.*?)\]\]
*REPLACE WITH:
{{subst:LAuto|$1$2}}
</div>}}{{wip}}{{translate}}
{{LanguageBar}}
{{LanguageBar}}
{{tabs|info_target|goldsrc=1|source=1|main=source}}
{{TabsBar|main=gs|base=info_target}}
{{Preserved entity}}
{{this is a|point entity|name=info_target|sprite=1}}
{{this is a|point entity|name=info_target|sprite=1}}


{{CD|CInfoTarget|base=CPointEntity|file1=beam_shared.cpp}}
{{CD|CInfoTarget|base=CPointEntity|file1=beam_shared.cpp}}
It can be used by many different entities, and is a great generic target for any entity that needs to point, shoot, look at, or walk to a specific target.  
Je použiteľná pre veľa rozličných entít, a je výborný všeobecný cieľ pre rôzne entity, ktoré maju mieritť, strieľať, pozerať na alebo kráčať na určenú pozíciu.


It is primarily used for a target for other entities, similar to an [[info_null]]. An info_null is preferable to use as a point at target for lights, because an info_null is removed on map spawn, whereas an info_target remains. This entity can be placed with the [[Commentary Editor]] for changing the players view angles & position during a commentary.
Je to jej hlavné použitie, a je podobné ako {{ent|info_null}}. Info_null je preferovaný na namierenie svetiel na určenú pozíciu, lebo info_null sa vymaže hneď po spawnutí, zatiaľ čo info_target ostáva. Táto entita môže byť tiež umiestnená pomocou {{L|Commentary Editor|editora komentárov}} pre zmenu uhlov a pozície hráčov počas komentáru vývojára.
{{preservedEnt|info_target}}


== Keyvalues ==
== Keyvalues ==
Line 22: Line 13:


== Flags ==
== Flags ==
{{fl|1|Transmit to client (respect PVS)}}
{{fl|1|Transmit to client (respect PVS)|Doručuj klientovi (zohľadni PVS)}}
{{fl|2|Always transmit to client (ignore PVS)|since={{L4D2}}}}
{{fl|2|Always transmit to client (ignore PVS)|Vždy doručuj klientovi (ignoruj PVS)|since={{L4D2}}}}


== See Also ==
== Pozri aj ==
* {{ent|info_particle_target}}
* {{ent|info_particle_target}}
* {{ent|info_target_instructor_hint}}
* {{ent|info_target_instructor_hint}}

Latest revision as of 12:55, 9 May 2025

English (en)Slovenčina (sk)中文 (zh)Translate (Translate)
Recycle-warning.png
Toto je prezervovaná entita(en) v Counter-Strike: SourceHalf-Life 2: DeathmatchDay of Defeat: SourceTeam Fortress 2Left 4 DeadPortal 2Counter-Strike: Global Offensive
Ak hra má mechanizmus ako resetovať kolo tak to môže spôsobiť problémy(en).
Info target.png

info_target je point entita(en) dostupná v každej hre, používajúcej Source Source.

C++ Hierarchia tried
CInfoTarget
CPointEntity
CBaseEntity
C++ beam_shared.cpp

Je použiteľná pre veľa rozličných entít, a je výborný všeobecný cieľ pre rôzne entity, ktoré maju mieritť, strieľať, pozerať na alebo kráčať na určenú pozíciu.

Je to jej hlavné použitie, a je podobné ako info_null. Info_null je preferovaný na namierenie svetiel na určenú pozíciu, lebo info_null sa vymaže hneď po spawnutí, zatiaľ čo info_target ostáva. Táto entita môže byť tiež umiestnená pomocou editora komentárov(en) pre zmenu uhlov a pozície hráčov počas komentáru vývojára.

Keyvalues

See also:  Generic Keyvalues, Inputs and Outputs available to all entities
Name(en) (targetname) <string(en)>
Meno, ktoré iné entity použijú ak treba referovať na túto entitu.

Flags

Transmit to client (respect PVS) : [1]
Doručuj klientovi (zohľadni PVS)
Always transmit to client (ignore PVS) : [2] (vo všetkých hrách od vydania Left 4 Dead 2)
Vždy doručuj klientovi (ignoruj PVS)

Pozri aj