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

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 05-23-2012 , 22:06   Re: TF2Items - Items with custom attributes.
#1521

Quote:
Originally Posted by The_dr View Post
How would I program the tf2items.wepons.txt so that
Spy’s get only the disguise kit, and a melee,
Medic only gets the crusaders crossbow and a melee,
Snipers only get huntsmen and a melee,
If possible can you lead me to a page that tells you all you need to know on how to program the tf2items.wepons.txt .
I'm sure someone would program a forum post telling you how to do that, except that isn't what TF2Items is for.
__________________
DarthNinja is offline
nergal
Veteran Member
Join Date: Apr 2012
Old 06-01-2012 , 20:21   Re: TF2Items - Items with custom attributes.
#1522

How do i edit an item attribute to have a custom name like a nametag?
__________________
nergal is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-01-2012 , 20:22   Re: TF2Items - Items with custom attributes.
#1523

Quote:
Originally Posted by nergal View Post
How do i edit an item attribute to have a custom name like a nametag?
You can't.
Fairly sure that's covered in the FAQ as well.
__________________

Last edited by asherkin; 06-01-2012 at 20:22.
asherkin is offline
horiaonofrei
Member
Join Date: Aug 2011
Old 06-03-2012 , 15:22   Re: TF2Items - Items with custom attributes.
#1524

Hello.
I don't know what I am doing wrong.
I have TF2 items manager... giveweapon....randomizer.... and steamtools...and connect!


L 06/03/2012 - 22:049: [SM] Unable to load plugin "anti_f2p_connect.smx": Required extension "Connect" file("connect.ext") not running
L 06/03/2012 - 22:049: [SM] Error parsing gameconfig file "D:\SRCDS\SourceServer\orangebox\tf\addons\so urcemod\gamedata\tf2items.randomizer.txt":
L 06/03/2012 - 22:049: [SM] Error 1 on line 0, col 0: Stream failed to open
L 06/03/2012 - 22:049: [SM] Native "LoadGameConfigFile" reported: Unable to open tf2items.randomizer: File could not be opened: The system cannot find the file specified.

and loads of errors for tf2items manager.... about onpluginstartup.....

the tf2items.weapons.txt

"custom_weapons_v3"
{
"*" //All clients
{
"*" //All weapons
{
"preserve-attributes" "1"
"1" "2 ; 50"
"2" "4 ; 50"
"3" "6 ; 0.5"
"4" "106 ; 50"
"5" "107 ; 30"
"6" "135 ; 10"
"7" "103 ; 20"
"8" "101 ; 20"
"9" "99 ; 20"
"10" "97 ; 0.3"
"11" "88 ; 22"
"12" "76 ; 5"
"13" "78 ; 5"
"14" "178 ; 0.1"
"15" "87 ; 0.1"
"16" "169 ; 0.3"
}
}
}

Basically... I need my weapons faster..... bigger dmg.... penetrating shot.... golden effect ETC....
but it wont work.
help.

EDIT: my mistake

Last edited by horiaonofrei; 06-03-2012 at 16:09. Reason: EDIT
horiaonofrei is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-07-2012 , 19:02   Re: TF2Items - Items with custom attributes.
#1525

I'm locking this thread now, anything further should be posted as a new thread in the forum.
__________________
asherkin is offline
Closed Thread


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 22:29.


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