CZ Bots keep buying weapons on round start and during knife warmup. Can't figure out what I'm messing up here.
csdm.cfg
Code:
[settings]
enabled = 1
strip_weapons = 0
weapons_stay = 0
spawnmode = preset
remove_bomb = 1
spawn_wait_time = 0.75
[ffa]
enabled = 0
radar_disable = 0
[misc]
remove_objectives = abcd
block_buy = 1
ammo_refill = 1
spawn_radio_msg = 0
hide_money = 1
hide_timer = 1
[stripper]
enabled = 0
class = player_weaponstrip
class = game_player_equip
class = item_healthkit
class = item_battery
class = armoury_entity
class = item_longjump
[ticketing]
enabled = 0
tickets = 10
show_state = 0
ticketing_player = 0
[protection]
enabled = 1
glowing = 1
colorst = "255 0 0 200"
colorsct = "0 0 255 200"
colorsffa = "0 255 0 200"
time = 3
[equip]
menus = psa
autoitems = ah
grenades = h
fnadesnum = 2
always_allow_gunmenu = 0
[secondary]
usp USP 0
glock18 Glock 0
deagle Deagle 0
p228 P228 0
elite Elite 0
fiveseven "Five Seven" 0
[primary]
m4a1 M4A1 0
ak47 AK47 0
aug AUG 0
sg552 SG552 0
galil Galil 0
famas Famas 0
scout Scout 0
awp AWP 0
sg550 SG550 0
m249 M249 0
g3sg1 G3SG1 0
ump45 "UMP 45" 0
mp5navy "MP5 Navy" 0
m3 M3 0
xm1014 XM1014 0
tmp TMP 0
mac10 "Mac 10" 0
p90 P90 0
[botsecondary]
;usp
;glock18
;deagle
;p228
;elite
;fiveseven
[botprimary]
;m4a1
;ak47
;aug
;sg552
;galil
;famas
;scout
;awp
;sg550
;m249
;g3sg1
;ump45
;mp5navy
;m3
;xm1014
;tmp
;mac10
;p90
[items]
enabled = 0
drop_packs = 0
battery = 15
medkit = 15
item_time = 20
drop_time = 10
persistent_items = 0
max_hnades = 1
max_fnades = 2
max_snades = 1
no_gun_menu = 1
[item_restrictions]
gungame.cfg
Code:
// GunGame AMXX 2.13c
// basic cvars
gg_enabled 1
gg_vote_setting 2
gg_vote_custom ""
gg_changelevel_custom ""
gg_map_setup "mp_timelimit 45; mp_winlimit 0; sv_alltalk 1; mp_chattime 10; mp_c4timer 25"
gg_endmap_setup ""
gg_join_msg 1
gg_messages 1
gg_save_temp 300
gg_status_display 1
gg_map_iterations 1
gg_ignore_bots 0
gg_block_equips 2
gg_leader_display 1
gg_leader_display_x -1.0
gg_leader_display_y 0.0
gg_allow_changeteam 2
gg_disable_money 1
gg_winner_motd 1
gg_afk_protection 0
gg_top10_ppp 8
// autovote cvars
gg_autovote_mode 0
gg_autovote_rounds 1
gg_autovote_delay 8.0
gg_autovote_ratio 0.51
gg_autovote_time 10.0
// stats cvars
gg_stats_file "gungame.stats" // not used with SQL
gg_stats_streak_file "gungame.streaks" // not used with SQL
gg_stats_ip 0
gg_stats_prune 2592000
gg_stats_mode 2
gg_stats_split 0
gg_stats_winbonus 1.5
// SQL-only cvars
//gg_sql_host "127.0.0.1"
//gg_sql_user "root"
//gg_sql_pass ""
//gg_sql_db "amx"
//gg_sql_table "gg_stats"
//gg_sql_streak_table "gg_streaks"
//gg_sql_winmotd_table "gg_winmotd"
// deathmatch cvars
gg_dm 1
gg_dm_sp_time 1.0
gg_dm_sp_mode 1
gg_dm_spawn_random 2
gg_dm_start_random 1
gg_dm_spawn_delay 3.0
gg_dm_spawn_afterplant 1
gg_dm_corpses 1
gg_dm_countdown 2
// objective cvars
gg_block_objectives 0
gg_bomb_defuse_lvl 1
gg_host_touch_reward 1
gg_host_rescue_reward 1
gg_host_kill_reward 1
gg_host_kill_penalty 1
// teamplay cvars
gg_teamplay 0
gg_teamplay_knife_mod 0.33
gg_teamplay_nade_mod 0.50
gg_teamplay_timeratio 1
// gameplay cvars
gg_ff_auto 1
gg_weapon_order "glock18,usp,p228,deagle,fiveseven,elite,m3,xm1014,tmp,mac10,mp5navy,ump45,p90,galil,famas,ak47,scout,m4a1,sg552,aug,m249,awp,hegrenade,knife"
gg_max_lvl 3
gg_triple_on 0
gg_turbo 1
gg_knife_pro 1
gg_knife_elite 0
gg_suicide_penalty 1
gg_worldspawn_suicide 1
gg_pickup_others 0
gg_handicap_on 1
gg_top10_handicap 1
gg_warmup_timer_setting 35
gg_warmup_weapon "knife"
gg_warmup_multi 0
gg_nade_glock 1
gg_nade_smoke 0
gg_nade_flash 0
gg_extra_nades 1
gg_nade_refresh 5.0
gg_kills_per_lvl 1
gg_kills_botmod 1.0
gg_give_armor 100
gg_give_helmet 1
gg_ammo_amount 200
gg_refill_on_kill 1
gg_tk_penalty 1
gg_awp_oneshot 1
gg_bots_skipnade 0
gg_bots_knifeable 1
// sound cvars
gg_sound_levelup "sound/gungame/gg_levelup.wav"
gg_sound_leveldown "sound/ambience/xtal_down1(e70)"
gg_sound_levelsteal "sound/turret/tu_die.wav"
gg_sound_nade "sound/gungame/gg_nade_level.wav"
gg_sound_knife "sound/gungame/gg_knife_level.wav"
gg_sound_welcome "sound/gungame/gg_welcome.wav"
gg_sound_triple "sound/gungame/gg_triple.wav"
gg_sound_winner "media/Half-Life03.mp3;media/Half-Life08.mp3;media/Half-Life11.mp3;media/Half-Life17.mp3"
gg_sound_takenlead "sound/gungame/gg_takenlead.wav"
gg_sound_tiedlead "sound/gungame/gg_tiedlead.wav"
gg_sound_lostlead "sound/gungame/gg_lostlead.wav"
gg_lead_sounds 0.9
// random weapon order cvars (leave blank to disable)
gg_weapon_order1 ""
gg_weapon_order2 ""
gg_weapon_order3 ""
gg_weapon_order4 ""
gg_weapon_order5 ""
gg_weapon_order6 ""
gg_weapon_order7 ""
gg_weapon_order8 ""
gg_weapon_order9 ""
plugins-csdm.ini
Code:
csdm_main.amxx
;csdm_equip.amxx
csdm_spawn_preset.amxx
csdm_misc.amxx
;csdm_stripper.amxx
csdm_protection.amxx
;csdm_ffa.amxx
;csdm_tickets.amxx
;csdm_itemmode.amxx
plugins.ini
Code:
; AMX Mod X plugins
; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
;mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
;scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
; Map related
nextmap.amxx ; displays next map in mapcycle
;mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
stats_logging.amxx ; weapons stats logging (CSX Module required!)
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer
; Custom - Add 3rd party plugins here
gungame.amxx ; main gungame plugin
amx_czbotmenu.amxx ; auto-regulation of bots
multijump.amxx ; multiple jumps allowed
csnadeprime.amxx ; prime nades with right click
awp_oneshot.amxx ; one bullet per clip