Weapon rifle sg552 spawn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-added class hierarchy, cleanup)
mNo edit summary
Line 9: Line 9:
== Flags ==
== Flags ==
{{Fl|1|Enable Physics}}
{{Fl|1|Enable Physics}}
{{Fl|2|Must Exist}}
{{Fl|4|Absorb any dropped weapon type}}
{{Fl|4|Absorb any dropped weapon type}}
{{Fl|2|Must Exist}}
{{Fl|8|Infinite items (overrides count)}}
{{Fl|8|Infinite items (overrides count)}}



Revision as of 10:42, 8 November 2022

C++ Class hierarchy
CWeaponrifle_sg552Spawn
CWeaponSpawn
CItem
CBaseAnimating
CBaseEntity

Template:L4d2 point Is a possible spawn point for the SG552 assault rifle, with ability to zoom.
Originally this weapon, ported from Counter-Strike: Source, was exclusive to German players using the Censored version until it was made available for everyone in the "Last Stand" update (September 2020).

Keyvalues

Count (count) <integer>
Max number of weapons given before disappearing.
Weapon Skin (weapon_skin) <integer>
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.

Flags

Enable Physics : [1]
Must Exist : [2]
Absorb any dropped weapon type : [4]
Infinite items (overrides count) : [8]

See Also