Raised This Month: $51 Target: $400
 12% 

Weapons list not working


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
deadmau54
AlliedModders Donor
Join Date: May 2013
Old 05-02-2014 , 09:00   Weapons list not working
Reply With Quote #1

Hey, I made this list where every weapon that can be australium, gets australium attributes, but for some reason it doesn't work. Can anybody help?

Code:
"custom_weapons_v3"
{
	"*"
	{
        "13" //Scattergun
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}

        "45" //Force-A-Nature
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "18" //Rocket Launcher
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "228" //Black Box
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "21" //Flame Thrower
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "38" //Axtinguisher
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "19" //Grenade Launcher
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "20" //Stickybomb Launcher
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "132" //Eyelander
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}

        "15" //Minigun
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "424" //Tomislav
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "141" //Frontier Justice
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "7" //Wrench
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"2027 ; 1"
            "2"             "542 ; 1"
		}
        "38" //The Blutsauger
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"16 ; 3"
            "2"             "129 ; 2"
		}
        "29" //Medigun
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"16 ; 3"
            "2"             "129 ; 2"
		}
        "14" //Sniper Rifle
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"16 ; 3"
            "2"             "129 ; 2"
		}
        "16" //SMG
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"16 ; 3"
            "2"             "129 ; 2"
		}
        "61" //The Ambassador
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"16 ; 3"
            "2"             "129 ; 2"
		}
        "4" //Knife
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"16 ; 3"
            "2"             "129 ; 2"
		}
        "264" //Frying Pan
		{
			"quality"		"4"
			"level"	        "100"
			"admin-flags"	"a"
			"1"				"16 ; 3"
            "2"             "129 ; 2"
		}
	}
}
Also, why does all other attributes from weapon gets removed? Does anybody know how to keep current attributes on weapon when adding new ones?
__________________

Last edited by asherkin; 05-02-2014 at 10:58.
deadmau54 is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-02-2014 , 11:22   Re: Weapons list not working
Reply With Quote #2

What version of tf2items you using? if it's 1.6.0 hg builds, then add this into the config for each weapon: preserve_attributes 1
Also you want them to be just australiam or turn ppl into gold on a kill?
Also 129 is health drain.
WildCard65 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode