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

Certain weapons are not affected by attributes at all


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xSpeced
AlliedModders Donor
Join Date: Aug 2013
Old 11-24-2013 , 19:01   Certain weapons are not affected by attributes at all
Reply With Quote #1

Running MM 1.10, SM 1.5.2 and TF2Items HG258

Some attributes that literally worked a couple days back no longer work.
Those weapons simple are not affected by the custom attributes

ie. Rocket Launcher(all), Flare gun, Medicrossbow and more.

Any help would be appreciated.
xSpeced is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 11-24-2013 , 19:08   Re: Certain weapons are not affected by attributes at all
Reply With Quote #2

Same here
__________________
...
Oshizu is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-25-2013 , 03:16   Certain weapons are not affected by attributes at all
Reply With Quote #3

Please attach your tf2items.weapons.txt and tf2.items.txt files, with no modifications please.
__________________

Last edited by asherkin; 11-25-2013 at 03:17.
asherkin is offline
xSpeced
AlliedModders Donor
Join Date: Aug 2013
Old 11-26-2013 , 15:24   Re: Certain weapons are not affected by attributes at all
Reply With Quote #4

My list is just a bunch of weapons with attribute 76 at 4.0
xSpeced is offline
xkirby
Member
Join Date: Dec 2012
Location: I live somewhere.
Old 11-27-2013 , 13:27   Re: Certain weapons are not affected by attributes at all
Reply With Quote #5

I can say for a fact that this happens, although we're currently using the item file with Vs. Saxton Hale and it works fine during the first round. After that, it fails to load the stats for some items. Not sure why.

EDIT: I don't personally have the files. I'll try to get Speced to post them for ya.

Last edited by xkirby; 11-27-2013 at 13:30. Reason: Had to clarify something.
xkirby is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 11-27-2013 , 14:31   Re: Certain weapons are not affected by attributes at all
Reply With Quote #6

Quote:
Originally Posted by xkirby View Post
I can say for a fact that this happens, although we're currently using the item file with Vs. Saxton Hale and it works fine during the first round. After that, it fails to load the stats for some items. Not sure why.

EDIT: I don't personally have the files. I'll try to get Speced to post them for ya.
That's because VSH does a bunch of its own item overrides.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
xSpeced
AlliedModders Donor
Join Date: Aug 2013
Old 11-27-2013 , 17:26   Re: Certain weapons are not affected by attributes at all
Reply With Quote #7

Quote:
Originally Posted by Powerlord View Post
That's because VSH does a bunch of its own item overrides.
If that's the case, how would one make it work since it does work with VSH 1.42 like a couple days before.
xSpeced is offline
Wliu
Veteran Member
Join Date: Apr 2013
Old 11-27-2013 , 19:36   Re: Certain weapons are not affected by attributes at all
Reply With Quote #8

Some guy using FF2 pm'd me a few weeks back and said the way he did it was to unload the main VSH/FF2 plugin, wait ~3000 seconds, then re-enable it.

To quote him:
Quote:
Originally Posted by Arokhantos
sm plugins unload freak_fortress_2
wait 3000
sm plugins load freak_fortress_2

Bam custom weapons working
__________________
~Wliu
Wliu is offline
xSpeced
AlliedModders Donor
Join Date: Aug 2013
Old 11-27-2013 , 22:04   Re: Certain weapons are not affected by attributes at all
Reply With Quote #9

Quote:
Originally Posted by Wliu View Post
Some guy using FF2 pm'd me a few weeks back and said the way he did it was to unload the main VSH/FF2 plugin, wait ~3000 seconds, then re-enable it.

To quote him:
The problem with that is well, first round wouldn't work. And HP huds dont show anymroe
xSpeced is offline
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 11-27-2013 , 23:13   Re: Certain weapons are not affected by attributes at all
Reply With Quote #10

The problem here is that the TF2Items adjustments in the code are called "after" your own tf2items adjustments. You can't fix this without adjusting the VSH code itself. The TF2 Items Configs are called on map or on reload while VSH TF2Items adjustments are called specifically when the weapon spawns.
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.
Requiesta 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 19:52.


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