Raised This Month: $32 Target: $400
 8% 

Add attribute problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NewbieSoldier
New Member
Join Date: Oct 2012
Old 10-25-2012 , 03:30   Add attribute problem
Reply With Quote #1

This is my set
Code:
"custom_weapons_v3"
{
	"STEAM_0:1:123456789"
	{
		"205"
		{
			"level"	"100"
			"quality"	"10"
			"1"	"6 ; 0.25 "
			"2"	"134 ; 2 "
			"3"	"4 ; 9.0 "
		}
	}
}
only first ("1" "6 ; 0.25 ") attribute is effective
and I change to like this
Code:
			"1"	"134 ; 2 "
			"2"	"6 ; 0.25 "
			"3"	"4 ; 9.0 "
still is the first one ("1" "134 ; 2 ")

but if I change like this
Code:
			"1"	"134 ; 2 ;"
			"2"	" ;  "
			"3"	" ;  "
			"4"	"6 ; 0.25 "
			"5"	" ;  "
			"6"	" ;  "
			"7"	"4 ; 9.0 "
then all of attribute will be effective

Last edited by NewbieSoldier; 10-25-2012 at 03:33.
NewbieSoldier is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 10-25-2012 , 18:52   Re: Add attribute problem
Reply With Quote #2

Are you using the snapshot version?
__________________
DarthNinja is offline
NewbieSoldier
New Member
Join Date: Oct 2012
Old 10-25-2012 , 22:10   Re: Add attribute problem
Reply With Quote #3

Quote:
Originally Posted by DarthNinja View Post
Are you using the snapshot version?
if I put "6 ; 0.25 " in first ("1" "6 ; 0.25 "), only will fire faster
(don't have more clip and particle effect)

if I put "4 ; 9.0 " in first ("1" "4 ; 9.0 "), only will have more clip
(don't have fire faster and particle effect)

and what my test is after I change, reload file, use that weapon and fire

Last edited by NewbieSoldier; 10-25-2012 at 22:13.
NewbieSoldier is offline
Ugleh
Member
Join Date: Oct 2009
Old 11-28-2012 , 02:30   Re: Add attribute problem
Reply With Quote #4

For the particle effect, try a value already used in the items_game file like value 20.
Also you do not need a space after the text and the end quote.
Also, maybe u might need to use set_attached_particle_static instead of set_attached_particle, as set_attached_particle looks to be for hats... cant be 100% sure though. the attribute for set_attached_particle_static is 370
Ugleh 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 09:54.


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