Left 4 Dead 2

Left 4 Dead 2

View Stats:
swei_la98 May 3, 2020 @ 12:16am
How to spawn laser sights and css weapons in hammer?
Cant seem to find them in the hammer entity menu.
< >
Showing 1-2 of 2 comments
[FoRcE]army_guy3 May 3, 2020 @ 3:46am 
Laser sights can be spawned with the "upgrade_spawn" class.

"laser_sight" should be 1.

"upgradepack_explosive" should be 0.

"upgradepack_incendiary" should be 0.


In flags the "Spawned Item Must Exist" flag should be checked if you want it to always be there.




Adding CSS weapons is a bit more tricky. By default they don't precache model or weapon data. This means you need to manually precache them in vscripts for them to work properly in your map.

They also aren't in the FGD file by default.

https://steamcommunity.com/sharedfiles/filedetails/?id=1685639284

This is a guide with some useful information on the subject matter.
swei_la98 May 3, 2020 @ 6:09am 
big thanks :cozybethesda:
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 3, 2020 @ 12:16am
Posts: 2