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

Solved I Can't Disable Alt-Fire on the Sandvich and the Steak


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 06-30-2012 , 12:16   I Can't Disable Alt-Fire on the Sandvich and the Steak
Reply With Quote #1

I've been trying to disable the heavy's alternate fire for the throwable items and I can't seem to make it work. I'm using the disable alt-fire attribute listed here (#27). This is what I have so far:

Code:
"custom_weapons_v3"
{
	"*"
	{
		"42"
		{
			"quality"		"10"
			"2"			"27 ; 1"
		}
		"225"
		{
			"quality"		"10"

			"1"			"150 ; 1"
			"2"			"154 ; 0"
			"3"			"156 ; 0"
		}
		"228"
		{
			"quality"		"10"

			"4"			"65 ; 1.25"			
		}
		"237"
		{
			"quality"		"10"
			
			"1"			"181 ; 0"
		}
		"265"
		{
			"quality"		"10"
			
			"1"			"181 ; 0"
		}
		"310"
		{
			"quality"		"10"

			"1"			"2 ; 1.3"
			"2"			"125 ; -50"
		}
		"311
		{
			"quality"		"10"
			"1"			"144 ; 1"
			"2"			"27 ; 1"
		}
		"331"
		{
			"quality"		"10"

			"1"			"205 ; 0.6"
			"2"			"206 ; 2.0"
			"3"			"177 ; 1.5"
			"4"			"125 ; -50;
		}
		"357"
		{
			"quality"		"10"

			"1"			"219 ; 1"
			"2"			"220 ; 100"
			"3"			"226 ; 1"
			"4"			"15 ; 0"
			"5"			"1 ; 0.75"
		}
		"426"
		{
			"quality"		"10"

			"1"			"1 ; 0.4"
			"2"			"6 ; 0.5"
			"3"			"125 ; -50"
		}
		"441"
		{
			"quality"		"10"
			
			"1"			"281 ; 1"
			"2"			"282 ; 1"
			"3"			"285 ; 1"
			"4"			"15 ; 1"
			"5"			"1 ; 0.75"
		}
		"574"
		{
			"quality"		"10"

			"1"			"0 ; 0"
			"2"			"0 ; 0"
			"3"			"150 ; 1"
		}
		"588"
		{
			"quality"		"10"
			
			"1"			"338 ; 1"
			"2"			"339 ; 1"
			"3"			"281 ; 1"
			"4"			"283 ; 1"
			"5"			"1 ; 0.75"
		}
		"649"
		{
			"quality"		"10"

			"1"			"150 ; 1"
			"2"			"154 ; 0"
			"3"			"156 ; 0"
		}
		"730"
		{
			"quality"		"10"
			
			"8"			"1 ; 0.75"
		}
		
	}
}
what did I do wrong?
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.

Last edited by Requiesta; 07-03-2012 at 22:32.
Requiesta is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-30-2012 , 13:26   Re: I Can't Disable Alt-Fire on the Sandvich and the Steak
Reply With Quote #2

As its classname should imply ("unimplemented_altfire_disabled"), this attribute was never implemented. It's not clear why Valve kept it in the attributes list.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 06-30-2012 , 14:04   Re: I Can't Disable Alt-Fire on the Sandvich and the Steak
Reply With Quote #3

Quote:
Originally Posted by Powerlord View Post
As its classname should imply ("unimplemented_altfire_disabled"), this attribute was never implemented. It's not clear why Valve kept it in the attributes list.
Darn, is there another way to disable alternate fire using the items manager or a way to do it in the script?
__________________
YouTuber, Modder, Accountant, and somehow I still enjoy programming after all that.

Check out my YouTube Channel.

Last edited by Requiesta; 06-30-2012 at 18:05.
Requiesta is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 07-01-2012 , 10:27   Re: I Can't Disable Alt-Fire on the Sandvich and the Steak
Reply With Quote #4

yes. request it.
Leonardo is offline
Requiesta
Senior Member
Join Date: May 2012
Location: Texas
Old 07-03-2012 , 22:32   Re: I Can't Disable Alt-Fire on the Sandvich and the Steak
Reply With Quote #5

Nevermind this is resolved, I managed to create a similar function using OnPlayerRunCmd. A few bugs but eventually worked out
__________________
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 01:59.


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