weapon_{{{weapon}}}_spawn

From Valve Developer Community
< Template:WeaponSpawnL4D
Revision as of 10:23, 21 April 2025 by Alexiscoutinho (talk | contribs) (→‎Outputy: Substituted IO templates)
Jump to navigation Jump to search


Warning icon.png
This template has been marked as a candidate for speedy deletion because it is unused.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If 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 / Moderators - Remember to check if anything links here and the page history before deleting.

[[File:|thumb|300x450px|{{ File: }}]]

C++ Hierarchia tried
???
CWeaponSpawn
CItem
CBaseAnimating
CBaseEntity

weapon_{{{weapon}}}_spawn je point entita(en) dostupná v Left 4 Dead sériaLeft 4 Dead séria Left 4 Dead séria. Určuje pozíciu kde sa môže objaviť {{{weapon}}}.

Flagy

Enable Physics : [1]
Povoliť fyziku
Must Exist : [2]
Musí existovať
Infinite items (overrides count) : [8] (iba v Left 4 Dead 2)
Nekonečné množstvo

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.
Count (count) <integer(en)>
Maximálne množstvo zobratí predtým než zmizne
Weapon Skin (weaponskin) <integer(en)>
Niektoré zbrane majú viacero verzií ich textúr, nazývané skiny. Nastav túto hodnotu na číslo iné ako -1 aby táto zbraň mala iný skin ako prednastavený.
Glow Range (glowrange) <float(en)>
Nastav vlastný dosah pre "svietiaci obrys" (glow) tohto spawneru. 0 znamená použi prednastavené.
Glow Backface Multiple (glowbackfacemult) <float(en)> (iba v Left 4 Dead 2) !FGD
Ak má tento objekt glow , vynásob silu tohto efektu touto hodnotou na stranách objektu, ktoré sú odvrátené od pozerajúceho hráča.

Outputy

OnItemSpawn  (iba v Left 4 Dead)
Spustí sa ak tento objekt sa objaví v leveli. Ak je táto vec vymazaná počas spawnovacej fáze tak tento output sa nespustí.

Tiež pozri