ReDeathmatch

ReDeathmatch 1.0.0-b11

Нет прав для скачивания
Сообщения
2,751
Реакции
3,017
Помог
61 раз(а)
FoxStaRGoD, флаги доступа настраиваются в AMXMODX конфигурации cmdaccess.ini
 
Последнее редактирование:
Сообщения
47
Реакции
-5
"mp_freeforall": "1",
"mp_friendlyfire": "0", почему то все равно работает командой атака
 
Сообщения
47
Реакции
-5
"mp_freeforall": "0", нужно было. спс
 
Последнее редактирование:
Сообщения
35
Реакции
1
Поставил ReDeathmatch 1.0.0-b11, тестирую на ботах yaPB 4.4.957.
И странное дело, после рестарта сервера настройки из gamemode_deathmatch.json применяются не сразу, а через продолжительное время (пока не могу отловить от чего это зависит).
Т.е. бот убивает бота, респауна убитого не происходит и оставшийся в живых бот просто бегает один по карте.
Выполняю в консоли redm_dump_cvars:
| # | CVar | old | current |
| -- | -------------------------------- | -------- | -------- |
| 1 | mp_freezetime | 6 | 0 |
| 2 | mp_buytime | 1.5 | 0.25 |
| 3 | mp_show_radioicon | 1 | 0 |
| 4 | mp_item_staytime | 300 | 300 |
| 5 | redm_mode_vote_enable | 1 | 0 |
| 6 | mp_roundrespawn_time | 20 | 0 |
| 7 | mp_roundtime | 5 | 1.75 |
| 8 | mp_weapons_allow_map_placed | 1 | 1 |
| 9 | redm_hide_other_deathnotice | 0 | 1 |
| 10 | mp_forcerespawn | 0 | 0 |
| 11 | mp_give_player_c4 | 1 | 1 |
| 12 | bot_join_after_player | | |
| 13 | mp_ct_default_weapons_primary | | |
| 14 | mp_limitteams | 2 | 0 |
| 15 | bot_deathmatch | | |
| 16 | redm_healer_hs | 20 | 5 |
| 17 | redm_hitsound | 0 | 1 |
| 18 | mp_free_armor | 0 | 0 |
| 19 | mp_scoreboard_showhealth | 3 | -1 |
| 20 | mp_startmoney | 800 | 800 |
| 21 | mp_t_default_weapons_primary | | |
| 22 | bot_quota_mode | | |
| 23 | mp_autoteambalance | 1 | 2 |
| 24 | mp_infinite_ammo | 0 | 2 |
| 25 | redm_equip_menu_open_by_g | 1 | 0 |
| 26 | mp_scoreboard_showmoney | 3 | -1 |
| 27 | redm_healer | 10 | 2 |
| 28 | mp_refill_bpammo_weapons | 0 | 0 |
| 29 | mp_round_infinite | 0 | 1 |
| 30 | mp_radio_maxinround | 60 | 60 |
| 31 | bot_defer_to_human | | |
| 32 | redm_block_drop_weapon | 1 | 0 |
Хотя в gamemode_deathmatch.json:
JSX:
{
    "equip": {
        "primary": [
            "weapon_m4a1",
            "weapon_ak47",
            "weapon_famas",
            "weapon_galil",
            "weapon_awp",
            "weapon_mp5navy",
            "weapon_p90",
            "weapon_aug",
            "weapon_sg552",
            "weapon_scout",
            "weapon_ump45",
            "weapon_sg550",
            "weapon_m249",
            "weapon_g3sg1",
            "weapon_m3",
            "weapon_xm1014",
            "weapon_tmp",
            "weapon_mac10"
        ],
        "secondary": [
            "weapon_usp",
            "weapon_glock18",
            "weapon_deagle",
            "weapon_p228",
            "weapon_elite",
            "weapon_fiveseven"
        ],
        "botEquip": {
            "primary": [
                "weapon_famas",
                "weapon_galil"
            ],
            "secondary": [
                "weapon_deagle",
                "weapon_p228",
                "weapon_elite"
            ]
        }
    },
    "cvars": {
    // ReDM: Spawns
        /* Enables the system of selecting spawns.
        0 - disable
        1 - for all
        2 - only for T
        3 - only for CT */
        "redm_randomspawn": "1",

        /* Check the spawn point for visibility by enemies (line of sight).
        0 - disable
        1 - enable */
        "redm_randomspawn_los": "1",

        // Minimum distance to the enemy to enable spawn checks.
        "redm_randomspawn_dist": "1500",

        /* Name of the spawn manager style.
        `none`,
        `preset`,
        `random` - (beta) */
        "redm_spawn_preset": "preset",

    // ReDM: Features
        /* Enable a barrier in the middle of the map (`anti-rush' system).
        It dont work on `de_`, `cs_` `css_` maps. */
        "redm_aim_barrier": "0",

        /* Barrier display mode
        `0` - disable,
        `1` - display permanently (beta),
        `2` - display only when touched. */
        "redm_aim_barrier_always_show": "2",

        // Open equip menu by pressing `G` (drop command).
        "redm_equip_menu_open_by_g": "0",

        // Block the ability to drop the weapon.
        "redm_block_drop_weapon": "0",

        // Enable equip manager.
        "redm_equip_manager": "1",

        // Restore weapon slot on respawn.
        "redm_keep_weapon_slot": "0",

        // Open weapon equip menu on spawn.
        "redm_open_equip_menu": "0",

        // How much to restore HP when killing an enemy.
        "redm_healer": "2",

        // How much to restore HP when killing with HS an enemy.
        "redm_healer_hs": "5",

        // Mute the sounds of other players at a distance.
        "redm_sounds_distance": "1500",

        // Highlight the display when you kill someone.
        "redm_fade": "1",

        // Kill highlights color [RGBA]
        "redm_fade_colors": "0 200 0 50",

        // Refill ammo on kills.
        "redm_refill_ammo": "1",

        // Play a sound when an enemy is hit.
        "redm_hitsound": "1",

        // Enable hits only in HS.
        "mp_damage_headshot_only": "0",

        // Hide other players' killfeed.
        "redm_hide_other_deathnotice": "12",

        // On spawn protection colors [RGBA]
        "redm_protection_color_t": "200 0 0 15",
        "redm_protection_color_ct": "0 0 200 15",

         /* Number of times a team can
        have players respawn before they stop
        being able to respawn.
        `0` - disabled */
        "redm_tickets": "0",

        // Tickets HUD update frequency.
        "redm_tickets_hud_update_freq": "1.0",

        // Minimum percentage of tickets to start blinking.
        "redm_tickets_hud_blink_percent": "10",

        /* Ticket HUD display type.
            0 - without colors and effects;
            1 - color, with effects. */
        "redm_tickets_hud_type": "1",

        // Tickets HUD X position.
        "redm_tickets_hud_x": "0.5",

        // Tickets HUD Y position.
        "redm_tickets_hud_y": "0.12",

        // Space between tickets for teams (when type = 2).
        "redm_tickets_hud_gap": "10",

    // ReDM: Modes
        /* Game mode change mode.
            `0`, `disable` - disable modes
            `random` - random change
            `sequentially` - sequential mode change
        */
        "redm_modes_switch": "0",

        // Enable voting for the next game mode.
        "redm_mode_vote_enable": "0",

        // Time to vote for the next mode (sec).
        "redm_mode_vote_time": "15",

        // How many times can the game mode be extended.
        "redm_mode_vote_extend_times": "1",

        // Mode title HUD X position.
        "redm_mode_title_hud_x": "-1.0",

        // Mode title HUD Y position.
        "redm_mode_title_hud_y": "0.85",

    // ReGameDLL Settings
        "mp_freeforall": "0",
        "bot_deathmatch": "0",
        "bot_defer_to_human": "0",
        "bot_join_after_player": "0",
        "bot_quota_mode": "fill",
        "mp_autoteambalance": "0",
        "mp_buytime": "0",
        "mp_ct_default_grenades": "",
        "mp_t_default_grenades": "",
        "mp_t_default_weapons_primary": "ak47",
        "mp_ct_default_weapons_primary": "m4a1",
        "mp_t_default_weapons_secondary": "glock18",
        "mp_ct_default_weapons_secondary": "usp",
        "mp_forcerespawn": "1",
        "mp_free_armor": "2",
        "mp_freezetime": "0",
        "mp_give_player_c4": "0",
        "mp_infinite_ammo": "2",
        "mp_item_staytime": "0",
        "mp_limitteams": "0",
        "mp_startmoney": "0",
        "mp_playerid": "0",
        "mp_radio_maxinround": "0",
        "mp_refill_bpammo_weapons": "3",
        "mp_round_infinite": "1",
        "mp_scoreboard_showhealth": "0",
        "mp_scoreboard_showmoney": "0",
        "mp_show_radioicon": "0",
        "mp_weapons_allow_map_placed": "0",
        "mp_roundrespawn_time": "9999999",
        "mp_roundtime": "0"
    },
    "modes": [
        {
            "name": "PISTOLS_ONLY_HS",
            "equip": {
                "secondary": [
                    "weapon_usp",
                    "weapon_glock18",
                    "weapon_deagle",
                    "weapon_p228",
                    "weapon_elite",
                    "weapon_fiveseven"
                ]
            },
            "cvars": {
                "mp_damage_headshot_only": "1",
                "mp_t_default_weapons_primary": "",
                "mp_ct_default_weapons_primary": "",
                "mp_free_armor": "0"
            }
        },
        {
            "name": "SECOND_ROUND_WEAPONS",
            "equip": {
                "primary": [
                    "weapon_scout",
                    "weapon_famas",
                    "weapon_galil",
                    "weapon_mp5navy",
                    "weapon_p90",
                    "weapon_ump45",
                    "weapon_m3",
                    "weapon_xm1014",
                    "weapon_tmp",
                    "weapon_mac10"
                ],
                "secondary": [
                    "weapon_usp",
                    "weapon_glock18",
                    "weapon_deagle",
                    "weapon_p228",
                    "weapon_elite",
                    "weapon_fiveseven"
                ]
            },
            "cvars": {
                "mp_t_default_weapons_primary": "scout",
                "mp_ct_default_weapons_primary": "scout",
                "mp_t_default_weapons_secondary": "deagle",
                "mp_ct_default_weapons_secondary": "deagle",
                "mp_free_armor": "1"
            }
        },
        {
            "name": "ALL_WEAPONS_HS_ONLY",
            "cvars": {
                "mp_damage_headshot_only": "1"
            }
        },
        {
            "name": "ALL_WEAPONS"
        }
    ]
}
Через некоторое время настройки все же подтягиваются и плагин начинает работать как надо:
Dump saved CVars:
| # | CVar | old | current |
| -- | -------------------------------- | -------- | -------- |
| 1 | mp_freezetime | 6 | 0 |
| 2 | mp_buytime | 1.5 | 0 |
| 3 | mp_show_radioicon | 1 | 0 |
| 4 | mp_item_staytime | 300 | 0 |
| 5 | redm_mode_vote_enable | 1 | 0 |
| 6 | mp_roundrespawn_time | 20 | 9999999 |
| 7 | mp_roundtime | 5 | 0 |
| 8 | mp_weapons_allow_map_placed | 1 | 0 |
| 9 | redm_hide_other_deathnotice | 0 | 1 |
| 10 | mp_forcerespawn | 0 | 1 |
| 11 | mp_give_player_c4 | 1 | 0 |
| 12 | bot_join_after_player | | |
| 13 | mp_ct_default_weapons_primary | | m4a1 |
| 14 | mp_limitteams | 2 | 0 |
| 15 | bot_deathmatch | | |
| 16 | redm_healer_hs | 20 | 5 |
| 17 | redm_hitsound | 0 | 1 |
| 18 | mp_free_armor | 0 | 2 |
| 19 | mp_scoreboard_showhealth | 3 | 0 |
| 20 | mp_startmoney | 800 | 0 |
| 21 | mp_t_default_weapons_primary | | ak47 |
| 22 | bot_quota_mode | | |
| 23 | mp_autoteambalance | 1 | 0 |
| 24 | mp_infinite_ammo | 0 | 2 |
| 25 | redm_equip_menu_open_by_g | 1 | 0 |
| 26 | mp_scoreboard_showmoney | 3 | 0 |
| 27 | redm_healer | 10 | 2 |
| 28 | mp_refill_bpammo_weapons | 0 | 3 |
| 29 | mp_round_infinite | 0 | 1 |
| 30 | mp_radio_maxinround | 60 | 0 |
| 31 | bot_defer_to_human | | |
| 32 | redm_block_drop_weapon | 1 | 0 |

Ошибок в логах нет.
В чём может быть причина?
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу