Raised This Month: $ Target: $400
 0% 

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Viper Snake
Junior Member
Join Date: Jun 2010
Old 07-31-2010 , 22:12   Re: TF2Items - Items with custom attributes.
#371

Quote:
Originally Posted by asherkin View Post
Glad it works for you.

I've decided to do a little bit of a beta of 1.4 first.
You can download it from http://hg.limetech.org/projects/tf2i...30157977c8.zip.

Overusing my new catface smiley:
My server has been running this version for 24 hours now without crashing. Looks like its fixed.
Viper Snake is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-31-2010 , 22:19   Re: TF2Items - Items with custom attributes.
#372

Quote:
Originally Posted by Viper Snake View Post
Looks like its fixed.
Great news, wish I knew why only you two experienced that issue though.
__________________
asherkin is offline
alinayg
Senior Member
Join Date: Apr 2009
Location: USA, RI
Old 07-31-2010 , 22:26   Re: TF2Items - Items with custom attributes.
#373

Quote:
Originally Posted by asherkin View Post
I'm gonna have to stop you all here then
Although the items system has the ability for custom item names (and it works), it seems at the moment it's actually read in the client code straight from the backend, instead of going through the server. This means that TF2Items can't touch it .
Boo, that's no fun now is it? Oh well, people can only do so much. I am for one glad that valve lets people mod there game so easily with out much hassle at all, and also supports them with requested changes. Same thing goes for the SDK.
__________________
alinayg is offline
alinayg
Senior Member
Join Date: Apr 2009
Location: USA, RI
Old 07-31-2010 , 22:27   Re: TF2Items - Items with custom attributes.
#374

Quote:
Originally Posted by asherkin View Post
Great news, wish I knew why only you two experienced that issue though. :3
Idk, but I'm really glad you fixed it :)
__________________

Last edited by alinayg; 07-31-2010 at 22:27. Reason: Oops double post
alinayg is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 08-01-2010 , 01:07   Re: TF2Items - Items with custom attributes.
#375

Quote:
Originally Posted by asherkin View Post
I'm gonna have to stop you all here then
Although the items system has the ability for custom item names (and it works), it seems at the moment it's actually read in the client code straight from the backend, instead of going through the server. This means that TF2Items can't touch it .
What do you mean with the 'it works' part?
noodleboy347 is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 08-01-2010 , 01:32   Re: TF2Items - Items with custom attributes.
#376

Quote:
Originally Posted by noodleboy347 View Post
What do you mean with the 'it works' part?
He means item names can be changed, but not from the server.
Afronanny is offline
alinayg
Senior Member
Join Date: Apr 2009
Location: USA, RI
Old 08-01-2010 , 03:08   Re: TF2Items - Items with custom attributes.
#377

Quote:
Originally Posted by asherkin View Post
This lets you do stuff like the following:

Code:
"custom_weapons_v3"
{
    "*"
    {
        "*"
        {
            "admin-flags"    "z"
            "preserve_attributes"    "1"
            
            "1"    "134 ; 4"
        }
    }
}
Old custom weapons list:
http://pastebin.com/FzvARsH0

New custom weapons list:
http://pastebin.com/rEp7Cnkv

:D
__________________
alinayg is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-01-2010 , 08:36   Re: TF2Items - Items with custom attributes.
#378

Quote:
Originally Posted by noodleboy347 View Post
What do you mean with the 'it works' part?
Afronanny is correct.

Quote:
Originally Posted by alinayg View Post
New custom weapons list:
http://pastebin.com/rEp7Cnkv
The only thing I would advise adding to that is 5 sections above the wildcard weapon for the wrench, golden wrench, southern hospitality, medigun and kritzkrieg. This should be identical to the wildcard block but missing the line changing the quality (and possibly the level as well, you would need to test that), if you don't do this touching a supply cabinet will destroy all buildings / reset the uber meter. The forced quality change on adding attributes was removed in this version, so as long as you don't change the quality you won't run into this problem.
__________________
asherkin is offline
Viper Snake
Junior Member
Join Date: Jun 2010
Old 08-01-2010 , 14:53   Re: TF2Items - Items with custom attributes.
#379

Quote:
Originally Posted by asherkin View Post
Afronanny is correct.


The only thing I would advise adding to that is 5 sections above the wildcard weapon for the wrench, golden wrench, southern hospitality, medigun and kritzkrieg. This should be identical to the wildcard block but missing the line changing the quality (and possibly the level as well, you would need to test that), if you don't do this touching a supply cabinet will destroy all buildings / reset the uber meter. The forced quality change on adding attributes was removed in this version, so as long as you don't change the quality you won't run into this problem.
The kritzkrieg's uber won't reset if you modify it.
Viper Snake is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-01-2010 , 17:30   Re: TF2Items - Items with custom attributes.
#380

Quote:
Originally Posted by Viper Snake View Post
The kritzkrieg's uber won't reset if you modify it.
It will if you change the quality, afaik anyway.
__________________
asherkin 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 07:39.


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