Template:KV WeaponSpawnSingle: Difference between revisions
Jump to navigation
Jump to search
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).
(Template cleanup) |
m (internal names + note) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=WeaponSpawnSingle|noscroll=1| | {{ScrollBox|title=WeaponSpawnSingle|noscroll=1| | ||
{{KV|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.}} | {{KV|Weapon Skin|integer|intn=weapon_skin|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|Glow Range|float|Set a custom glow range for this spawner. 0 means use the default range.}} | {{KV|Glow Range|float|intn=glowrange|Set a custom glow range for this spawner. 0 means use the default range.}} | ||
{{KV|Collisions|choices|Collision box type.}} | {{KV|Collisions|choices|intn=solid|Collision box type.}} | ||
:* 0 : Not Solid | :* 0 : Not Solid | ||
:* 2 : Use Bounding Box | :* 2 : Use Bounding Box | ||
:* 6 : Use VPhysics | :* 6 : Use VPhysics | ||
{{KV BaseEntity|l4d2=1}} | {{KV BaseEntity|l4d2=1}} | ||
{{ | {{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:55, 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
