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

[CS:GO] Double Jump


Post New Thread Reply   
 
Thread Tools Display Modes
Author
darkranger
Senior Member
Join Date: Apr 2006
Location: dod_hinterland
Plugin ID:
3300
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    [CS:GO] Double Jump
    Old 10-15-2012 , 14:16   [CS:GO] Double Jump
    Reply With Quote #1

    Description:

    THE TITLE SAYS ALL !
    this plugins lets a player jump by pressing the jump-button again while in air.

    Differences to Peagus original CSS script:
    - mine had a cvar for double-jumping only on Knife Level for AR-Mode.
    - and the original plugin works with "OnGameFrame". which costs more power than mine (i use OnPlayerRunCommand).


    this should work in CSS too. feel free to test it!

    Update 16.10.2012: some fixes in typos and "OnPlayerRunCommand"!

    CVars:
    will be autogenerated after 1st plugin start in the cfg folder!
    Code:
    "csgo_doublejump_enabled" "1" //"disable(0) / enable(1) double-jumping"
    "csgo_doublejump_knife" "1"	//"disable(0) / enable(1) double-jumping only on Knife Level for AR (GunGame)"
    "csgo_doublejump_boost" "300.0" //"The amount of vertical boost to apply to double jumps"
    "csgo_doublejump_max" "1" //"The maximum number of re-jumps allowed while already jumping"
    Requirements:
    SDK HOOKS

    Credits:
    Original Script from Peagus! http://forums.alliedmods.net/showthread.php?p=895212


    Servers running plugin:
    Game-Monitor
    Gametracker

    I use this on my ArmsRace (GunGame progressive Mode) Server and is only tested there!
    The plugin while not compile on the forum!!
    Attached Files
    File Type: sp Get Plugin or Get Source (cs_go_double_jump.sp - 5322 views - 5.7 KB)
    File Type: smx cs_go_double_jump.smx (5.5 KB, 5844 views)

    Last edited by darkranger; 06-06-2013 at 03:23.
    darkranger is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 10-15-2012 , 14:44   Re: [CS:GO] Double Jump
    Reply With Quote #2



    just stick with onplayerruncmd and make it work without checking the direction? simple bit operations wont cost any noticable performance loss even if you do like 10k / frame
    __________________
    Taking private C++/PHP/SourcePawn requests, PM me.
    Zephyrus is offline
    darkranger
    Senior Member
    Join Date: Apr 2006
    Location: dod_hinterland
    Old 10-15-2012 , 15:01   Re: [CS:GO] Double Jump
    Reply With Quote #3

    lol? what ?

    and i hate your picture. thats not usefull.

    edit: it seems i have found out what you mean and fixed it. hopefully.

    Last edited by darkranger; 10-16-2012 at 10:41.
    darkranger is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 10-15-2012 , 16:40   Re: [CS:GO] Double Jump
    Reply With Quote #4

    Quote:
    Originally Posted by Zephyrus View Post
    just stick with onplayerruncmd and make it work without checking the direction? simple bit operations wont cost any noticable performance loss even if you do like 10k / frame
    +

    Sometimes there is ';' and sometimes not.

    +

    " " (\t) vs " " ( ).

    +

    There is only "m_vecVelocity" as mod-dependent thing, which I believe is present in CS:S and many other mods.

    Otherwise cool thing.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 10-15-2012 at 16:40.
    RedSword is offline
    Apollyon
    SourceMod Donor
    Join Date: Dec 2007
    Location: California
    Old 10-18-2012 , 01:19   Re: [CS:GO] Double Jump
    Reply With Quote #5

    Why release a separate plugin? The original still works in both CSS and CSGO.
    __________________

    Last edited by Apollyon; 10-18-2012 at 01:21.
    Apollyon is offline
    Zephyrus
    Cool Pig B)
    Join Date: Jun 2010
    Location: Hungary
    Old 10-18-2012 , 01:35   Re: [CS:GO] Double Jump
    Reply With Quote #6

    if you want to speed this up, cache convar values
    __________________
    Taking private C++/PHP/SourcePawn requests, PM me.

    Last edited by Zephyrus; 10-18-2012 at 01:35.
    Zephyrus is offline
    darkranger
    Senior Member
    Join Date: Apr 2006
    Location: dod_hinterland
    Old 10-18-2012 , 04:55   Re: [CS:GO] Double Jump
    Reply With Quote #7

    Quote:
    Originally Posted by Apollyon View Post
    Why release a separate plugin? The original still works in both CSS and CSGO.
    cos mine had a cvar for double-jumping only on Knife Level for AR-Mode.
    and the original is "ongameframe". mine not!
    and thats why i have written it for my own server and thought i could share it.

    but it seems some people only post useless commentary, so i decide not to release any more plugins here. i dont want to read such useless comments .
    darkranger is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 10-18-2012 , 05:05   Re: [CS:GO] Double Jump
    Reply With Quote #8

    Quote:
    Originally Posted by darkranger View Post
    but it seems some people only post useless commentary, so i decide not to release any more plugins here. i dont want to read such useless comments .
    If your plugin does stuff better than another plugin, you should state how it is better in the OP instead of waiting for people to say that it's pointless.

    Note your keyword, by the way. "Some". Some people weren't sure of why it was better, so you're quitting the whole forum?
    Quote:
    Originally Posted by Zephyrus View Post
    if you want to speed this up, cache convar values
    Quote:
    Originally Posted by RedSword View Post
    Sometimes there is ';' and sometimes not.
    That seems like pretty useful commentary, by the way.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    darkranger
    Senior Member
    Join Date: Apr 2006
    Location: dod_hinterland
    Old 10-18-2012 , 06:53   Re: [CS:GO] Double Jump
    Reply With Quote #9

    the useless posts were from Zephyrus(his 1st post) & Apollyon!
    not the other ones.

    critics and improvements are always welcome.

    Quote:
    ...... weren't sure of why it was better, so you're quitting the whole forum?
    no! but i stop to release other plugins.


    and now we should stop this conversation.

    if someone want to use this plugin, he should use it. if not, then not.
    i have no problem with both options
    darkranger is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 10-18-2012 , 15:02   Re: [CS:GO] Double Jump
    Reply With Quote #10

    Zephyrus post is the most constructive (in term of performance IMO). As proof you changed accordingly your plugin...

    Apollyon's post is really relevent for other people wondering the same thing (I did also wonder why CSS version wouldn't work in GO; but didn't try).

    As for me, I only did tip you on getting your plugin approved.

    This is a forum, not your blog... I don't think you can deny people asking question about your open source plugin or help you get approved... And I don't mean to be harsh but realistic.
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 10-18-2012 at 15:03.
    RedSword 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 14:34.


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