Template:WeaponSpawnL4D/sk: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "__NOEDITSECTION__ {{WeaponSpawnL4D/image}} {{CD|{{{class|???}}}|{{#if:{{{class|}}}|x|base}}=CWeaponSpawn}} {{this is a | point entity | name=weapon_{{{weapon}}}_spawn | {{#if:...")
 
m (→‎Outputy: Substituted IO templates)
 
(3 intermediate revisions by one other user not shown)
Line 7: Line 7:
| {{#if: {{{l4d2only|}}}|game|series}}={{#if: {{{l4d2only|}}}|Left 4 Dead 2|Left 4 Dead}}
| {{#if: {{{l4d2only|}}}|game|series}}={{#if: {{{l4d2only|}}}|Left 4 Dead 2|Left 4 Dead}}
| nocat = {{#if:{{NAMESPACE}}|1|0}}
| nocat = {{#if:{{NAMESPACE}}|1|0}}
}} It is possible spawn point for {{{fancy_name|{{{weapon}}}}}}. {{{description_add|}}}
}} Určuje pozíciu kde sa môže objaviť {{{fancy_name|{{{weapon}}}}}}. {{{description_add|}}}
__NOTOC__
__NOTOC__
== Flags ==
== Flagy ==
{{Fl|1|Enable Physics}}<!--
{{Fl|1|Enable Physics|Povoliť fyziku}}<!--
-->{{Fl|2|Must Exist}}<!--
-->{{Fl|2|Must Exist|Musí existovať}}<!--
-->{{#if: {{{isweapon|}}}|
-->{{#if: {{{isweapon|}}}|
{{Fl|4|Absorb any dropped weapon type|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}
{{Fl|4|Absorb any dropped weapon type|Absorbuj hocijakú vyhodenú zbraň|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}
|}}
|}}
{{Fl|8|Infinite items (overrides count)|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}<!--
{{Fl|8|Infinite items (overrides count)|Nekonečné množstvo|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}<!--
-->{{#if: {{{optionalscavenge|}}}|
-->{{#if: {{{optionalscavenge|}}}|
{{Fl|65536|Add to director scavenge list|only={{l4d}}}}
{{Fl|65536|Add to director scavenge list|Pridaj do scavenge zoznamu director|aonly={{l4d}}}}
:{{todo|What does this flag mean?}}
:{{todo|Čo to znamená?}}
|}}<!--
|}}<!--
-->{{#if: {{{l4d2only|}}} ||
-->{{#if: {{{l4d2only|}}} ||
{{#if: {{{isweapon|}}}|{{Fl|131072|Don't cluster with similar items|only={{l4d}}}}|}}}}
{{#if: {{{isweapon|}}}|{{Fl|131072|Don't cluster with similar items|Nezgrupuj s podobnými vecami|only={{l4d}}}}|}}}}


== Keyvalues ==  
== Keyvalues ==  
{{KV Targetname}}
{{KV Targetname}}
{{KV|Count|integer|intn=count|Max number of weapons given before disappearing.}}
{{KV|Count|integer|intn=count|Maximálne množstvo zobratí predtým než zmizne}}
{{KV|Weapon Skin|integer|intn=weaponskin|Some weapons have multiple versions of their textures, called skins. Set this to a number other than -1 to make the given weapon use that skin instead of the default.}}
{{KV|Weapon Skin|integer|intn=weaponskin|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ý.}}
{{KV|Glow Range|float|intn=glowrange|Set a custom glow range for this spawner. 0 means use the default range.}}
{{KV|Glow Range|float|intn=glowrange|Nastav vlastný dosah pre "svietiaci obrys" (glow) tohto spawneru. 0 znamená použi prednastavené.}}
{{KV|Glow Backface Multiple|intn=glowbackfacemult|float|nofgd=1|If this object has a glow effect, multiply the effect by this much on the sides of the object that are facing away from the viewer.|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}
{{KV|Glow Backface Multiple|intn=glowbackfacemult|float|nofgd=1|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.|only={{#if: {{{l4d2only|}}}||{{l4d2}}}}}}


{{#if: {{{l4d2only|}}}||
{{#if: {{{l4d2only|}}}||
== Outputs ==
== Outputy ==
{{IO|OnItemSpawn|Fired if this object is spawned on the map. If the weapon is removed during the weapon spawn pass, this will not fire.|only={{l4d}}}}
{{O|OnItemSpawn|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í.|only={{l4d}}}}
}}{{{section1|}}}
}}{{{section1|}}}


== See Also ==
== Tiež pozri ==
{{{seealso_add|}}}
{{{seealso_add|}}}
* {{#if: {{{isweapon|}}}|{{ent|weapon_spawn}}|{{ent|weapon_item_spawn}}}}
* {{#if: {{{isweapon|}}}|{{ent|weapon_spawn}}|{{ent|weapon_item_spawn}}}}
Line 41: Line 41:
* {{ent|info_map_parameters_versus}}
* {{ent|info_map_parameters_versus}}
* {{ent|weapon_{{{weapon}}}}}
* {{ent|weapon_{{{weapon}}}}}
<includeonly>
[[Category:Weapons]]
[[Category:Left 4 Dead 2 Weapons]]
{{#if: {{{l4d2only|}}}||[[Category:Left 4 Dead Weapons]]}}
</includeonly>

Latest revision as of 11:23, 21 April 2025

[[File:|right|thumb|300px|{{ 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