Advertisement
MrFunreal

L4D2 Hammer - Fix Melee_Weapon_Spawn

Dec 26th, 2017
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. @include "left4dead2.fgd"
  2. //If you already have a fgd file that adds custom content, paste the lines below into your existing one. But make sure you have the above line once at the very top of your custom fgd file.
  3.  
  4. @PointClass base(WeaponSpawn) studioprop() = weapon_melee_spawn : "Melee Weapon"
  5. [
  6. melee_weapon(string) : "Melee Weapon" : "any" : "Options: 'Any' or a comma-delimited string of melee weapon script names. Leave blank for none. Usable names are: golfclub, fireaxe, frying_pan, machete, baseball_bat, crowbar, cricket_bat, tonfa, katana, electric_guitar, Or any custom melee weapons you made."
  7. model(studio) : "Helper Model" : "models/weapons/melee/w_crowbar.mdl" : "ONLY for visual aid. Actual model in game is set by the 'Melee Weapon' String"
  8. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement