Template:Fl WeaponSpawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{lang|Template:Fl WeaponSpawn}}
<noinclude>
__NOTOC__
__NOTOC__
This template has a parameter to account that weapon entities between their L4D1 and L4D2 versions have [[FGD]] differences.<br>
This template has a parameter to account that weapon entities between their L4D1 and L4D2 versions have [[FGD]] differences.<br>
Line 7: Line 7:
<hr>
<hr>
</noinclude>
</noinclude>
{{ScrollBox|title=WeaponSpawn|
{{Fl WeaponSpawnSingle}}
{{Fl|4|Absorb any dropped weapon type|only={{l4d2}}}}
{{Fl|4|Absorb any dropped weapon type|only={{l4d2}}}}
{{Fl|131072|Don't cluster with similar items|only={{l4d}}}}
{{Fl|131072|Don't cluster with similar items|only={{l4d}}}}
{{Fl WeaponSpawnSingle}}
{{#ifeq:{{{optionalscavenge|0}}}|0||
{{#ifeq:{{{optionalscavenge|0}}}|0||
{{Fl WeaponSpawnOptionalScavenge}}
{{Fl WeaponSpawnOptionalScavenge}}
}}
}}<noinclude>
}}<noinclude>
[[Category:Flag Templates|WeaponSpawn]]
[[Category:Flag Templates|WeaponSpawn]]
</noinclude>
</noinclude>

Revision as of 07:57, 3 August 2024


This template has a parameter to account that weapon entities between their L4D1 and L4D2 versions have FGD differences.
Parameters:

{{WeaponSpawn|optionalscavenge=1}}

{{{optionalscavenge}}} - Display flags forWeaponSpawnOptionalScavenge.



Enable Physics : [1]
Must Exist : [2]
Infinite items (overrides count) : [8] (only in Left 4 Dead 2)
Absorb any dropped weapon type : [4] (only in Left 4 Dead 2)
Don't cluster with similar items : [131072] (only in Left 4 Dead)