PDA

View Full Version : Can't get it to work


jgreenburg
08-24-2012, 05:20
I am new to the TF2items plugin... obviously.

I've read through most of the material here but I cannot seem to get a simple custom attribute working.

I am trying this on a linux server running sourcemod snapshot rev 1.4.5-hg3545 as well as tf2items rev 1.5.2-hg231.

One of the posts I ran across where a user posted a simple tf2items.weapons.txt config that is supposed to give the ghastly a sunbeams effect:
"custom_weapons_v3"
{
"*"
{
"116"
{
"admin-flags" "o"
"preserve-attributes" "1"

"1" "134 ; 17"
}
}
}

I have root admin rights to the server, I have also changed the admin-flags var to "a". But I just cannot get this to work, I have tried a plugin unload and refresh as well as the "tf2items_manager_reload" but the effect just never happens.

Is there something simple I am overlooking?

Powerlord
08-24-2012, 08:25
You're aware that Ghastly Gibus, Ghastlier Gibus, and Ghastlierest Gibus all have different item definition indexes? 116, 279, and 584 specifically.

jgreenburg
08-24-2012, 12:38
I have the ghastly Gibus for sure. I have also tried the index number for the team captain as well, the effect does not work for either hats. I have also attempted it with the shotgun, the soldier secondary index item of 10. I haven't had any luck.