Talk:L4D2 Level Design/Weapon and Item Spawning: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
  @PointClass base(WeaponSpawn) studioprop("models/w_models/weapons/w_m60.mdl") = weapon_rifle_m60_spawn : "M60 Rifle" []
  @PointClass base(WeaponSpawn) studioprop("models/w_models/weapons/w_m60.mdl") = weapon_rifle_m60_spawn : "M60 Rifle" []
:--[[User:Barracuda|Barracuda]] 16:35, 6 June 2010 (UTC)
:--[[User:Barracuda|Barracuda]] 16:35, 6 June 2010 (UTC)
::Okay, thank you. --[[User:Deaden|Deaden]] 20:30, 6 June 2010 (UTC)

Revision as of 13:30, 6 June 2010

How do I spawn an M60? I've seen people do it on custom maps.--Deaden 06:05, 6 June 2010 (UTC)

Until Valve refreshes the FGD file for L4D2, you can add this line to SteamApps\common\left 4 dead 2\bin\left4dead2.fgd:
@PointClass base(WeaponSpawn) studioprop("models/w_models/weapons/w_m60.mdl") = weapon_rifle_m60_spawn : "M60 Rifle" []
--Barracuda 16:35, 6 June 2010 (UTC)
Okay, thank you. --Deaden 20:30, 6 June 2010 (UTC)