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
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{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 {{L|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 {{L|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 14: 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