This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[Question] Pyro "push" attribute modification


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KiRRA
Senior Member
Join Date: Nov 2012
Old 02-19-2013 , 13:52   [Question] Pyro "push" attribute modification
Reply With Quote #1

I am looking to rid the Pyro's ability to push other players but still keep the ability to reflect rockets and other projectiles intact.

I have been looking over the items_game.txt and the contained attributes that were linked in the TF2Items FAQ. I found an attribute but I am unsure if it is exactly the one I am looking for. Will this attribute remove the Pyro's ability for ALL push effects, or just player to player pushes?

Currently looking at attribute 23 for "mod flamethrower push".

My code would look something as follows, I THINK...first time looking into TF2Items.

Code:
{
  "*" // All Players
    {
      "*" // All Weapons
        {
          "1"      "23 ; 0"
        }
    }
}
There is also the attribute 254 for "airblast functionality flags" but unsure if that is the one I am looking for either, and if so...how would one go about figuring out the proper value/flags to remove player to player use?

Last edited by KiRRA; 02-19-2013 at 14:15.
KiRRA is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 02-20-2013 , 18:17   Re: [Question] Pyro "push" attribute modification
Reply With Quote #2

Enjoy
PHP Code:
"custom_weapons_v3"
{
    
"*"
    
{
        
"*"
        
{
            
"preserve-attributes"    "1"
            "1"    "254 ; 4.0"
        
}
    }


Last edited by ReFlexPoison; 02-20-2013 at 18:19.
ReFlexPoison is offline
KiRRA
Senior Member
Join Date: Nov 2012
Old 02-20-2013 , 20:49   Re: [Question] Pyro "push" attribute modification
Reply With Quote #3

Awesome, thanks Reflex! I can always count on you. This should help greatly!

Now, dumb question most likely....but is there someplace you can direct me on how you came about the value "4.0" for that entry? I was a bit lost when it said flags so...didn't know how those were determined actually.

Last edited by KiRRA; 02-20-2013 at 20:50.
KiRRA 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 16:15.


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