Raised This Month: $7 Target: $400
 1% 

So how do tf2items work?


Post New Thread Reply   
 
Thread Tools Display Modes
serpentine
I don't have a problem
Join Date: Feb 2011
Location: Madison, WI
Old 11-21-2011 , 17:38   Re: So how do tf2items work?
Reply With Quote #11

#116 Ghastly.
#279 Ghastlier.
#584 Ghastliest.

I believe. Just as simple as changing the item number, or adding effects for all three types. Like has been said multiple times, all the information you need is in your items_game.txt file in /tf/scripts/items folder. Have fun!
serpentine is offline
RejectedShotgun
New Member
Join Date: Dec 2011
Old 12-27-2011 , 13:30   Re: So how do tf2items work?
Reply With Quote #12

I am new t this too and I understand the quality etc, but how can I specify what effect I want?
RejectedShotgun is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 01-07-2012 , 16:56   Re: So how do tf2items work?
Reply With Quote #13

Is it possible to have 2 effects at once? How would it be coded for example?

Quote:
Originally Posted by serpentine View Post
Code:
"custom_weapons_v3"
{
    "*"
    {
        "116"
        {
            "admin-flags" "o"
            "preserve-attributes"    "1"
            
            "1"                "134 ; 17"
        } 
    }
}
paste that in your tf2items.weapons.txt file. Assuming your donators have the flag "o".
__________________
ph is offline
Roundcat
Senior Member
Join Date: Feb 2012
Old 03-19-2012 , 11:56   Re: So how do tf2items work?
Reply With Quote #14

what does the number 17 relate to in this example? I mean I know it is the value of the attribute - but where is there a list which associates the number 17 with the sunbeam effect?
__________________
I know not my ar*e from its elbow.

Last edited by Roundcat; 03-19-2012 at 12:15.
Roundcat is offline
serpentine
I don't have a problem
Join Date: Feb 2011
Location: Madison, WI
Old 03-19-2012 , 12:53   Re: So how do tf2items work?
Reply With Quote #15

Quote:
Originally Posted by Roundcat View Post
what does the number 17 relate to in this example? I mean I know it is the value of the attribute - but where is there a list which associates the number 17 with the sunbeam effect?
In your items_game text file in tf/scripts/items.
serpentine is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 04-01-2012 , 04:28   Re: So how do tf2items work?
Reply With Quote #16

I installed the package, all is loaded fine.

[ Using this also with the BOTS-weapons plugin from Leonardo ]

I have added this in the txt file and restarted my gameserver: Look at the screeny

But i do not have any particles ingame.

Am i doing anything wrong here.

This is for the hats :

#116 Ghastly.
#279 Ghastlier.
#584 Ghastliest.

[ Uhm, this will problerly will only shown if i go thirdperson my self, with a plugin or such., i read this afternoon 140+ pages on the Items plugin. Correct me if i worng. : ) ]
Attached Thumbnails
Click image for larger version

Name:	tf22.jpg
Views:	203
Size:	42.9 KB
ID:	101377  

Last edited by Happy DODs player; 04-01-2012 at 15:35. Reason: Edit for screen.
Happy DODs player is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 04-01-2012 , 16:32   Re: So how do tf2items work?
Reply With Quote #17

Quote:
Originally Posted by Happy DODs player View Post
I installed the package, all is loaded fine.

[ Using this also with the BOTS-weapons plugin from Leonardo ]

I have added this in the txt file and restarted my gameserver: Look at the screeny

But i do not have any particles ingame.

Am i doing anything wrong here.

This is for the hats :

#116 Ghastly.
#279 Ghastlier.
#584 Ghastliest.

[ Uhm, this will problerly will only shown if i go thirdperson my self, with a plugin or such., i read this afternoon 140+ pages on the Items plugin. Correct me if i worng. : ) ]
(Let's see if I can ninja asherkin)
You have to put all the indexes under the same one wildcard, so:
Code:
"*"
{
  "index"
  {
   stuff
  }
  "index2"
  {
   morestuff
  }
  etc etc
}
The wildcard applies to everybody, so having more wildcards like in your example is wrong.

EDIT:
Also not completely sure but I don't think it will work with preserve-attributes set to 1. If it still doesn't work after fixing the wildcards, then it's most likely that you have to set it to 0.
__________________

Last edited by napalm00; 04-01-2012 at 16:41.
napalm00 is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 04-02-2012 , 09:40   Re: So how do tf2items work?
Reply With Quote #18

Hi Napalm00,

Mmmm,

So if i want a Effect for everybody on my server on several hats,

this would be what i need to copy past in my file and restart server/pluginload and it should work..?

Or do i need to copy or edit somethings more? I appriciate the help verymuch.

"*"
{

"116" //Ghastly
{
"1" "134 ; 2" //particle effect
}
"279" //Ghastlier
{
"1" "134 ; 2" //particle effect
}

}

Last edited by Happy DODs player; 04-02-2012 at 09:47.
Happy DODs player is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 04-02-2012 , 10:16   Re: So how do tf2items work?
Reply With Quote #19

Quote:
Originally Posted by Happy DODs player View Post
Hi Napalm00,

Mmmm,

So if i want a Effect for everybody on my server on several hats,

this would be what i need to copy past in my file and restart server/pluginload and it should work..?

Or do i need to copy or edit somethings more? I appriciate the help verymuch.

"*"
{

"116" //Ghastly
{
"1" "134 ; 2" //particle effect
}
"279" //Ghastlier
{
"1" "134 ; 2" //particle effect
}

}
Exactly, just like that, though it looks better wrapped around "CODE" tags:
Code:
"*"
{
  "116"  //Ghastly
  {
   "1"     "134 ; 2" //particle effect
  }
  "279" //Ghastlier
  {
   "1"     "134 ; 2" //particle effect
  }
}
Also, no server/plugin reload is needed. Just type "tf2items_manager_reload" in either the ingame console or the rcon one.
__________________
napalm00 is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 04-02-2012 , 13:23   Re: So how do tf2items work?
Reply With Quote #20

GOT it working.

Greatstuff. Gives a nice twist on our game-server.

Thank you for your repleys.


And if i want to give this torwards my DONORS only i just put in the text as i did below right/?


Code:
 
"*"
{
  "116"  //Ghastly
  {
   "admin-flags" "a"
   "1"     "134 ; 2" //particle effect
  }
  "279" //Ghastlier
  {
   "admin-flags" "a"
   "1"     "134 ; 2" //particle effect
  }
}

Last edited by Happy DODs player; 04-02-2012 at 13:26.
Happy DODs player is offline
Reply


Thread Tools
Display Modes

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 04:48.


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