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

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
rthompson
Member
Join Date: Oct 2010
Old 07-16-2011 , 15:28   * * and preserve-attributes doens't seem to work
#981

Code:
"custom_weapons_v3"
{
   "*"
   {
       "*"   //ALL ITEMS 
       {
        "admin-flags"     "a"
        "level"       "27"
        "preserve-attributes"   "1"
        "1"        "150 ; 1"
       }
    }
}
Sorry but this doesn't work
rthompson is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 07-17-2011 , 04:35   Re: TF2Items - Items with custom attributes.
#982

still no 1.4.7?
__________________
napalm00 is offline
tomteat
Junior Member
Join Date: Jul 2011
Old 07-17-2011 , 05:36   Re: TF2Items - Items with custom attributes.
#983

I'm having a problem. I have multiple things in my cfg, and they ALL work but only if I leave them in separately (on their own). The error is: KeyValues Error: LoadFromBuffer: missing { in file addon\sourcemod\configs\tf2items.weapons.txt

This is my config.

Quote:
"custom_weapons_v3"
{
"*" // all
{
"215" // Admin Degreaser
{
"quality""5"
"level""100"
"admin-flags""z"

"1""2 ; 5"
"2""4 ; 2"
"3""37 ; 2"
"5""134 ; 17"
}
}
}
{
"*" // all
{
"15" // Minigun
{
"quality""5"
"level""100"
"admin-flags""z"

"1""2 ; 2"
"2""4 ; 2"
"3""37 ; 2"
"4""134 ; 17"
}
}
}
{
"*" // all
{
"4" // Admin Knife
{
"quality""5"
"level""100"
"admin-flags""z"

"1""2 ; 2"
"2""4 ; 2"
"3""37 ; 2"
"4""134 ; 17"
}
}
}
{
"*" // all
{
"14" // Admin Sniper
{
"quality""5"
"level""100"
"admin-flags""z"

"1""2 ; 2"
"2""4 ; 2"
"3""37 ; 2"
"4""134 ; 17"
}
}
}
{
"*" // all
{
"471" // Admin PROOFofPURCHASE
{
"quality""5"
"level""100"
"admin-flags""z"

"1""134 ; 17"
}
}
}
{
"*" // all
{
"135" // Admin ToweringPillar
{
"quality""5"
"level""100"
"admin-flags""z"

"1""134 ; 17"
}
}
}
What am I doing wrong? I'm sure it's something simple. I'm a beginner ;/

Last edited by tomteat; 07-17-2011 at 05:39.
tomteat is offline
Velture
Senior Member
Join Date: Jan 2011
Location: Poland, Warsaw
Old 07-17-2011 , 05:41   Re: TF2Items - Items with custom attributes.
#984

hahahahhaah ;) this is how it should look:

Quote:
"custom_weapons_v3"
{
"*" // all

{

"215" // Admin Degreaser
{
"quality""5"
"level""100"
"admin-flags""z"
"1""2 ; 5"
"2""4 ; 2"
"3""37 ; 2"
"5""134 ; 17"
}
"15" // Minigun
{
"quality""5"
"level""100"
"admin-flags""z"
"1""2 ; 2"
"2""4 ; 2"
"3""37 ; 2"
"4""134 ; 17"
}
"4" // Admin Knife
{
"quality""5"
"level""100"
"admin-flags""z"
"1""2 ; 2"
"2""4 ; 2"
"3""37 ; 2"
"4""134 ; 17"
}
"14" // Admin Sniper
{
"quality""5"
"level""100"
"admin-flags""z"
"1""2 ; 2"
"2""4 ; 2"
"3""37 ; 2"
"4""134 ; 17"
}
"471" // Admin PROOFofPURCHASE
{
"quality""5"
"level""100"
"admin-flags""z"
"1""134 ; 17"
}
"135" // Admin ToweringPillar
{
"quality""5"
"level""100"
"admin-flags""z"
"1""134 ; 17"
}

}

}
i hope that you see a difference and now know how to add
__________________
Velture is offline
tomteat
Junior Member
Join Date: Jul 2011
Old 07-17-2011 , 05:49   Re: TF2Items - Items with custom attributes.
#985

Quote:
Originally Posted by Velture View Post
hahahahhaah ;) this is how it should look:


i hope that you see a difference and now know how to add
Thanks a LOT man, it works now--no errors!

tomteat is offline
alinayg
Senior Member
Join Date: Apr 2009
Location: USA, RI
Old 07-22-2011 , 20:30   Re: TF2Items - Items with custom attributes.
#986

Dose the 134 Particle tag still work?
__________________
alinayg is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 07-22-2011 , 21:17   Re: TF2Items - Items with custom attributes.
#987

...suuuuuuuuuuuuure.

EDIT: I have no idea.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
dbmiller5
Senior Member
Join Date: Jun 2011
Old 07-23-2011 , 18:02   Re: TF2Items - Items with custom attributes.
#988

Hi guys,

This is going to sound like a super noob question, but, is there a way to select all weapons to apply particle effects??

for example, I tried this:
Quote:
"custom_weapons_v3"
{
"STEAM_0:0onator"
{
"0-466" //ALL???
{
"quality" "4"
"level" "100"
"admin-flags" "c"

"1" "134 ; 1" //particle effect
}


}
}

I also tried others like: "*" and "0;1;2;3 ..."
With no success

Last edited by dbmiller5; 07-23-2011 at 22:48.
dbmiller5 is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 07-23-2011 , 21:28   Re: TF2Items - Items with custom attributes.
#989

Use * instead of 0-466, and it should work fine.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 07-23-2011 , 22:42   Re: TF2Items - Items with custom attributes.
#990

Quote:
Originally Posted by FlaminSarge View Post
Use * instead of 0-466, and it should work fine.
* does not work on my server either..anymore..he said he tried it.
MaloModo is offline
Closed Thread



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 00:25.


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