Thanks for update. I also tested with bots.
Now bomb planting response works but grenade responses still don't (buffer and sample vars are empty in debug message).
Any ideas why models with only numbers in name fail to be added into g_model array?
For example:
Code:
"Radio"
{
// 707
"models/player/custom_player/kuristaja/cso2/707/707.mdl"
{
"affirmative" "custom_radio/css/affirmative.mp3"
"agree" "custom_radio/css/alright2.mp3"
"blinded" "custom_radio/css/im_blind.mp3"
"bombexploding" "custom_radio/css/uh_oh.mp3"
"bombsiteclear" "custom_radio/css/bombsite_under_control.mp3"
"bombtickingdown" "custom_radio/css/well_cover_you_while_you_defuse.mp3"
"clear" "custom_radio/css/clear.mp3"
"clearedarea" "custom_radio/css/area_secure.mp3"
"coveringfriend" "custom_radio/css/i_got_your_back2.mp3"
"coverme" "custom_radio/css/cover_me.mp3"
"death" "custom_radio/css/pain5.mp3"
"defendingbombsitea" "custom_radio/css/guarding_a.mp3"
"defendingbombsiteb" "custom_radio/css/guarding_b.mp3"
"disagree" "custom_radio/css/naa.mp3"
//"decoy" "custom_radio/css/t_decoy02.mp3"
//"grenade" "custom_radio/css/t_grenade04.mp3"
"endclean" "custom_radio/css/nice_work_team.mp3"
"endsolid" "custom_radio/css/well_done.mp3"
"enemydown" "custom_radio/css/enemy_down2.mp3"
"enemyspotted" "custom_radio/css/a_bunch_of_them.mp3"
//"fallback" "custom_radio/css/radiobotfallback01.mp3"
//"flashbang" "custom_radio/css/t_flashbang01.mp3"
"followingfriend" "custom_radio/css/im_with_you.mp3"
//"followme" "custom_radio/css/radio_followme03.mp3"
"friendlyfire" "custom_radio/css/im_on_your_side.mp3"
//"goingtodefendbombsite" "custom_radio/css/goingtodefendbombsite03.mp3"
"goingtoguardhostageescapezone" "custom_radio/css/im_going_to_keep_an_eye_on_the_rescue.mp3"
"goingtoplantbomb" "custom_radio/css/im_gonna_go_plant_the_bomb.mp3"
"goingtoplantbomba" "custom_radio/css/im_gonna_plant_the_bomb_at_a.mp3"
"goingtoplantbombb" "custom_radio/css/im_gonna_plant_the_bomb_at_b.mp3"
//"grenade" "custom_radio/css/t_grenade02.mp3"
"heardnoise" "custom_radio/css/i_hear_something.mp3"
"help" "custom_radio/css/help.mp3"
"hold" "custom_radio/css/lets_hold_up_here_for_a_minute.mp3"
"incombat" "custom_radio/css/in_combat2.mp3"
//"inposition" "custom_radio/css/inposition01.mp3"
"killedfriend" "custom_radio/css/what_have_you_done.mp3"
//"lastmanstanding" "custom_radio/css/lastmanstanding04.mp3"
//"letsgo" "custom_radio/css/radio_letsgo01.mp3"
//"locknload" "custom_radio/css/radio_locknload07.mp3"
"lostenemy" "custom_radio/css/i_lost_him.mp3"
//"molotov" "custom_radio/css/t_molotov01.mp3"
//"needbackup" "custom_radio/css/radio_needbackup03.mp3"
"negative" "custom_radio/css/negative2.mp3"
"negativeno" "custom_radio/css/nnno_sir.mp3"
"niceshot" "custom_radio/css/nice_shot2.mp3"
//"onarollbrag" "custom_radio/css/onarollbrag12.mp3"
"oneenemyleft" "custom_radio/css/one_guy_left.mp3"
//"onmyway" "custom_radio/css/onmyway02.mp3"
//"peptalk" "custom_radio/css/peptalk03.mp3"
"pinneddown" "custom_radio/css/im_pinned_down.mp3"
"plantingbomb" "custom_radio/css/planting.mp3"
//"regroup" "custom_radio/css/radiobotregroup03.mp3"
"reportingin" "custom_radio/css/reporting_in.mp3"
"requestreport" "custom_radio/css/report_in_team.mp3"
"scaredemote" "custom_radio/css/yikes.mp3"
//"smoke" "custom_radio/css/t_smoke03.mp3"
"sniperkilled" "custom_radio/css/sniper_down.mp3"
"sniperwarning" "custom_radio/css/sniper2.mp3"
"spottedloosebomb" "custom_radio/css/bombs_on_the_ground_here.mp3"
"takingfire" "custom_radio/css/taking_fire_need_assistance2.mp3"
//"thanks" "custom_radio/css/thanks04.mp3"
"threeenemiesleft" "custom_radio/css/three_left.mp3"
"twoenemiesleft" "custom_radio/css/two_enemies_left.mp3"
"waitinghere" "custom_radio/css/im_waiting_here.mp3"
}
}
Debug message:
Code:
text buf: negative, sample: negative, mid -1, rid 47, model - models/player/custom_player/kuristaja/cso2/707/707.mdl