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

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
RaajLio
New Member
Join Date: Jan 2012
Old 01-25-2012 , 05:11   Re: TF2Items - Items with custom attributes.
#1371

Hi all, first post here.

I can say that I have looked at all the pages of this thread. I still have yet to make the following work:

"custom_weapons_v3"
{
"STEAM_0:0:11914567"
{
"126"
{
"quality" "1"
"level" "100"
"preserve-attributes" "1"
"134 ; 16"
}

}

}

It should as plasma to L4D Bill's hat. I've tested removing the level, the preserve-attributes, change the quality to 5. I've also tried adding sparckle to the Degreaser. Nothing.

I've added the following to server.cfg:

sm plugins load optional/tf2items_manager
sm exts load tf2items

In game, I type tf2items_enable, and it tells me it's being restarted. I confirm that the plugin is running (using sm plugins).

Finally, I have tried respawning and going to the weps cabinet ot make the effect appear.

I'm a full admin too! (the flag's been removed, but set at "a", it did not work either - please note "a" is used by another plugin)

NOTHING! Can anyone tell me what's wrong with this? I bet I'm close.

Eager to fix it!
Cheers,
Oli
RaajLio is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-25-2012 , 06:48   Re: TF2Items - Items with custom attributes.
#1372

"1" "attribute index ; attribute value"
"2" "attribute index ; attribute value"
is the format for attributes.
__________________
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
RaajLio
New Member
Join Date: Jan 2012
Old 01-25-2012 , 13:25   Re: TF2Items - Items with custom attributes.
#1373

Thanks, but I forgot to mention, I did do it with the "1" for the attribute, and it did not work either... Tried with level 1 too:

"custom_weapons_v3"
{
"STEAM_0:0:11914567"
{
"126"
{
"quality" "1"
"level" "1"
"preserve-attributes" "1"
"1" "134 ; 16"
}
}
}

My problem might not be the code in the tf2ites files, but something else that need doing. I really don't know what to test more, after all, the plugin is running. Are there other files to configure? Other cvars lines for server.cfg?

Last edited by RaajLio; 01-25-2012 at 13:32.
RaajLio is offline
Anthal
Junior Member
Join Date: Jan 2012
Old 01-26-2012 , 23:56   Re: TF2Items - Items with custom attributes.
#1374

Are you issuing a tf2items_manager_reload via rcon and changing classes after the change is made to tf2items.weapons.txt?

I think hitting a locker may work, but changing classes definitely does.
Anthal is offline
RaajLio
New Member
Join Date: Jan 2012
Old 01-27-2012 , 00:35   Re: TF2Items - Items with custom attributes.
#1375

Nevrmind that, my stupid server is on Multiplay Gameservers, and the plugin is broken. I've asked for an update and was tod that it's already there.

I've tried it on another provider, with full ftp access, and it worked like a charme.

BEST PLUGIN EVER!
RaajLio is offline
The_dr
Senior Member
Join Date: Jan 2012
Location: Canada
Old 01-28-2012 , 08:40   Re: TF2Items - Items with custom attributes.
#1376

i wont to use this mod to make all admins on my server have the golden rench, only on my server so people know and for fun, how do i do that
The_dr is offline
The_dr
Senior Member
Join Date: Jan 2012
Location: Canada
Old 01-28-2012 , 15:50   Re: TF2Items - Items with custom attributes.
#1377

i said that rong heres what i ment

i wont to use this mod to make all admins on my server have the golden rench,
what would i have to type in to make that work
The_dr is offline
jouva
Senior Member
Join Date: Jan 2010
Old 01-28-2012 , 19:14   Re: TF2Items - Items with custom attributes.
#1378

Well if you "want" to use this extension to give admins the golden "wrench", then you should be installing the Give Weapon plugin as well:

http://forums.alliedmods.net/showthread.php?t=141962

However, note that due to limitations, the only player that will see that the wrench is equipped is the player with the wrench (known as model view). Other players on the server looking at the admins with a wrench (known as world view) will NOT see it.

Another alternative to this is to simply give all admins (such as with flag "a") a wrench with the "turn to gold" attribute on. Then use the "tf2items manager" plugin.
Code:
"custom_weapons_v3"
{
	"*"
	{
		"7"
		{
			"admin-flags"	"a"
			"quality"		"1"
			"1"			"150 ; 1"
		}
	}
}
This is just an example of a single weapon, and learning to properly use the extension and plugin. 7 indicates the id for the normal wrench and 150 is the id for the "turn to gold" attribute. There are examples of configurations that one should be able to learn from. Everything else should be straightforward.
jouva is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-31-2012 , 13:48   Re: TF2Items - Items with custom attributes.
#1379

Quote:
Originally Posted by RaajLio View Post
Nevrmind that, my stupid server is on Multiplay Gameservers, and the plugin is broken. I've asked for an update and was tod that it's already there.

I've tried it on another provider, with full ftp access, and it worked like a charme.

BEST PLUGIN EVER!
Last time I was switching server hosts, I tried Multiplay. I ran into a lot of problems with this kind of thing.

Heck, they wouldn't even install the Reserve Slots plugin I wanted.

I ended up running it as a Halloween event server and then canceling it at the end of my first month.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 02-02-2012 , 20:55   Re: TF2Items - Items with custom attributes.
#1380

Thank you asherkin for releasing this
I have so much fun with this!
Now I only need to know a way to use custom particle effects :/


here is a weapons list sorted by class:
Spoiler
__________________
AeroAcrobat 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 01:11.


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