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

[CS:GO] Change Weapon Speeds(v1.01 9/19/2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Rachnus
Senior Member
Join Date: Jun 2016
Location: Funland
Plugin ID:
5836
Plugin Version:
v1.01
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Change the real speed of individual weapons (Not lagged movement speed)
    Old 09-19-2017 , 15:13   [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #1

    Change Weapon Speeds

    REQUIRES DHOOKS EXTENSION (Download)

    Plugin requested by ASKER_CZ (https://forums.alliedmods.net/showthread.php?t=301370)

    Description
    Allows you to change the speed of each individual weapon in a config

    ConVars
    • changeweaponspeeds_warmup_only - 0 - Only change speeds on warmup

    Installation
    Quote:
    • plugins/changeweaponspeeds.smx goes in csgo/addons/sourcemod/plugins
    • gamedata/changeweaponspeeds.games.txt goes in csgo/addons/sourcemod/gamedata
    • configs/weaponspeeds.ini goes in csgo/addons/sourcemod/configs
    Extra
    "Why would I use this plugin instead of changing items_game.txt"
    Quote:
    Quote:
    Originally Posted by Rachnus View Post
    I didnt publish it on alliedmods cuz I realized a minute after I finished the plugin that you can just change your speed by editing scripts/items_game.txt lol

    Quote:
    Originally Posted by sneaK View Post
    Trouble with this, is that every update that messes with weapons, a new case is added, etc. this gets overwritten, and Valve has been doing this a lot lately
    DOWNLOAD
    __________________
    Github: https://github.com/jimppan
    Steam: http://steamcommunity.com/id/jimppan
    _____________________________________________ _________
    Taking private requests
    Rachnus is offline
    micapat
    Veteran Member
    Join Date: Feb 2010
    Location: Nyuu, nyuu (France).
    Old 09-19-2017 , 15:44   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #2

    Good job ! Some remarks:

    1. I don't think it's useful to hook the player spawn, OnWeaponSwitchPost should be enough.

    2. You can reduce your configuration file ==> If a weapon isn't specified, use the live value. If one day Valve change the speed of a weapon, you will need to update your configuration file...

    3. About your configuration file, did you consider to use the KeyValues system?

    4. For WeaponClassNameToCSWeaponID(), you should certainly use a StringMap, this switch is quite big ;).
    __________________
    micapat is offline
    Obyboby
    Veteran Member
    Join Date: Sep 2013
    Old 09-19-2017 , 16:05   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #3

    Thanks for this release
    __________________
    Obyboby is offline
    poel
    Veteran Member
    Join Date: Mar 2013
    Old 04-07-2018 , 03:18   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #4

    Hi,

    Plugin is down for me. Can"t make it works on a basic server.

    Is it normal ? is there any support ?

    thks
    poel is offline
    Agent Wesker
    Senior Member
    Join Date: Apr 2012
    Old 05-18-2018 , 21:52   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #5

    Doesn't seem to be working at the moment, does it need a gamedata update?
    Agent Wesker is offline
    Agent Wesker
    Senior Member
    Join Date: Apr 2012
    Old 05-23-2018 , 13:45   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #6

    Bump, looks like it did need a gamedata update

    Also included a simple edit to close the file handle, without which you would need to restart the server every time you change the weaponspeeds.ini config.
    Attached Files
    File Type: txt changeweaponspeeds.games.txt (137 Bytes, 606 views)
    File Type: sp Get Plugin or Get Source (changeweaponspeeds.sp - 475 views - 10.6 KB)
    File Type: smx changeweaponspeeds.smx (8.8 KB, 536 views)
    File Type: ini changeweaponspeeds.ini (527 Bytes, 454 views)

    Last edited by Agent Wesker; 05-24-2018 at 15:09.
    Agent Wesker is offline
    eyal282
    Veteran Member
    Join Date: Aug 2011
    Old 08-16-2018 , 05:46   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #7

    Quote:
    Originally Posted by Agent Wesker View Post
    Bump, looks like it did need a gamedata update

    Also included a simple edit to close the file handle, without which you would need to restart the server every time you change the weaponspeeds.ini config.
    Doesn't work.
    __________________
    I am available to make plugins for pay.

    Discord: Eyal282#1334
    eyal282 is offline
    deville
    AlliedModders Donor
    Join Date: Oct 2016
    Old 10-02-2018 , 08:13   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #8

    So this wont work? Im not at home so I cant test it, but I'm interested.
    deville is offline
    Agent Wesker
    Senior Member
    Join Date: Apr 2012
    Old 10-02-2018 , 16:42   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #9

    Quote:
    Originally Posted by deville View Post
    So this wont work? Im not at home so I cant test it, but I'm interested.
    I ended up creating a new plugin that edits the weapon scripts directly, it works 100% in my testing.

    If you need it send me a PM.
    Agent Wesker is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 10-02-2018 , 16:56   Re: [CS:GO] Change Weapon Speeds(v1.01 9/19/2017)
    Reply With Quote #10

    Quote:
    Originally Posted by Agent Wesker View Post
    I ended up creating a new plugin that edits the weapon scripts directly, it works 100% in my testing.

    If you need it send me a PM.
    Cant you share here?
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Reply


    Thread Tools
    Display Modes

    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 01:24.


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