[ANY] Hook Grab Rope (1.1.4)
Опубликовано: 21.03.2013, 13:39
Увеличение картинки
Hook Grab Rope
Описание:
Позволяет администраторам (или всем игрокам) прицепляться к стенам,
захватывать других игроков, или качаться на веревке.
Пример использования:bind q +hook
Квары:
PHP код:
sm_hgr_version Plugin version
sm_hgr_announce (Default 1Announce plugin availability to players (enabledisable
sm_hgr_sound_amplify (Default 3Control sound effect volume (no soundquietloud
sm_hgr_overridemode (Default 0) If enabledonly players who have manually been given access can use plugin (enabledisable
sm_hgr_upbutton (Default IN_JUMPButton to use for ascending ropespushing grab targets, and hooking forward (List herehttp://docs.sourcemod.net/api/index....ad=file&id=47&) 
sm_hgr_downbutton (Default IN_DUCKButton to use for descending ropespulling grab targets, and hooking backward (List herehttp://docs.sourcemod.net/api/index....ad=file&id=47&) 

sm_hgr_hook_enable (Default 1Enable or disable hook feature (enabledisable
sm_hgr_hook_adminonly (Default 1Restrict hook to admins (admin onlyeveryone
sm_hgr_hook_freeze_enable (Default 0Allow players to use hook during freezetime (allowdisallow
sm_hgr_hook_slide_enable (Default 1Allow players to reverse hook direction (allowdisallow
sm_hgr_hook_speed (Default 5.0The speed of the hook
sm_hgr_hook_initwidth (Default 5.0The starting width of the hook beam
sm_hgr_hook_endwidth (Default 5.0The ending width of the hook beam
sm_hgr_hook_amplitude (Default 0.0The amplitude of the hook beam
sm_hgr_hook_color (Default 2The color of the hook (whiteteamcolorcustomreverse teamcolor
sm_hgr_hook_red (Default 255The red component of the beam (if you are using a custom color
sm_hgr_hook_green (Default 0The green component of the beam (if you are using a custom color
sm_hgr_hook_blue (Default 0The blue component of the beam (if you are using a custom color
sm_hgr_hook_alpha (Default 255The alpha component of the beam (if you are using a custom color
sm_hgr_hook_sound (Default "hgr/hookhit.mp3"Location of hook sound effect relative to /sound/music

sm_hgr_grab_enable (Default 1Enable or disable grab feature (enabledisable
sm_hgr_grab_adminonly (Default 1Restrict grab to admins (admin onlyeveryone
sm_hgr_grab_freeze_enable (Default 0Allow players to use grab during freezetime (allowdisallow
sm_hgr_grab_slide_enable (Default 1Allow players to push or pull grab targets (allowdisallow
sm_hgr_grab_speed (Default 5.0The speed of the grab
sm_hgr_grab_initwidth (Default 1.0The starting width of the grab beam
sm_hgr_grab_endwidth (Default 10.0The ending width of the grab beam
sm_hgr_grab_amplitude (Default 0.0The amplitude of the grab beam
sm_hgr_grab_color (Default 2The color of the grab (whiteteamcolorcustomreverse teamcolor
sm_hgr_grab_red (Default 0The red component of the beam (if you are using a custom color
sm_hgr_grab_green (Default 0The green component of the beam (if you are using a custom color
sm_hgr_grab_blue (Default 255The blue component of the beam (if you are using a custom color
sm_hgr_grab_alpha (Default 255The alpha component of the beam (if you are using a custom color
sm_hgr_grab_sound (Default "hgr/hookhit.mp3"Location of grab sound effect relative to /sound/music

sm_hgr_rope_enable (Default 1Enable or disable rope feature (enabledisable
sm_hgr_rope_oldmode (Default 0) Use old rope mode (- Use old modeDon't use old mode [recommended]) 
sm_hgr_rope_adminonly (Default 1) Restrict rope to admins (1 - admin only, 0 - everyone) 
sm_hgr_rope_freeze_enable (Default 0) Allow players to use rope during freezetime (1 - allow, 0 - disallow) 
sm_hgr_rope_slide_enable (Default 1) Allow players to ascend and descend rope (1 - allow, 0 - disallow) 
sm_hgr_rope_speed (Default 5) The speed of the rope 
sm_hgr_rope_initwidth (Default 3.0) The starting width of the rope beam. 
sm_hgr_rope_endwidth (Default 3.0) The ending width of the rope beam. 
sm_hgr_rope_amplitude (Default 0.0) The amplitude of the rope beam. 
sm_hgr_rope_color (Default 2) The color of the rope (0 - white, 1 - teamcolor, 2 - custom, 3 - reverse teamcolor) 
sm_hgr_rope_red (Default 0) The red component of the beam (if you are using a custom color) 
sm_hgr_rope_green (Default 255) The green component of the beam (if you are using a custom color) 
sm_hgr_rope_blue (Default 0) The blue component of the beam (if you are using a custom color) 
sm_hgr_rope_alpha (Default 255) The alpha component of the beam (if you are using a custom color) 
sm_hgr_rope_sound (Default "hgr/hookhit.mp3") Location of rope sound effect relative to /sound/music/
Команды:
PHP код:
hook_toggle Toggles hook on/off 
grab_toggle Toggles grab on
/off 
rope_toggle Toggles rope on
/off 
push_toggle Toggles push on
/off
Админские команды(ADMFLAG_GENERIC):
PHP код:
sm_hgr_givehook <@all/@ct/@t/partial nameGives hook access to a player or group of players
sm_hgr_takehook <@all/@ct/@t/partial nameRemoves hook access from a player or group of players
sm_hgr_givegrab <@all/@ct/@t/partial nameGives grab access to a player or group of players.
Установка:
Распакуйте zip файл в сервер.
Отредактируйте настройки в \cfg\sourcemod\hookgrabrope.cfg
Пример admin_overrides.cfg:
PHP код:
Overrides 

    
"+grab"    "z" 
    "+rope"    "cef" 
}
История обновлений:
Код:
1.0.4 (17 November 2012) 
-Updated plugin to work with latest SourceMod version
-Added alpha convars for beam colors
-Added translations file
-Removed "backdoor" which gave the previous plugin author access to the plugin on all servers
-Changed convar names
-Hooked convar changes for better performance
-Various code optimizations

1.0.5 (18 November 2012)
-Added convar sm_hgr_freeze_enable to disable plugin during freezetime.
-Added sound effects.
-Made error messages less verbose.
-Allow grabbing of non-player entities.
-Improved entity checks.

1.0.6 (19 November 2012)
-Fixed Rope to make it more "rope-like" by recognizing slackness.
-Added convar to control sound effect volume (sm_hgr_sound_amplify).
-Added convars to set custom sound effects for each hook, grab, and rope.
-Separated sm_hgr_freeze_enable into three convars for each hook, grab, and rope.
-Switched to HookEventEx to improve mod compatibility.

1.0.7 (20 November 2012)
-Added chat notifications when client plugin privileges are given or removed.
-Suppressed announcements to only show commands for which client has access.
-Added +push command (basically +hook in the opposite direction).
-Added ability to reverse hook direction by jumping or crouching.
-Added ability to push or pull grab target by jumping or crouching.
-Added ability to ascend or descend rope by jumping or crouching.
-Added natives HGR_Access and HGR_ClientAccess to give plugin authors control over client plugin permissions.
-Added convar sm_hgr_overridemode to prioritize manually set permissions for plugin access (useful in conjunction with the native calls above).
-Shifted hook beam position to make it look nicer.
-Bug fix: The last update caused the plugin to stop working with mods that don't use freezetime (i.e. TF2).
-Bug fix: Admin permission commands now only parse the first string of an argument.

1.0.8a (20 November 2012)
-Bug fix: Fixed errors related to invalid player indices on certain mods by switching to MaxClients.
-Bug fix: Fixed "disabled" plugin issue for mods without a round_start event.
-Added several native functions and forwards for plugin developers.

1.1.0 (21 November 2012)
-Added convars sm_hgr_upbutton and sm_hgr_downbutton to let server administrators set custom buttons (e.g. for ascending and descending ropes).
-Added convars sm_hgr_hook_slide_enable, sm_hgr_grab_slide_enable, sm_hgr_rope_slide_enable to allow or disallow different functions (reversing hook direction, pushing or pulling grab target, and sliding up or down rope).
-By request, added convar sm_hgr_rope_oldmode to enable the "old mode" of rope hooking which pulls you toward walls.
-Bug fix: Previously, several convar changes were not hooked (and thus did not change properly in-game).
-Bug fix: Previously, plugin didn't perform checks properly on the last player to join the server in some cases.
-Changed hook beam location again to improve its look.
-Improved +push.
-Added GetPushLocation and GetPushTarget natives.
-Minor optimizations and fixes.

1.1.1 (22 November 2012)
-Bug fix: Hooking no longer alters player move speeds (in TF2, for instance)
-Added support for admin_overrides.cfg.
-Changed hook, grab, and rope speeds from an integer to a float.
-Sound files are no longer added to the download table if sm_hgr_sound_amplify is 0.
-Plugin now reports admin activity.
-Added convars to adjust beam width and amplitude.
-Added convar to swap team colors for the beam colors.

1.1.2 (29 November 2012)
-Bug fix: Fixed error message when plugin tries to stop an action for client who is no longer alive or in-game.
-Compatibility: Plugin now resets player gravity to its previous value (instead of default gravity) after a player has stopped hooking.
-Stopped players from moving around while they are grabbed.
-Added many natives (such as ForceHook, StopGrab, IsPushing, RopeDistance).

1.1.3 (20 December 2012)
-Bug fix: Fixed error message when player attempts to grab an entity which is no longer valid.
1.1.4 (21 December 2012)
-Bug fix: Previously, the plugin was freezing the grabber instead of the grab target.
Оригинал
Категория: Плагины sourcemod | Добавил: root Просмотров: 15260 | Загрузок: 992 | Комментарии: 3 | Рейтинг: 5.0/31
Скачивать и комментировать могут только зарегистрированные пользователи.

Регистрация или Вход

  1. Комментарии ВКонтакте
  2. Комментарии на сайте
Всего комментариев: 3
root написал(а) 28.04.2016, 18:02
0  
Kirya1613 написал(а) 24.04.2016, 20:56
0   Спам
научите устанавливать, пожалуйста
kartes-css написал(а) 13.05.2013, 20:08
0   Спам
Паутинка как в 1.6 давно мечтал  men