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

[TF2Items] Give Weapon (v3.14159, 11/29/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 08-18-2015 , 19:40   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1411

I can now forsee Valve potentially nerfing the visibility of dropped weapons soon since it's a "major economy-breaking bug" (gold frying pan anyone?) and people who want the new free hat will ruin it for everyone.

(No, I'm not going to report it, since I like my visible weapons.)
Potato Uno is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 08-19-2015 , 10:55   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1412

Quote:
Originally Posted by Potato Uno View Post
(No, I'm not going to report it, since I like my visible weapons.)
Nothing would happen. I'm sure Valve would have acted by now if they truly saw it as a problem.
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*
King Cnut is offline
Loomynarty
Junior Member
Join Date: Jul 2015
Old 08-19-2015 , 12:12   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1413

Here is the command for the golden pan (with item designer plugin)
sm_gi @me 1071 3 100 6 1 0 saxxy 542
Who needs a real one?
Loomynarty is offline
luigi_man
Junior Member
Join Date: Sep 2015
Old 09-08-2015 , 20:01   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1414

I've been trying to make a few custom weapons and after a lot of trial and error, I've finally succeeded. However, whenever I try to shoot my custom weapon, it only fires once and will not fire anymore after doing so. Here's what I have right now:

Code:
"custom_give_weapons_vlolz"
{
	"9999"
	{
		"classname"		"tf_weapon_rocketlauncher"
		"index"		"228"
		"slot"		"0"
		"quality"		"6"
		"level"		"29"
		"attribs"		"134 ; 19"
		"ammo"		"20"
	}
	"7000"
	{
		"classname"		"tf_weapon_grenadelauncher"
		"index"		"205"
		"slot"		"0"
		"quality"		"7"
		"level"		"100"
		"attribs"		"2 ; 60 ; 4 ; 40 ; 6 ; 40 ; 16 ; 100 ; 26 ; 200 ; 31 ; 10"
		"ammo"		“20”
		}
}
How should I go about fixing or troubleshooting this? I'm fairly new to this and I've been searching around trying to find how to fix it and have come up empty.
luigi_man is offline
Sorrowfire
Member
Join Date: Jul 2010
Location: <Missing String>
Old 09-09-2015 , 04:22   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1415

@luigi_man: I would need to personally check out those weapons to see what the issue was with 100% accuracy but for the time being...

You're #7,000 has a lot of issues...
Code:
 
-The Index should be 206 (205 is the rocket launcher)

-The  clip-size bonus is (4 ; 40) is insane but you only set it to have 20  ammo.
--It's 40 so that translates to 4000% or so in increased clip  size.

-Similar above for (2 ; 60) which is a damage boost of ~6000%

-You're  fire-rate issue is probably because it's (6 ; 40) is entirely out of  range!
--After you hit a certain number, some things just don't work  anymore.
---Try using something like "6 ; 5" which is 5x or 500% more  fire-rate.

-The  Max health bonus (26 ; 200) is something I would steer away from until you have learned more about how the weapons system works.
--It's very  finicky, and the bonus HP will go away when the weapon is switched away from unless you properly set it up ahead of time.
As for you're #9,999 I don't immediately see any issues with it.. It looks like a blackbox with a circling hearts particle effect, a default weapon quality, a level of 29, and 20 total ammo.


For future reference if you get you're attribute numbers from items_game.txt...
Code:
 
"description_format"    "value_is_additive": This means you use whole numbers generally, or strings
"description_format"    "value_is_additive_percentage": This means 0.1 = 10% & It's on top of the existing value
"description_format"    "value_is_percentage": Same as above but it's a replacing value.
"description_format"     "value_is_inverted_percentage": Pure evil, it's %'s again but this time  it's the opposite value. So 0.1 = 90% or 0.9 = 10%
PS: Let me know if there are any issues once you have done some more changes, I'll give it a few test runs on my own later if you continue to have problems.
__________________
"What do you mean SourcePawn doesn't count as a 2nd language?"
Sorrowfire is offline
Dr. Jekyll
Member
Join Date: Sep 2015
Old 09-25-2015 , 23:12   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1416

Just re-downloaded the latest version (1.6.2-272) from here, but it's missing the "plugins" folder. Anyone else having this issue?
Dr. Jekyll is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 09-27-2015 , 08:58   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1417

Quote:
Originally Posted by Dr. Jekyll View Post
Just re-downloaded the latest version (1.6.2-272) from here, but it's missing the "plugins" folder. Anyone else having this issue?
https://forums.alliedmods.net/showth...45#post2340145
__________________
asherkin is offline
scptrx
AlliedModders Donor
Join Date: Aug 2015
Location: The Netherlands
Old 10-04-2015 , 11:56   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1418

Is there a way I can get myself the Golden Frying Pan with this? If so, how?
scptrx is offline
avi9526
Senior Member
Join Date: Apr 2013
Location: Ukraine
Old 10-13-2015 , 08:50   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1419

Try removing trailing semicolon before quotation sign in "attribs" line
__________________
avi9526 is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 10-15-2015 , 03:21   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1420

@luigi_man I also noticed that the characters for your quote marks are sometimes the slanted ones and sometimes the regular ". I don't know if that affects anything for SourceMod parsing, but you could doublecheck it.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge 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 21:43.


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