Quote:
Originally Posted by alcybery
It's not working, magnum spawns just disappear. Any ideas what I'm doing wrong?
|
Try this.
Code:
modify:
{
match:
{
"classname" "weapon_pistol_magnum_spawn"
}
replace:
{
"classname" "weapon_melee_spawn"
"count" "1" ;amt of times this can be picked up
}
insert:
{
"melee_weapon" "any" ;instead of writing each melee weapon name
}
delete:
{
"model" "models/w_models/weapons/w_pistol_1911.mdl"
}
}
"spawnflags" "3" will make your melee weapons always appear on the map (ignoring director), and also make them physical (so they may slide/roll/fall from their initial coordinates), you might not want that.
Changing "disableshadows" is not necessary too.
"targetname" "weapons_scavenge" will most likely make this item disappear in any gamemode but Scavenge, so you better leave it unmodified.