Advertisement
MrFunreal

L4D2 Hammer - Adding Carryable items

Jan 20th, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 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.
  3.  
  4. @BaseClass color(0 0 200) base(Targetname, Angles, Weapon) = WeaponSpawnCarry
  5. [
  6. skin(integer) : "Skin" : 0 : "Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default."
  7.  
  8. solid(choices) : "Collisions" : 6 =
  9. [
  10. 0: "Not Solid"
  11. 2: "Use Bounding Box"
  12. 6: "Use VPhysics"
  13. ]
  14.  
  15. ]
  16.  
  17. @PointClass base(WeaponSpawnCarry) studioprop("models/props_junk/gascan001a.mdl") = weapon_gascan : "Gas Can" []
  18. @PointClass base(WeaponSpawnCarry) studioprop("models/props_equipment/oxygentank01.mdl") = weapon_oxygentank : "Oxygen Tank" []
  19. @PointClass base(WeaponSpawnCarry) studioprop("models/props_junk/propanecanister001a.mdl") = weapon_propanetank : "Propane Tank" []
  20. @PointClass base(WeaponSpawnCarry) studioprop("models/props_junk/explosive_box001.mdl") = weapon_fireworkcrate : "Firework Crate" []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement