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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Snivy_Films
Junior Member
Join Date: Sep 2017
Location: Not here
Old 01-24-2018 , 04:46   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1631

Quote:
Originally Posted by FlaminSarge View Post
SickleClimbWalls, if I remember correctly.
Thanks
__________________
Im a Snivy...That Films...Ok Makes sense, good
Snivy_Films is offline
Noodl
Member
Join Date: Jun 2015
Old 02-06-2018 , 19:16   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1632

The flamethrowers I give to players using TF2Items_GiveWeapon() have zero frontal range, you sort of need to angle yourself and touch a player to count as hitting them.

I'm using TF2IDB with newly generated sqlite, so dunno what's causing that.
Noodl is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 02-10-2018 , 19:16   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1633

This plugin's due for a rewrite. I'll put it up on GitHub p soon so people can help. I think I fixed Flamethrowers with one of my local test versions, but I broke something else as a result, so I'm trying to figure out what went wrong.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 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
Griffin330
Junior Member
Join Date: Apr 2017
Old 03-06-2018 , 16:00   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1634

So is it just outdated? It isn't working with SM and it doesn't even give me errors, it acts as if it isn't there.
__________________
----------------------------------------------------------------------------------
My Server
Griffin330 is offline
Meepdude212
New Member
Join Date: May 2018
Old 05-07-2018 , 22:55   not just servers?
Reply With Quote #1635

can this be made for singleplayer/offline with bots too?
Meepdude212 is offline
exassasinx
Junior Member
Join Date: Jun 2015
Old 06-14-2018 , 00:28   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1636

Quote:
Originally Posted by FlaminSarge View Post
If you're pressed for time you can take a shot at using TF2IDB and the extra compat plugin from here https://github.com/FlaminSarge/tf2idb/, which basically lets TF2IDB replace TF2II for most things.
Native "TF2IDB_CustomQuery" was not found ;-;
Edit: Finally got it working.

Last edited by exassasinx; 06-14-2018 at 00:40.
exassasinx is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 06-16-2018 , 09:46   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1637

Quote:
Originally Posted by Noodl View Post
The flamethrowers I give to players using TF2Items_GiveWeapon() have zero frontal range, you sort of need to angle yourself and touch a player to count as hitting them.

I'm using TF2IDB with newly generated sqlite, so dunno what's causing that.

Try changing line 1878 in the source code
Code:
   From:  new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | OVERRIDE_ATTRIBUTES;

   To:  new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | PRESERVE_ATTRIBUTES;
Once I did that things like Flame Throwers, Dragon Fury, and Thermal Thruster started working.
PC Gamer is offline
alexde5
Junior Member
Join Date: Nov 2014
Location: Florida
Old 07-04-2018 , 17:35   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1638

Quote:
Originally Posted by PC Gamer View Post
Try changing line 1878 in the source code
Code:
   From:  new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | OVERRIDE_ATTRIBUTES;

   To:  new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | PRESERVE_ATTRIBUTES;
Once I did that things like Flame Throwers, Dragon Fury, and Thermal Thruster started working.
Hey, thanks man. I've been wondering why I couldn't do it.
alexde5 is offline
Misc
Junior Member
Join Date: Feb 2016
Old 07-17-2018 , 22:12   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1639

Quote:
Originally Posted by PC Gamer View Post
Try changing line 1878 in the source code
Code:
   From:  new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | OVERRIDE_ATTRIBUTES;

   To:  new flags = OVERRIDE_CLASSNAME | OVERRIDE_ITEM_DEF | OVERRIDE_ITEM_LEVEL | OVERRIDE_ITEM_QUALITY | PRESERVE_ATTRIBUTES;
Once I did that things like Flame Throwers, Dragon Fury, and Thermal Thruster started working.
Oooo thanks! I only seem to be able to use the thermal thruster twice though :-( Did you use the givecustom config file or...? If you used the custom config file can I have a copy please?
Misc is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 07-18-2018 , 01:24   Re: [TF2Items] Give Weapon (v3.14159, 11/29/2013)
Reply With Quote #1640

Misc... I don't use a config file. Instead, I use the giveweapon command in a plugin that allows you to 'Be the Giant Dragon Fury robot'. It's a plugin I edited which was originally developed by Pelipoika, FlaminSarge, and Jaster. In the plugin I used TF2Attributes to give the Thruster a near instant recharge time, and added the ability to launch while in air.
PC Gamer 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 15:49.


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