This commit is contained in:
shoopea
2026-03-31 22:13:05 +02:00
parent cb6f5e3cfc
commit 59123c99e4
3 changed files with 119 additions and 109 deletions

117
cfg/live_prophunt.cfg Normal file
View File

@@ -0,0 +1,117 @@
ammo_grenade_limit_default 1
ammo_grenade_limit_flashbang 2
ammo_grenade_limit_total 4
bot_quota 0
cash_player_bomb_defused 300
cash_player_bomb_planted 300
cash_player_damage_hostage -30
cash_player_interact_with_hostage 300
cash_player_killed_enemy_default 300
cash_player_killed_enemy_factor 1
cash_player_killed_hostage -1000
cash_player_killed_teammate -300
cash_player_rescued_hostage 1000
cash_team_bonus_shorthanded 0
cash_team_elimination_bomb_map 3250
cash_team_elimination_hostage_map_ct 3000
cash_team_elimination_hostage_map_t 3000
cash_team_hostage_alive 0
cash_team_hostage_interaction 600
cash_team_loser_bonus 1400
cash_team_loser_bonus_consecutive_rounds 500
cash_team_loser_bonus_shorthanded 0
cash_team_planted_bomb_but_defused 800
cash_team_rescued_hostage 600
cash_team_terrorist_win_bomb 3500
cash_team_win_by_defusing_bomb 3500
cash_team_win_by_hostage_rescue 2900
cash_team_win_by_time_running_out_bomb 3250
cash_team_win_by_time_running_out_hostage 3250
ff_damage_reduction_bullets 0.33
ff_damage_reduction_grenade 0.85
ff_damage_reduction_grenade_self 1
ff_damage_reduction_other 0.4
mp_afterroundmoney 0
mp_autokick 0
mp_autoteambalance 0
mp_backup_restore_load_autopause 1
mp_backup_round_auto 1
mp_buy_anywhere 0
mp_buy_during_immunity 0
mp_buytime 0
mp_c4timer 0
mp_ct_default_melee ""
mp_ct_default_primary ""
mp_ct_default_secondary ""
mp_death_drop_defuser 1
mp_death_drop_grenade 2
mp_death_drop_gun 1
mp_defuser_allocation 0
mp_display_kill_assists 1
mp_endmatch_votenextmap 0
mp_forcecamera 1
mp_free_armor 0
mp_freezetime 10
mp_friendlyfire 1
mp_give_player_c4 1
mp_halftime 0
mp_halftime_duration 10
mp_halftime_pausetimer 0
mp_ignore_round_win_conditions 0
mp_limitteams 0
mp_match_can_clinch 1
mp_match_end_restart 0
mp_maxmoney 16000
mp_maxrounds 24
mp_molotovusedelay 0
mp_overtime_enable 0
mp_overtime_halftime_pausetimer 0
mp_overtime_maxrounds 6
mp_overtime_startmoney 10000
mp_playercashawards 1
mp_randomspawn 0
mp_respawn_immunitytime 0
mp_respawn_on_death_ct 0
mp_respawn_on_death_t 0
mp_round_restart_delay 5
mp_roundtime 3.00
mp_roundtime_defuse 3.00
mp_roundtime_hostage 3.00
mp_solid_teammates 1
mp_spectators_max 20
mp_starting_losses 1
mp_startmoney 0
mp_t_default_melee ""
mp_t_default_primary ""
mp_t_default_secondary ""
mp_teamcashawards 1
mp_team_intro_time 0
mp_team_timeout_max 4
mp_team_timeout_time 30
mp_timelimit 0
mp_weapons_allow_map_placed 1
mp_weapons_allow_zeus 1
mp_weapons_glow_on_ground 0
mp_win_panel_display_time 3
occlusion_test_async 0
spec_freeze_deathanim_time 0
spec_freeze_panel_extended_time 0
spec_freeze_time 2
spec_freeze_time_lock 2
spec_replay_enable 0
sv_allow_votes 1
sv_auto_full_alltalk_during_warmup_half_end 0
sv_coaching_enabled 1
sv_competitive_official_5v5 1
sv_damage_print_enable 0
sv_deadtalk 1
sv_hibernate_postgame_delay 300
sv_holiday_mode 0
sv_ignoregrenaderadio 0
sv_infinite_ammo 0
sv_occlude_players 1
sv_talk_enemy_dead 0
sv_talk_enemy_living 0
sv_voiceenable 1
sv_vote_command_delay 0
tv_relayvoice 1

View File

@@ -1,107 +0,0 @@
bot_quota 0
bot_quota_mode fill
cash_player_bomb_defused 200
cash_player_bomb_planted 200
cash_player_damage_hostage -30
cash_player_interact_with_hostage 300
cash_player_killed_enemy_default 200
cash_player_killed_enemy_factor 0.5
cash_player_killed_hostage -1000
cash_player_killed_teammate -300
cash_player_rescued_hostage 1000
cash_team_elimination_bomb_map 2700
cash_team_elimination_hostage_map_t 2000
cash_team_elimination_hostage_map_ct 2300
cash_team_hostage_alive 0
cash_team_hostage_interaction 500
cash_team_loser_bonus 2400
cash_team_bonus_shorthanded 0
cash_team_loser_bonus_consecutive_rounds 0
cash_team_planted_bomb_but_defused 200
cash_team_rescued_hostage 0
cash_team_terrorist_win_bomb 2700
cash_team_win_by_defusing_bomb 2700
cash_team_win_by_hostage_rescue 3000
cash_team_win_by_time_running_out_hostage 2000
cash_team_win_by_time_running_out_bomb 2700
contributionscore_kill_reqs 1 // all about pew-pew and bullets
contributionscore_assist_reqs 1 // all about pew-pew and bullets
contributionscore_participation 1 // award players for participation in the round
ff_damage_reduction_bullets 0
ff_damage_reduction_grenade 0
ff_damage_reduction_grenade_self 0
ff_damage_reduction_other 0
mp_afterroundmoney 0
mp_buytime 45
mp_buy_anywhere 0
mp_buy_during_immunity 0
mp_death_drop_defuser 1
mp_death_drop_grenade 2 // 0=none, 1=best, 2=current or best
mp_death_drop_gun 1 // 0=none, 1=best, 2=current or best
mp_defuser_allocation 2 // 0=none, 1=random, 2=everyone
mp_force_pick_time 15
mp_forcecamera 0 // Set to 1 for team only spectating.
mp_free_armor 2
mp_freezetime 5
mp_friendlyfire 1
mp_win_panel_display_time 3
mp_respawn_immunitytime 0
mp_halftime 0
mp_match_can_clinch 1 // 0=No mercy rule, 1=team can clinch match win early if they win > 1/2 total rounds
mp_maxmoney 10000
mp_maxrounds 15
//mp_molotovusedelay 0
mp_playercashawards 1
mp_roundtime 60
mp_roundtime_hostage 60
mp_roundtime_defuse 60 // Typical ValveOfficial Casual defuse rounds are 90-100 seconds.
mp_solid_teammates 2
mp_startmoney 1000
mp_teamcashawards 1
mp_timelimit 0
mp_warmuptime 90
mp_weapons_allow_zeus 2
mp_weapons_allow_typecount 2
//spec_freeze_panel_extended_time 0
spec_freeze_time 3.0
sv_allow_votes 1 // Voting allowed in this mode
sv_talk_enemy_living 0
sv_talk_enemy_dead 1
sv_vote_to_changelevel_before_match_point 1
sv_deadtalk 0
sv_ignoregrenaderadio 0
tv_delay 30
mp_randomspawn 0
mp_randomspawn_los 0
sv_infinite_ammo 0
ammo_grenade_limit_flashbang 1
ammo_grenade_limit_total 3
//
//
mp_weapons_allow_map_placed 1
mp_weapons_glow_on_ground 0
mp_display_kill_assists 1
mp_respawn_on_death_t 0
mp_respawn_on_death_ct 0
mp_ct_default_melee weapon_knife
mp_ct_default_secondary weapon_hkp2000
mp_ct_default_primary ""
mp_t_default_melee weapon_knife
mp_t_default_secondary weapon_glock
mp_t_default_primary ""
mp_default_team_winner_no_objective -1 // 2 == CTs, 3 == Ts
//sv_occlude_players 1
//occlusion_test_async 1
spec_replay_enable 1
mp_round_restart_delay 10 // need more time for replay
sv_gameinstructor_enable 0
mp_promoted_item_enabled 0
sv_minimum_desired_chicken_count 0
sv_allow_annotations_access_level 1
sv_sellback_enabled 1
sv_annotation_limits_max_rounds_per_half -1

View File

@@ -112,11 +112,11 @@ router.post('/api/setup-game', is_authenticated, async (req, res) => {
await rcon.execute_command(server_id, `game_mode 0`); await rcon.execute_command(server_id, `game_mode 0`);
await rcon.execute_command(server_id, `sv_skirmish_id 10`); await rcon.execute_command(server_id, `sv_skirmish_id 10`);
execute_cfg_on_server(server_id, './cfg/live_arms_race.cfg'); execute_cfg_on_server(server_id, './cfg/live_arms_race.cfg');
} else if (game == "7") { // Workshop } else if (game == "7") { // Prophunt
await rcon.execute_command(server_id, `game_type 0`); await rcon.execute_command(server_id, `game_type 0`);
await rcon.execute_command(server_id, `game_mode 0`); await rcon.execute_command(server_id, `game_mode 0`);
await rcon.execute_command(server_id, `sv_skirmish_id 0`); await rcon.execute_command(server_id, `sv_skirmish_id 0`);
execute_cfg_on_server(server_id, './cfg/live_casual_24.cfg'); execute_cfg_on_server(server_id, './cfg/live_prophunt.cfg');
} }
if (isNaN(map)) { if (isNaN(map)) {