Raised This Month: $52 Target: $400
 13% 

Custom Speed & Gravity


Post New Thread Reply   
 
Thread Tools Display Modes
Author
apocalyptic
Senior Member
Join Date: Feb 2013
Location: China
Plugin ID:
3573
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    gives player your custom speed and gravity when he is holding a knife
    Old 03-16-2013 , 01:50   Custom Speed & Gravity
    Reply With Quote #1

    As the description above, this plugin gives a custom speed and/or gravity when he is holding a knife.
    You can modify the source code to change the default values.
    Default (knife) speed: 1.2 (120% of normal, you can run faster.)
    Default (knife) gravity: 0.8 (80% of normal, you can jump higher.)
    Attached Files
    File Type: zip CustomSpeed&Gravity.zip (4.3 KB, 1001 views)
    File Type: smx CustomSpeed&Gravity.smx (3.6 KB, 429 views)
    File Type: sp Get Plugin or Get Source (CustomSpeed&Gravity.sp - 1533 views - 1,020 Bytes)
    apocalyptic is offline
    ehsan.blade
    Junior Member
    Join Date: Mar 2013
    Old 03-16-2013 , 18:14   Re: Custom Speed & Gravity
    Reply With Quote #2

    Love you man!!! I don't know how to thank you!!!
    ehsan.blade is offline
    VJScope
    Senior Member
    Join Date: Jul 2012
    Location: Finland
    Old 04-05-2013 , 04:25   Re: Custom Speed & Gravity
    Reply With Quote #3

    Good idea. Can you add a command (like !knifeonly) so the player has to use that command and all weapons - except knife, vethelm and nades - are restricted to get that speed and/or gravity? Some people could abuse knifeboost and still shoot.
    __________________
    Don't think the same I think, just think what I'm saying. Think about it!
    VJScope is offline
    ApexPredator
    SourceMod Donor
    Join Date: Apr 2013
    Old 04-07-2013 , 03:43   Re: Custom Speed & Gravity
    Reply With Quote #4

    Can you make a config file?
    I like it but I want to be able to change the values.
    I tried downloading source and compiling on my pc (rather than using webcompiler)
    but it still didn't work.

    How do I edit the settings?
    ApexPredator is offline
    TheGodKing
    BANNED
    Join Date: Dec 2012
    Location: PrintToChatAll("Aus
    Old 04-08-2013 , 04:04   Re: Custom Speed & Gravity
    Reply With Quote #5

    Quote:
    Originally Posted by ApexPredator View Post
    Can you make a config file?
    I like it but I want to be able to change the values.
    I tried downloading source and compiling on my pc (rather than using webcompiler)
    but it still didn't work.

    How do I edit the settings?
    At the risk of hijacking this plugin I added cvars to change the speed and gravity values on the go seeing as the author has been inactive of late, I hope it helps.

    As for compiling it make sure you have the sdkhooks include file.

    Apocalyptic please let me know when you plan on updating your plugin and I'll remove this post.
    Attached Files
    File Type: sp Get Plugin or Get Source (CustomSpeed&Gravity.sp - 619 views - 1.4 KB)

    Last edited by TheGodKing; 04-08-2013 at 04:15. Reason: Spell Check
    TheGodKing is offline
    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 23:31.


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