Использование
Cvars
- Скачайте архив и распакуйте его
- В
addons\amxmodx\configs\plugins-rt.iniзакомментируйте ненужные модули - Настройте модули. (Настройки находятся в
addons\amxmodx\configs\rt_configs) - Скомпилируйте плагины
- Разместите файлы из архива на сервере согласно иерархии архива
Cvars
| Cvar | По умолч. | Мин. | Макс. | Описание |
|---|---|---|---|---|
| rt_weapons | weapon_* | - | - | Какое оружие выдавать игроку после воскрешения (не более 6) (иначе стандартное из game.cfg) |
| rt_weapons_maps | weapon_* | - | - | Какое оружие выдавать игроку после воскрешения на картах 'awp_' (не более 6) (иначе стандартное из game.cfg) |
| rt_revive_health | 0.0 | 0.0 | - | Сколько здоровья добавлять после воскрешения |
| rt_planting_health | 0.0 | 0.0 | - | Сколько здоровья добавлять после заминирования |
| rt_health | 100.0 | 1.0 | - | Количество здоровья воскрешённого игрока |
| rt_armor_type | 2 | 0 | 2 | 0 - не выдавать броню, 1 - бронежилет, 2 - бронежилет с каской |
| rt_armor | 100 | 0 | - | Количество брони воскрешённого игрока |
| rt_frags | 1 | 0 | - | Количество фрагов за воскрешение |
| rt_restore_death | 0 | 0 | 1 | Удалять точку смерти мёртвого игрока после воскрешения |
| Cvar | По умолч. | Мин. | Макс. | Описание |
|---|---|---|---|---|
| rt_revive_time | 3.0 | 1.0 | - | Длительность воскрешения игрока (в секундах) |
| rt_revive_antiflood | 3.0 | 1.0 | - | Длительность антифлуда воскрешения (в секундах) |
| rt_corpse_time | 30.0 | 0.0 | - | Время жизни трупа (в секундах). Если установить 0, труп живёт до конца раунда. |
| rt_search_radius | 64.0 | 1.0 | - | Радиус поиска трупа |
| rt_force_fwd_mode | 0 | 0 | 1 | Выполнять форварды чаще. Установите 1, если 'rt_no_move 1' работал некорректно. |
| Cvar | По умолч. | Мин. | Макс. | Описание |
|---|---|---|---|---|
| rt_spectator | 1 | 0 | 1 | Автоматически наблюдать за воскрешающим игроком |
| rt_notify_dhud | 1 | 0 | 1 | Уведомление над таймером (DHUD) |
| rt_revive_dhud_colors | 0 255 0 | - | - | Цвета DHUD при воскрешении |
| rt_revive_dhud_coords | -1.0 0.8 | - | - | Координаты DHUD при воскрешении |
| rt_planting_dhud_colors | 255 0 0 | - | - | Цвета DHUD при заминировании |
| rt_planting_dhud_coords | -1.0 0.8 | - | - | Координаты DHUD при заминировании |
| rt_revive_glow | #5da130 | - | - | Цвет свечения воскрешаемого трупа (HEX) |
| rt_planting_glow | #9b2d30 | - | - | Цвет свечения заминированного трупа (HEX) |
| rt_corpse_sprite | sprites/rt/corpse_sprite2.spr | - | - | Спрайт воскрешения над трупом. Чтобы отключить функцию, оставьте cvar пустым |
| rt_sprite_scale | 0.15 | 0.1 | 0.5 | Масштаб спрайта |
| Cvar | По умолч. | Мин. | Макс. | Описание |
|---|---|---|---|---|
| rt_explosion_damage | 255.0 | 1.0 | - | Урон от взрыва |
| rt_explosion_radius | 200.0 | 1.0 | - | Радиус взрыва |
| rt_max_planting | 3 | 1 | - | Максимальное количество заминированных трупов за раунд |
| Cvar | По умолч. | Мин. | Макс. | Описание |
|---|---|---|---|---|
| rt_access | - | - | - | Флаги доступа для воскрешения/заминирования |
| rt_max_revives | 3 | 1 | - | Максимальное количество воскрешений за раунд |
| rt_max_spawns | 2 | 1 | - | Максимальное количество спавнов на игрока за раунд |
| rt_no_fire | 1 | 0 | 1 | Блокировать стрельбу во время воскрешения/заминирования |
| rt_bomb | 1 | 0 | 1 | Нельзя воскрешать/минировать при наличии бомбы |
| rt_duel | 1 | 0 | 1 | Нельзя воскрешать/минировать, если осталось 1x1 |
| rt_survivor | 0 | 1 | 1 | Нельзя воскрешать/минировать, если в одной из команд остался 1 живой игрок |
| rt_min_round | 1 | 1 | - | С какого раунда доступно воскрешение/заминирование |
| rt_no_move | 1 | 0 | 2 | Невозможно двигаться во время воскрешения/заминирования. 0 - разрешено, 1 - не разрешено, 2 - разрешено, но рядом с трупом |
| rt_revive_cost | 0 | 0 | - | Стоимость воскрешения |
| rt_planting_cost | 0 | 0 | - | Стоимость заминирования |
| rt_wins_domination | 5 | 0 | - | Запрет воскрешения/минирования для доминирующей команды (подряд идущие победы) |
| rt_remaining_time | 30.0 | 0.0 | - | Запрет воскрешения/минирования, если до конца раунда осталось мало времени |
| Cvar | По умолч. | Мин. | Макс. | Описание |
|---|---|---|---|---|
| rt_sound_radius | 250.0 | 1.0 | - | Радиус, в котором считать ближайших игроков |
| rt_nearby_players | 0 | 0 | 2 | Проигрывать звук воскрешения/минирования для ближайших игроков. 0 - выкл., 1 - только финальные звуки, 2 - все звуки |
| Cvar | По умолч. | Мин. | Макс. | Описание |
|---|---|---|---|---|
| rt_timer_type | 1 | 0 | 1 | 0 - HUD, 1 - bartime (оранжевая полоса) |
| rt_revive_hud_colors | 0 255 0 | - | - | Цвета HUD при воскрешении |
| rt_revive_hud_coords | -1.0 0.6 | - | - | Координаты HUD при воскрешении |
| rt_planting_hud_colors | 255 0 0 | - | - | Цвета HUD при заминировании |
| rt_planting_hud_coords | -1.0 0.6 | - | - | Координаты HUD при заминировании |
Код:
[revive_start]
rt/revive_start.wav
[revive_loop]
rt/revive_loop.wav
[revive_end]
rt/revive_end.wav
[plant_start]
rt/plant_start.wav
[plant_loop]
rt/plant_loop.wav
[plant_end]
rt/plant_end.wav
Usage
Cvars
- Download the archive and unpack it
- In
addons\amxmodx\configs\plugins-rt.inicomment out unnecessary modules - Configure modules. (Settings are located in
addons\amxmodx\configs\rt_configs) - Compile the plugins
- Place files from the archive on the server according to the hierarchy of the archive
Cvars
| Cvar | Def Var | Min Var | Max Var | Description |
|---|---|---|---|---|
| rt_weapons | weapon_* | - | - | What weapons should be given to the player after resurrection(no more than 6)(otherwise standard from game.cfg) |
| rt_weapons_maps | weapon_* | - | - | What weapons should be given to the player after resurrection on 'awp_' maps(no more than 6)(otherwise standard from game.cfg) |
| rt_revive_health | 0.0 | 0.0 | - | How much more health to add after resurrection |
| rt_planting_health | 0.0 | 0.0 | - | How much more health to add after planting |
| rt_health | 100.0 | 1.0 | - | The number of health of the resurrected player |
| rt_armor_type | 2 | 0 | 2 | 0 - do not issue armor, 1 - bulletproof vest, 2 - bulletproof vest with helmet |
| rt_armor | 100 | 0 | - | Number of armor of the resurrected player |
| rt_frags | 1 | 0 | - | Number of frags for resurrection |
| rt_restore_death | 0 | 0 | 1 | Remove the death point of a dead player after resurrection |
| Cvar | Def Var | Min Var | Max Var | Description |
|---|---|---|---|---|
| rt_revive_time | 3.0 | 1.0 | - | Duration of the player's resurrection(in seconds) |
| rt_revive_antiflood | 3.0 | 1.0 | - | Duration of anti-flood resurrection(in seconds) |
| rt_corpse_time | 30.0 | 0.0 | - | Duration of a corpse's life (in seconds). If you set it to 0, the corpse lives until the end of the round. |
| rt_search_radius | 64.0 | 1.0 | - | Search radius for a corpse |
| rt_force_fwd_mode | 0 | 0 | 1 | Execute forwards more often. Set this to 1 if 'rt_no_move 1' didn't work properly. |
| Cvar | Def Var | Min Var | Max Var | Description |
|---|---|---|---|---|
| rt_spectator | 1 | 0 | 1 | Automatically observe the resurrecting player |
| rt_notify_dhud | 1 | 0 | 1 | Notification above the timer(DHUD) |
| rt_revive_dhud_colors | 0 255 0 | - | - | DHUD's colors at resurrection |
| rt_revive_dhud_coords | -1.0 0.8 | - | - | DHUD's coordinates at resurrection |
| rt_planting_dhud_colors | 255 0 0 | - | - | DHUD's colors at planting |
| rt_planting_dhud_coords | -1.0 0.8 | - | - | DHUD's coordinates at planting |
| rt_revive_glow | #5da130 | - | - | The color of the corpse being resurrected(HEX) |
| rt_planting_glow | #9b2d30 | - | - | The color of the corpse being planted(HEX) |
| rt_corpse_sprite | sprites/rt/corpse_sprite2.spr | - | - | Resurrection sprite over a corpse. To disable the function, leave the cvar empty |
| rt_sprite_scale | 0.15 | 0.1 | 0.5 | Sprite scale |
| Cvar | Def Var | Min Var | Max Var | Description |
|---|---|---|---|---|
| rt_explosion_damage | 255.0 | 1.0 | - | Explosion damage |
| rt_explosion_radius | 200.0 | 1.0 | - | Explosion radius |
| rt_max_planting | 3 | 1 | - | Maximum number of planting corpses per round |
| Cvar | Def Var | Min Var | Max Var | Description |
|---|---|---|---|---|
| rt_access | - | - | - | Access flags for resurrection/planting |
| rt_max_revives | 3 | 1 | - | Maximum number of resurrections per round |
| rt_max_spawns | 2 | 1 | - | Maximum number of spawns per player per round |
| rt_no_fire | 1 | 0 | 1 | Block shooting during resurrection/planting |
| rt_bomb | 1 | 0 | 1 | You cannot resurrect/plant if there is a bomb |
| rt_duel | 1 | 0 | 1 | You can't resurrect/plant if there are 1x1 left |
| rt_survivor | 0 | 1 | 1 | You cannot resurrect/plant if there is 1 live player left in one of the teams |
| rt_min_round | 1 | 1 | - | From which round is resurrection/planting available |
| rt_no_move | 1 | 0 | 2 | Unable to move during resurrection/planting. 0 - allowed, 1 - not allowed, 2 - allowed, but close to corpse |
| rt_revive_cost | 0 | 0 | - | Cost of resurrection |
| rt_planting_cost | 0 | 0 | - | Cost of planting |
| rt_wins_domination | 5 | 0 | - | Prohibition of resurrection/mining for the dominant team(consecutive wins) |
| rt_remaining_time | 30.0 | 0.0 | - | Prohibition resurrection/planting if there is little time left until the end of the round |
| Cvar | Def Var | Min Var | Max Var | Description |
|---|---|---|---|---|
| rt_sound_radius | 250.0 | 1.0 | - | The radius in which to count the nearest players |
| rt_nearby_players | 0 | 0 | 2 | Play the resurrection/landing sound for nearby players. 0 - off, 1 - only ending sounds, 2 - all sounds |
| Cvar | Def Var | Min Var | Max Var | Description |
|---|---|---|---|---|
| rt_timer_type | 1 | 0 | 1 | 0 - HUD, 1 - bartime(orange line) |
| rt_revive_hud_colors | 0 255 0 | - | - | HUD's colors at resurrection |
| rt_revive_hud_coords | -1.0 0.6 | - | - | HUD's coordinates at resurrection |
| rt_planting_hud_colors | 255 0 0 | - | - | HUD's colors at planting |
| rt_planting_hud_coords | -1.0 0.6 | - | - | HUD's coordinates at planting |
Код:
[revive_start]
rt/revive_start.wav
[revive_loop]
rt/revive_loop.wav
[revive_end]
rt/revive_end.wav
[plant_start]
rt/plant_start.wav
[plant_loop]
rt/plant_loop.wav
[plant_end]
rt/plant_end.wav