Weapon melee (Left 4 Dead 2): Difference between revisions
Jump to navigation
Jump to search

(-note) |
m (Classifying as model entity) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{TabsBar|main=Weapon melee}} | |||
{{ent not in fgd|nolink=1}} | {{ent not in fgd|nolink=1}} | ||
{{CD|CTerrorMeleeWeapon}} | {{CD|CTerrorMeleeWeapon}} | ||
{{entity| | {{this is a|model entity|name=weapon_melee|notitlechange=1|game=Left 4 Dead 2}} Held melee weapon. To spawn melee weapons in a map use [[weapon_melee_spawn]] or [[weapon_item_spawn]] | ||
== Keyvalues == | == Keyvalues == | ||
Line 8: | Line 9: | ||
:{{important|Will spawn the melee properly only if the melee is specified in the current map's [[L4D2_Mission_Files|mission file]].}} | :{{important|Will spawn the melee properly only if the melee is specified in the current map's [[L4D2_Mission_Files|mission file]].}} | ||
== See | == See also == | ||
* [[weapon_melee_spawn]] | |||
* [[weapon_item_spawn]] | |||
* [[Weapon script]] | |||
* [[weapon_cs_base]] | * [[weapon_cs_base]] | ||
Latest revision as of 04:36, 19 May 2025


![]() |
---|
CTerrorMeleeWeapon |
weapon_melee
is a model entity available in Left 4 Dead 2. Held melee weapon. To spawn melee weapons in a map use weapon_melee_spawn or weapon_item_spawn
Keyvalues
- Melee script name (melee_script_name) <string>
- Name of a melee script (without file extension). Scripts are defined in
scripts/melee/
Important:Will spawn the melee properly only if the melee is specified in the current map's mission file.