Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Updated to allow you to have a configs/tf2items.givecustom.txt file. Use the example on the main post attachments to make your own. First number is what index you want to define it as (e.g. 9001), classname is tf_weapon_*, meaning whatever its base classname is. index is the actual index of the weapon (e.g. blackbox is 228 ). quality 6 is unlockable, 5 is unusual, etc. Look up the tf2items extension thread for more quality setting info. Level is level, keep it under 127. Finally, Ammo is how much ammo you get when you /give it.
slot 0 is primary, 1 secondary, 2 melee, 3 is 4th slot, 4 is 5th slot, and 5 is for the engineer's building box. attribs line is just a line of attributes separated by " ; ". So you would just have the attrib index first, then the attrib value, and then the next attrib index, then the next attrib value. Don't put too many on there, the character limit for that is... 256? Example: "attribs" "134 ; 19 ; 2 ; 999.0 ; 150 ; 1" would set attribute 134 to 19, 2 to 999, and 150 to 1 (heart effects, +99800% damage done, and turns to gold. Also, disabled give_ex until it works right. |
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Quote:
But yeah, i like your progress with this Sarge, keep up the amazing work. Ps: We will see who gets to the poker night items first after its out :P But if you keep updating at this rate, i might not even be able to figure out the scripting anymore xP |
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Turn to gold, 150 ; 1, only works on all engineer melee weapons. *clarification*
|
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Awesome update FlamingSarge. Asherkins is nice but this is a much easier one to use.
|
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
This one is asherkins. Major derp there. It's from his original giveitem plugin, with a couple updates.
Also, slight peeve, but its "FlaminSarge" not "FlamingSarge"... |
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Bug report:
- Using teleports resets the weapon list. |
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Quote:
|
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Quote:
It really shouldn't do that though. The weapon list doesn't touch the teleport event nor any other events... In fact, the entire plugin doesn't touch the teleport event... |
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Quote:
|
Re: [TF2Items] Give Weapon (v1.4.1.1.0, 11/6/2010)
Ohh... there must be some kind of respawn when a player teleports... I'll see what I can do about it. In the meantime, give again when you teleport. Sorry :C
|
All times are GMT -4. The time now is 06:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.