Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 01-10-2011 , 00:58   Re: [TF2Items] Give Weapon (v1.4.1.2.2, 12/05/2010)
Reply With Quote #141

Quote:
Originally Posted by Leonardo View Post
when engineer with permanent weapon (eg golden wrench), after every respawn/touching locker loses his buildings. is it possible to fix this?
now it's 100% possibe

EDIT:
LET'S START TO SALE GOLDEN WRENCHES ON YOUR OWN SERVRES lol
__________________

Last edited by Leonardo; 01-10-2011 at 01:03.
Leonardo is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-10-2011 , 01:03   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #142

? Did you make a plugin to do it?
If so, awesome. I'll put it in Randomizer, where it's sorely needed, and here too, if you want.

Also I should hook Givew_ex into your Auto Items plugin for adding certain weapons permanently to MySQL
__________________
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.

Last edited by FlaminSarge; 01-10-2011 at 01:08.
FlaminSarge is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 01-10-2011 , 03:52   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #143

after latest update of TF2Items you now can choose another Definition ID if item has similar item_class in Action:TF2Items_OnGiveNamedItem()

now I/you can switch official hat to another one
for example: if you wear shitlike bronze badge, you can replace it with ... Cheater's lament!

successfully tested on my TF2 Auto Items Manager ...

EDIT:
... you can switch official hat to another one with normal model, there's no invisible item.

EDIT2:
Quote:
Also I should hook Givew_ex into your Auto Items plugin for adding certain weapons permanently to MySQL
if you'll spam this command, you'll spam in DB, cuz' table's index is a autoincrement ID, so there no unique rows... I mean, you can duplicate some item more than one times.
__________________

Last edited by Leonardo; 01-10-2011 at 06:51.
Leonardo is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-10-2011 , 19:34   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #144

Ah, OnGiveNamedItem, right. Unfortunately, setting ammo does not seem to work right in OnGive, but I guess I can switch melee weapons over to that for givew_ex. That'll work.

Givew_ex in MySQL sounds like a bad idea.
__________________
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
Regis
Member
Join Date: Sep 2009
Old 01-16-2011 , 18:16   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #145

How do I declare a model in the givecustom file? I don't want to have to recompile the giveweapon plugin every time I make a new item.
Regis is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-17-2011 , 13:37   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #146

Read the bottom of the first post, please.
You're not supposed to recompile anything now, everything that can be customized in the plugin can be customized in the cfg (except my two extra attributes).

Targe, Razorback, Danger Shield, and Gunboats coming soon (I already made a pair of Sonic Boots too!)
__________________
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.

Last edited by FlaminSarge; 01-17-2011 at 13:42.
FlaminSarge is offline
FunkyLoveCow
Senior Member
Join Date: May 2010
Old 01-17-2011 , 17:58   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #147

Any idea what the grenade launcher (index 19) can't be made to rapid fire?
FunkyLoveCow is offline
snowyiet
Member
Join Date: Jan 2010
Old 01-17-2011 , 19:14   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #148

Can you set custom viewmodels with this? I want to add a nailgun for the scout which is a medic syringegun with custom model.
snowyiet is offline
thatdarnkid
BANNED
Join Date: Nov 2010
Old 01-17-2011 , 20:02   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #149

EDIT: Nevermind! It works! It works beautifully!

FlaminSarge, you are the man.

I think what was crashing my server was the fact that back on the 30th of December (2010), when I had DL'd this plugin, and VisWeps/Attachables/SDKHooks didnt work, I went into the source code of the plugin and removed anything to do with VisWeps. I just remembered doing that, so yeah.

I just tested it on my server and gave another player (a Spy) the Demoman's Bottle. And I could see the bottle!

*bows down to the almighty FlaminSarge*

Now if you think you could help me out in solving the errors that my rework of noodleboy347's plugin is causing, that'd be swell ;)

Last edited by thatdarnkid; 01-18-2011 at 17:53.
thatdarnkid is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-18-2011 , 17:52   Re: [TF2Items] Give Weapon (v2.61, 01/09/2011)
Reply With Quote #150

Snowyjet: not yet. I am working on it with Mecha the Slag (who already has viewmodels, but broke them). So far, I have great progress:
http://dl.dropbox.com/u/9948007/ccdorm_a40003.jpg
http://dl.dropbox.com/u/9948007/ccdorm_a40005.jpg
FunkyLoveCow, it can if you don't set it to too high. I'll see what I have it set as for the trail of grenades I have
__________________
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:26.


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