AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Double Jump (https://forums.alliedmods.net/showthread.php?t=198410)

darkranger 10-15-2012 14:16

[CS:GO] Double Jump
 
2 Attachment(s)
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!!

Zephyrus 10-15-2012 14:44

Re: [CS:GO] Double Jump
 
http://images.wikia.com/creepypasta/...d-why-text.png

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

darkranger 10-15-2012 15:01

Re: [CS:GO] Double Jump
 
lol? what ?

and i hate your picture. thats not usefull.

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

RedSword 10-15-2012 16:40

Re: [CS:GO] Double Jump
 
Quote:

Originally Posted by Zephyrus (Post 1819523)
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.

Apollyon 10-18-2012 01:19

Re: [CS:GO] Double Jump
 
Why release a separate plugin? The original still works in both CSS and CSGO.

Zephyrus 10-18-2012 01:35

Re: [CS:GO] Double Jump
 
if you want to speed this up, cache convar values

darkranger 10-18-2012 04:55

Re: [CS:GO] Double Jump
 
Quote:

Originally Posted by Apollyon (Post 1820867)
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 .

MasterOfTheXP 10-18-2012 05:05

Re: [CS:GO] Double Jump
 
Quote:

Originally Posted by darkranger (Post 1820939)
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 .

:roll: 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 (Post 1820873)
if you want to speed this up, cache convar values

Quote:

Originally Posted by RedSword (Post 1819615)
Sometimes there is ';' and sometimes not.

That seems like pretty useful commentary, by the way.

darkranger 10-18-2012 06:53

Re: [CS:GO] Double Jump
 
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 :)

RedSword 10-18-2012 15:02

Re: [CS:GO] Double Jump
 
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.


All times are GMT -4. The time now is 09:57.

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