Помощь с shavit double jump

FusionLight

Участник
Сообщения
71
Реакции
7
Операционная система
Linux
Установлен shavit-core.smx, shavit-hud.smx, shavit-style-doublejump.smx, shavit-wr.smx, shavit-zones.smx.
Кто-нибудь знает как в двойном прыжке shavit-style-doublejump сделать так чтобы при зажатом пробеле игрок не использовал автоматически второй прыжок а продолжал банихопить при этом если он нажал второй раз пробел то прыжок срабатывал второй раз в воздухе.
"Styles"
{
"0"
{
// Accessibility
"enabled" "1" // When disabled, style will be unusable. -1 to also make the style not show in menus.
"inaccessible" "0" // This setting makes it so you can't manually switch to this style but only by functionality from timer modules.

// Strings
"name" "Normal" // Style name.
"shortname" "NM" // Short style name.
"htmlcolor" "797FD4" // HUD style color (CS:GO only).
"command" "n; nm; normal" // Commands to register for style changing, leave empty for no command. use a semicolon as a delimiter - requires server restart.
"clantag" "N" // Short style name for the clantag, not exactly the same as shortname.

// Jumping settings
"autobhop" "1" // Enable autobhopping and +ds?
"easybhop" "1" // Enable easybhop (disable stamina reset)?
"prespeed" "0" // Allow prespeeding regardless of the prespeed server setting? If set to 2, the value of shavit_core_nozaxisspeed will be respected as well.
"velocity_limit" "0.0" // Velocity limit: set to 0.0 for unlimited, 400.00 for 400vel styles etc.
"bunnyhopping" "1" // Per-style sv_enablebunnyhopping. Leave as 1 if you want bunnyhopping to maintain player speed. This setting will override _strafe map settings.

// Physics
"airaccelerate" "1000.0" // sv_airaccelerate value for the style.
"runspeed" "260.00" // Running speed. Requires DHooks, shavit-misc and shavit_misc_staticprestrafe set to 1.
"gravity" "1.0" // Gravity setting, 1.0 for default. Standard for low gravity styles is 0.6.
"speed" "1.0" // Speed multiplier, 1.0 for default. Standard for slowmo styles is 0.5.
"timescale" "1.0" // Timing will scale with this setting.
"velocity" "1.0" // % of horizontal velocity to keep per jump. a value 0.9 will make the player lose 10% of their velocity per jump. Likewise, values above 1 will result in speed gains.
"bonus_velocity" "0.0" // Bonus velocity to gain per jump. If set to e.g. 100.0, the player will gain 100 bonus velocity per jump.
"min_velocity" "0.0" // Minimum amount of horizontal velocity to keep per jump. If set to 600.0, the player can't have less than 600 velocity per jump.
"jump_multiplier" "0.0" // Mulitplier for the vertical velocity per jump. 0.0 for disabled.
"jump_bonus" "0.0" // Bonus vertical velocity to gain per jump. If set to e.g. 100.0, the player will gain 100 bonus vertial velocity per jump.

// Mode settings
"block_w" "0" // Block +forward (W).
"block_a" "0" // Block +moveleft (A).
"block_s" "0" // Block +back (S).
"block_d" "0" // Block +moveright (D).
"block_use" "0" // Block +use (E).
"force_hsw" "0" // Force half-sideways gameplay. 1 for regular HSW and 2 for surf-HSW.
"force_groundkeys" "0" // Forces the above settings even while on ground. e.g. enabling this will not allow W/D or W/A prestrafing when playing styles that disable the keys.
"block_pleft" "0" // Block +left. 2 to stop timer.
"block_pright" "0" // Block +right. 2 to stop timer.
"block_pstrafe" "0" // Prevent button inconsistencies (including +pstrafe). May have false positives when players lag. Will prevent some strafe hacks too. Set this to 2 to also stop the timer.
"kzcheckpoints" "0" // KZ styled checkpoints. They reset upon timer start and you don't get reverted to a save state, and you cannot save when airborne or someone else's checkpoints.

// Feature excluding
"unranked" "0" // Unranked style. No ranking points and no records.
"noreplay" "0" // Disable replay bot for this style. Automatically included for unranked styles.

// Sync/strafes
"sync" "1" // Measure synchronization between strafes.
"strafe_count_w" "0" // Count W (+forward) for the strafe counter.
"strafe_count_a" "1" // Count A (+moveleft) for the strafe counter.
"strafe_count_s" "0" // Count S (+back) for the strafe counter.
"strafe_count_d" "1" // Count D (+moveright) for the strafe counter.

// Rankings
"rankingmultiplier" "1.0" // Rankings points multiplier. Don't use for unranked styles.

// Special flags
"special" "0" // For third-party modules. The core plugins will not need this setting.
"specialstring" "" // For modularity. Separated with semicolon. Built-in flags: "segments".
"permission" "" // Permission required. Syntax: "flag;override". For example "p;style_tas" to require the 'p' flag or the "style_tas" override.
"ordering" "0" // Ordering in menus where styles appear. If this value is not present, style ID will be used instead.
}

"1"
{
"name" "Double Jump"
"shortname" "DJ"
"htmlcolor" "FFA4D0"
"command" "dj; doublejump"
"clantag" "DJ"

"unranked" "0"
"specialstring" "doublejump"
"enabled" "0"
}
}
// This file was auto-generated by SourceMod (v1.10.0.6490)
// ConVars for plugin "shavit-style-doublejump.smx"


// The amount of vertical boost to apply to a player when double jumping.
// -
// Default: "290.0"
// Minimum: "0.000000"
ss_doublejump_force "300.0"

// The maximum amount of times a player can jump in the air after their initial jump.
// -
// Default: "1"
// Minimum: "0.000000"
ss_doublejump_max_double_jumps "2"

// Special string value to use in shavit-styles.cfg
// -
// Default: "doublejump"
ss_doublejump_specialstring "doublejump"
 
Сверху Снизу