Page 1 of 1

[CS:GO] MultiJump

Posted: Fri Jan 24, 2020 5:28 pm
by Andreeas
Description

This plugin is improved and optimized version of Double Jump plugin. As Darkranger said in his topic: "this plugins lets a player jump by pressing the jump-button again while in air". And it`s exactly what it is.
It`s made and tested for CS:GO, but will work in any games, where Darkranger`s plugin work(not tested).

Changes
Config file is now /cfg/sourcemod/sm_mjump_cfg
It`s renamed to MultiJumps everywhere, prefix for cvars is sm_mjump_
'Enabled' cvar is deleted
sm_mjump_max 0 disables plugin
sm_mjump_max have no raise limitaions
sm_mjump_boost can take any values
Added cvar sm_mjump_announce (0/1) to turn on/off announcement
Announcement doesn`t change either sm_mjump_knife 0 or 1
Announcement notifies client only if multijumps turned on (sm_mjump_max >= 1)
AdminMenu Integration

You can embed option for this plugin in your admin menu with placing in your /sourcemod/configs/adminmenu_custom.txt something like this:

Code: Select all

"Multijumping"
	{
		"cmd"		"sm_mjump_max #1"
		"execute"	"server"
		"admin"		"sm_cvar"
		"1"
		{
			"title"		"Set multijumping mode:"
			"type"		"list"
			"1"			"1"
			"2"			"2"
			"3"			"3"
			"4"			"4"
			"5"			"5"
			"6"			"100"
			"6"			"Unlimited"
			"7"			"0"
			"7."		"Off"
		}
	}

Config

Code: Select all

// Should this plugin announce itself?
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mjump_announce "0"

// The amount of vertical boost to apply to double jumps
// -
// Default: "300.0"
sm_mjump_boost "300.0"

// disable(0) / enable(1) multi-jumping only on Knife Level for AR (GunGame)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_mjump_knife "0"

// Max rejumps count; 0 - disable plugin
// -
// Default: "1"
// Minimum: "0.000000"
sm_mjump_max "1"
Installation

Place .smx and .sp files exactly in your /plugin and /scripting folders of sourcemod directory
You can also download attached cfg file, edit it and place in /csgo/cfg/sourcemod directory, if you don`t want to generate new.


Download
Source