Raised This Month: $51 Target: $400
 12% 

TF2 - Adjust speed of weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Lord Max
Senior Member
Join Date: Aug 2008
Location: 127.0.0.1
Old 07-26-2011 , 09:38   Re: TF2 - Adjust speed of weapons
Reply With Quote #21

Quote:
Originally Posted by r3dw3r3w0lf View Post
Someone really needs to make this a plugin and not have to do it through TF2Items. lol I would install it quickly.
Agreed. It'd be pretty useful.

You offering? ;)
Lord Max is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 07-26-2011 , 09:48   Re: TF2 - Adjust speed of weapons
Reply With Quote #22

Quote:
Originally Posted by r3dw3r3w0lf View Post
Someone really needs to make this a plugin and not have to do it through TF2Items. lol I would install it quickly.
what do you mean by "not have to do it through TF2Items" ?
of course you could do a for cycle in a plugin, but why should we make a plugin to do this when we have this handy extension that with some good configuring can do a fine job?
__________________
napalm00 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-26-2011 , 11:34   Re: TF2 - Adjust speed of weapons
Reply With Quote #23

Use preserve-attributes not preserve_attributes, the latter was a typo and will be removed in a future version.
__________________
asherkin is offline
Lord Max
Senior Member
Join Date: Aug 2008
Location: 127.0.0.1
Old 07-26-2011 , 16:37   Re: TF2 - Adjust speed of weapons
Reply With Quote #24

Quote:
Originally Posted by napalm00 View Post
what do you mean by "not have to do it through TF2Items" ?
of course you could do a for cycle in a plugin, but why should we make a plugin to do this when we have this handy extension that with some good configuring can do a fine job?
Do you know if it is possible to edit the follow factors:

- Damage done by each weapon
- Weapon projectile
- Weapon damage radius (for explosives)

Thanks
Lord Max is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 07-26-2011 , 16:51   Re: TF2 - Adjust speed of weapons
Reply With Quote #25

here is the list http://wiki.teamfortress.com/wiki/Li...tem_Attributes
be sure to check if the value is percentage or inverted_percentage.
not sure what you mean by weapon projectile
__________________

Last edited by napalm00; 07-27-2011 at 02:07.
napalm00 is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 07-26-2011 , 20:45   Re: TF2 - Adjust speed of weapons
Reply With Quote #26

I mean there's a plugin for Infinite Ammo, Powerplay, and just all types of plugins that have the ability to just put in a CVAR to enable and disable. The extension is handy and people can use that but i'm saying it'd be easier to just have a plugin that does it for you. I personally don't need it but if one does come out, i would definitely install that post-haste.

Put in a CVAR to enable it on any weapon then disable it with the same CVAR or different CVAR. It's fairly easy but i myself am not a coder so i have no idea how to make it. I'm just giving my two cents on my idea i randomly had. lol
Drixevel is offline
Lord Max
Senior Member
Join Date: Aug 2008
Location: 127.0.0.1
Old 07-27-2011 , 04:19   Re: TF2 - Adjust speed of weapons
Reply With Quote #27

Quote:
Originally Posted by napalm00 View Post
here is the list http://wiki.teamfortress.com/wiki/Li...tem_Attributes
be sure to check if the value is percentage or inverted_percentage.
not sure what you mean by weapon projectile
If I wanted say the heavy shotgun to be 4x fast and all other weapons to be 2x as fast - could I set the both the all weapons code AND the heavy shotgun in the code or would the all weapon code override the heavy shotgun code to make it 2x again?

Thanks
Lord Max is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 07-27-2011 , 04:30   Re: TF2 - Adjust speed of weapons
Reply With Quote #28

Quote:
Originally Posted by Lord Max View Post
If I wanted say the heavy shotgun to be 4x fast and all other weapons to be 2x as fast - could I set the both the all weapons code AND the heavy shotgun in the code or would the all weapon code override the heavy shotgun code to make it 2x again?

Thanks
Wow... ehm to be honest i have no idea, i think the extension reads from the starting to the end and doesn't loop on every game frame. correct me if I'm wrong

So in my opinion, it should look like :

PHP Code:
"custom_weapons_v3" 

   
"*" //All clients 
   

       
"*"   //All weapons 
       

        
"preserve-attributes" "1" 
        "1"        "6 ; 0.5" 
       

      
"11"   //Heavy's shotgun
       

        
"preserve-attributes" "1" 
        "1"        "6 ; 0.25" 
       

    } 

__________________
napalm00 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-27-2011 , 05:46   Re: TF2 - Adjust speed of weapons
Reply With Quote #29

Quote:
Originally Posted by napalm00 View Post
PHP Code:
"custom_weapons_v3" 

   
"*" //All clients 
   

       
"*"   //All weapons 
       

        
"preserve-attributes" "1" 
        "1"        "6 ; 0.5" 
       

      
"11"   //Heavy's shotgun
       

        
"preserve-attributes" "1" 
        "1"        "6 ; 0.25" 
       

    } 

Other way around:
PHP Code:
"custom_weapons_v3" 

   
"*" //All clients 
   

      
"11"   //Heavy's shotgun
       

        
"preserve-attributes" "1" 
        "1"        "6 ; 0.25" 
       

       
"*"   //All weapons 
       

        
"preserve-attributes" "1" 
        "1"        "6 ; 0.5" 
       

    } 

__________________
asherkin is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 07-27-2011 , 06:48   Re: TF2 - Adjust speed of weapons
Reply With Quote #30

Ok i thought it would set the fire speed first to 4x faster for the shotgun and then re-set it to 2x for every weapon, but xD i failed hard
Thanks for the explanation
__________________
napalm00 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 18:56.


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