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

Can't Seem to Give the Short Circuit the Onhit AddAmmo Effect?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 07-21-2012 , 14:29   Can't Seem to Give the Short Circuit the Onhit AddAmmo Effect?
Reply With Quote #1

I know that certain effects will not work with ANY weapon but the one valve originally gave the attribute to but is the widowmaker's onhit addammo effect one of them? Here's the piece of my items.weapons.txt file for the short circuit:

HTML Code:
		"528"
		{
			"1"			"298 ; 20"
			"2"			"300 ; 1"
			"3"			"301 ; 1"
			"4"			"307 ; 1"
			"5"			"303 ; -1"
			"6"			"15 ; 1"
			"7"			"312 ; 1"
			"8"			"2 ; 1.50"
			"9"			"299 ; 100"
		}
Creating this for a mod that doesn't have spy sappers (and demomen are either on the same team or only have melee) so naturally the short circuit is more or less useless. My attempt to make it a more viable weapon.

Am I doing it wrong or is valve cursing our customization?
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.

Last edited by Requiesta; 07-21-2012 at 14:31.
Requiesta is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-21-2012 , 15:43   Re: Can't Seem to Give the Short Circuit the Onhit AddAmmo Effect?
Reply With Quote #2

I haven't tried this configuration, but I've noticed before that some attributes are actually attached to specific weapon classes and their attributes are display only. I know for a fact the Bazaar Bargain works this way, it's possible that the Widowmaker does as well.

Or it could be that certain attributes only work on certain kinds of weapons.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-21-2012 at 15:44.
Powerlord is offline
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 07-28-2012 , 15:51   Re: Can't Seem to Give the Short Circuit the Onhit AddAmmo Effect?
Reply With Quote #3

Ah well, I decided to give it bleed instead. 10 metal for widespread 6 seconds of bleed, the short circuit has a point again
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.
Requiesta is offline
Reply



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 02:26.


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