Template:KV WeaponSpawnSingle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (internal names + note)
m (added missing minititle)
Line 7: Line 7:
:* 6 : Use VPhysics
:* 6 : Use VPhysics
{{KV BaseEntity|l4d2=1}}
{{KV BaseEntity|l4d2=1}}
{{minititle|Studiomodel}}
{{note|While this entity has Studiomodel keyvalues (World Model, etc.), They don't actually work! Instead, change the entity to another entity (e.g. [[weapon_pain_pills_spawn]]) so the model changes, then Undo (CTRL+Z).}}
{{note|While this entity has Studiomodel keyvalues (World Model, etc.), They don't actually work! Instead, change the entity to another entity (e.g. [[weapon_pain_pills_spawn]]) so the model changes, then Undo (CTRL+Z).}}
}}<noinclude>
}}<noinclude>
[[Category:Keyvalue Templates|WeaponSpawnSingle]]
[[Category:Keyvalue Templates|WeaponSpawnSingle]]
</noinclude>
</noinclude>

Revision as of 01:58, 18 March 2021

WeaponSpawnSingle:
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.
Glow Range (glowrange) <float>
Set a custom glow range for this spawner. 0 means use the default range.
Collisions (solid) <choices>
Collision box type.
  • 0 : Not Solid
  • 2 : Use Bounding Box
  • 6 : Use VPhysics

Studiomodel:

Note.pngNote:While this entity has Studiomodel keyvalues (World Model, etc.), They don't actually work! Instead, change the entity to another entity (e.g. weapon_pain_pills_spawn) so the model changes, then Undo (CTRL+Z).