View Single Post
Kerouha
Member
Join Date: Jul 2015
Location: Russian Federation
Old 07-16-2017 , 05:01   Re: Stripper:Source (Updated 2011-04-15)
Reply With Quote #1633

Quote:
Originally Posted by alcybery View Post
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.
Kerouha is offline