View Single Post
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