Template:WeaponSpawn: Difference between revisions
Jump to navigation
Jump to search
m (just a little more before my unhealthy frenzy ends: WeaponSpawnOptionalScavenge added to this template as a parameter, and small documentation) |
m (displayed {{Fl WeaponSpawnOptionalScavenge}} for this page) |
||
Line 10: | Line 10: | ||
== Flags == | == Flags == | ||
{{Fl WeaponSpawn}} | {{Fl WeaponSpawn}}{{#if:{{{optionalscavenge|}}}|{{Fl WeaponSpawnOptionalScavenge}}}} | ||
{{#if:{{{optionalscavenge|}}}|{{Fl WeaponSpawnOptionalScavenge}}}} | <noinclude> | ||
{{Fl WeaponSpawnOptionalScavenge}} | |||
</noinclude> | |||
== Inputs == | == Inputs == |
Revision as of 03:21, 18 March 2021
As weapon spawn entities in L4D1 and L4D2 has FGD differences, this template has a parameter to use.
By doing this:
{{WeaponSpawn|optionalscavenge=1}}
The keys forWeaponSpawnOptionalScavenge
are displayed.
Keyvalues
- Count (count) <integer>
- Max number of weapons given before disappearing.
- Weapon Skin (weaponskin) <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.
- Glow Range (glowrange) <float>
- Set a custom glow range for this spawner. 0 means use the default range.
- Glow Backface Multiple (glowbackfacemult) <float> (only in
) !FGD
- 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.
Flags
- Enable Physics : [1]
- Must Exist : [2]
- Add to director scavenge list : [65536]
- Todo: What does this flag mean?