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

From Valve Developer Community
Jump to navigation Jump to search
(Created page with 'How do I spawn an M60? I've seen people do it on custom maps.--~~~~')
 
No edit summary
Line 1: Line 1:
How do I spawn an M60? I've seen people do it on custom maps.--[[User:Deaden|Deaden]] 06:05, 6 June 2010 (UTC)
How do I spawn an M60? I've seen people do it on custom maps.--[[User:Deaden|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" []
:--[[User:Barracuda|Barracuda]] 16:35, 6 June 2010 (UTC)

Revision as of 09:35, 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)