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

TF2 - Adjust speed of weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lord Max
Senior Member
Join Date: Aug 2008
Location: 127.0.0.1
Old 07-25-2011 , 11:36   TF2 - Adjust speed of weapons
Reply With Quote #1

Back when you could edit CTX files on a TF2 servers, you could adjust the speed of a weapon so it could shoot twice as fast.

Is these a plugin around (I have looked) or could somebody make a plugin that will make all weapons twice as fast?

Similarly, is it possible to increase the speed of the characters so they all move at the same speed as the scout?

Thank you for your help
Lord Max is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 07-25-2011 , 14:43   Re: TF2 - Adjust speed of weapons
Reply With Quote #2

You can still use CTX editing to edit class speeds, that's what I do. As for increasing weapon firing rate, this can be done with Asherkins TF2 Item Attributes plugin, but there may be a plugin that does it a lot easier/quicker.

TF2 Item Attributes: https://forums.alliedmods.net/showthread.php?t=115100
Snaggle is offline
Lord Max
Senior Member
Join Date: Aug 2008
Location: 127.0.0.1
Old 07-26-2011 , 04:41   Re: TF2 - Adjust speed of weapons
Reply With Quote #3

Quote:
Originally Posted by Snaggle View Post
You can still use CTX editing to edit class speeds, that's what I do. As for increasing weapon firing rate, this can be done with Asherkins TF2 Item Attributes plugin, but there may be a plugin that does it a lot easier/quicker.

TF2 Item Attributes: https://forums.alliedmods.net/showthread.php?t=115100
I just looked and can't figure out exactly how this is done?

I am trying to increase the weapon speed and give infinite ammo to all players on the server.

Any ideas?
Lord Max is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 07-26-2011 , 05:32   Re: TF2 - Adjust speed of weapons
Reply With Quote #4

You create a custom weapon with the example file asherkin made then you add in a custom weapon to the official config and you change the weapon that way then you give that weapon in-game to the person with flags...if i'm not mistaken. I don't do custom weapons for my server as it ruins the experience for others(Just my two cents).
Drixevel is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 07-26-2011 , 05:37   Re: TF2 - Adjust speed of weapons
Reply With Quote #5

Quote:
Originally Posted by r3dw3r3w0lf View Post
You create a custom weapon with the example file asherkin made then you add in a custom weapon to the official config and you change the weapon that way then you give that weapon in-game to the person with flags...if i'm not mistaken. I don't do custom weapons for my server as it ruins the experience for others(Just my two cents).
or just use the "*" wildcard for both weapons and steam ids.
__________________
napalm00 is offline
Lord Max
Senior Member
Join Date: Aug 2008
Location: 127.0.0.1
Old 07-26-2011 , 05:52   Re: TF2 - Adjust speed of weapons
Reply With Quote #6

Quote:
Originally Posted by r3dw3r3w0lf View Post
You create a custom weapon with the example file asherkin made then you add in a custom weapon to the official config and you change the weapon that way then you give that weapon in-game to the person with flags...if i'm not mistaken. I don't do custom weapons for my server as it ruins the experience for others(Just my two cents).
Sorry - still confused. Could you give me an example of, say, editing the speed of the heavy's shotgun? Thanks for your help, by the way.

It can ruin gameplay, but it all depends on what style of gameplay you enjoy. To each their own.
Lord Max is offline
napalm00
Veteran Member
Join Date: Jun 2011
Location: Italy, sadly
Old 07-26-2011 , 06:04   Re: TF2 - Adjust speed of weapons
Reply With Quote #7

this is the tf2items.weapons.txt file in the "/config" folder for editing the heavy's shotgun fire speed for all players
PHP Code:
"custom_weapons_v3"
{
   
"*" //All clients
   
{
       
"11"   //heavy's shotgun
       
{
        
"1"        "6 ; 0.5"
       
}
    }

i didn't set the quality and level, note the 0.5 instead of 2 because the value is "inverted_percentage"
So basically
- the first "*" is a wildcard and applies the changes to all clients
- the "11" is the item index for the heavy's shotgun
- the "1" is the number of the attribute (for when you have multiple attributes)
- the "6" is the attribute ID for faster firing speed
- the "0.5" is the value of the attribute, which is 0.5 because it is an inverted percentage (= 2x faster firing speed)
__________________

Last edited by napalm00; 07-26-2011 at 06:10.
napalm00 is offline
Lord Max
Senior Member
Join Date: Aug 2008
Location: 127.0.0.1
Old 07-26-2011 , 06:27   Re: TF2 - Adjust speed of weapons
Reply With Quote #8

Quote:
Originally Posted by napalm00 View Post
this is the tf2items.weapons.txt file in the "/config" folder for editing the heavy's shotgun fire speed for all players
PHP Code:
"custom_weapons_v3"
{
   
"*" //All clients
   
{
       
"11"   //heavy's shotgun
       
{
        
"1"        "6 ; 0.5"
       
}
    }

i didn't set the quality and level, note the 0.5 instead of 2 because the value is "inverted_percentage"
So basically
- the first "*" is a wildcard and applies the changes to all clients
- the "11" is the item index for the heavy's shotgun
- the "1" is the number of the attribute (for when you have multiple attributes)
- the "6" is the attribute ID for faster firing speed
- the "0.5" is the value of the attribute, which is 0.5 because it is an inverted percentage (= 2x faster firing speed)

Makes sense, thank you. So after the heavy shotgun in the same custom weapons section I add the other weapons with the same settings and they will be 2x faster? Just making sure! :p

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

Quote:
Originally Posted by Lord Max View Post
Makes sense, thank you. So after the heavy shotgun in the same custom weapons section I add the other weapons with the same settings and they will be 2x faster? Just making sure! :p

Thanks
exactly, let's say you want a fast-firing flare gun too (for example), so here's the code
PHP Code:
"custom_weapons_v3"
{
   
"*" //All clients
   
{
       
"11"   //heavy's shotgun
       
{
        
"1"        "6 ; 0.5"
       
}
       
"39"   //flare gun
       
{
        
"1"        "6 ; 0.5"
       
}
    }

here is a list of all the tf2 items http://www.tf2items.com/item/schema/?d=1
So basically you just copy the same section
PHP Code:
       "39"   //flare gun
       
{
        
"1"        "6 ; 0.5"
       

over and over again, be sure to change the "39" to each item's name
EDIT :
if you want to make every weapon to fire 2x faster, just use the wildcard for the weapons too
PHP Code:
"custom_weapons_v3"
{
   
"*" //All clients
   
{
       
"*"   //All items
       
{
        
"1"        "6 ; 0.5"
       
}
    }

__________________

Last edited by napalm00; 07-26-2011 at 06:49.
napalm00 is offline
Lord Max
Senior Member
Join Date: Aug 2008
Location: 127.0.0.1
Old 07-26-2011 , 06:48   Re: TF2 - Adjust speed of weapons
Reply With Quote #10

Quote:
Originally Posted by napalm00 View Post
exactly, let's say you want a fast-firing flare gun too (for example), so here's the code
PHP Code:
"custom_weapons_v3"
{
   
"*" //All clients
   
{
       
"11"   //heavy's shotgun
       
{
        
"1"        "6 ; 0.5"
       
}
       
"39"   //flare gun
       
{
        
"1"        "6 ; 0.5"
       
}
    }

here is a list of all the tf2 items http://www.tf2items.com/item/schema/?d=1

EDIT :
if you want to make every weapon to fire 2x faster, just use the wildcard for the weapons too
PHP Code:
"custom_weapons_v3"
{
   
"*" //All clients
   
{
       
"*"   //All items
       
{
        
"1"        "6 ; 0.5"
       
}
    }


Thanks for your help. So does that mean I would have to do this for every single new weapon Valve have added if I want it to be 2x speed? (Or is there a quick way to do it for all weapons?)
Lord Max 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 14:47.


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