It looks like the combine soldier is trying to run TASK_GET_PATH_TO_ENEMY_LKP, which generates a path to the enemy's last known position. This task is failing, however, because it cant build a route to that position, which sets the COND_ENEMY_UNREACHABLE condition, causing the TASK_GET_PATH_TO_ENEMY_LKP to fail.
Assuming that, in the game, it looks like the soldier should be able to find a path to the enemy's LKP, then you probably want to debug why that path generation is failing. A good starting point on the wiki is http://developer.valvesoftware.com/wiki/Ai_show_connect Robin. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Donovan Sent: Thursday, September 20, 2007 3:23 AM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] RE: RE: AI in multiplayer -- [ Picked text/plain from multipart/alternative ] Im sorry to keep hounding about this question..you all probably know what its like to stare into a pile of code and get a bit lost...thats where I am and Im desperately trying to find out the bits I am missing. I am thinking it has something to do with the the way the AI is setting up its Schedule or Task state and not that its an animation problem directly. Below is a snippet of condump that lists whats happening in the process. I am now trying to figure out why it is that the AI for combine_s is having problems with the way this is defining the Schedule state... I cant seem to pick where its going wrong..Any help welcome. Look @ the condum below operator_handleanimevent --This is the Animation state of the combine_s while I am hidden behind a breakable model. Also I have a few of the following errors and was wondering if any you coders out there might have dealt with these in setting up AI? Its a condition of some sort that not been met? maybe its my own player model? Maybe the activity is not set up right? I cant really see which area it might be. TaskFail -> Don't have a route (npc_combine_s: 47/soldier_1_1) [152683] Break condition -> COND_ENEMY_UNREACHABLE (npc_combine_s: 47/soldier_1_1) [152690](failed) (npc_combine_s: 47/soldier_1_1) [152690] Task: TASK_SET_FAIL_SCHEDULE (npc_combine_s: 47/soldier_1_1) [152683] ////////////********************************************* Schedule: SCHED_COMBINE_ESTABLISH_LINE_OF_FIRE (time: 2285.63) (npc_combine_s: 47/soldier_1_1) [152375] Task: TASK_SET_FAIL_SHEDULE (npc_combine_s: 47/soldier_1_1) [152375] Task: TASK_SET_TOLERANCE_DISTANCE (npc_combine_s: 47/soldier_1_1) [152375] Task: TASK_GET_PATH_TO_ENEMY_LKP_LOS (npc_combine_s: 47/soldier_1_1) [152375] Task: TASK_COMBINE_SET_STANDING (npc_combine_s: 47/soldier_1_1) [152375] Task: TASK_SPEAK_SENTENCE (npc_combine_s: 47/soldier_1_1) [152375] Task: TASK_RUN_PATH (npc_combine_s: 47/soldier_1_1) [152375] Task: TASK_WAIT_FOR_MOVEMENT (npc_combine_s: 47/soldier_1_1) [152375] Task: TASK_COMBINE_IGNOREATTACKS (npc_combine_s: 47/soldier_1_1) [152452] Task: TASK_SET_SCHEDULE (npc_combine_s: 47/soldier_1_1) [152452] Schedule: SCHED_COMBAT_FACE (time: 2286.78) (npc_combine_s: 47/soldier_1_1) [152452] Task: TASK_STOP_MOVING (npc_combine_s: 47/soldier_1_1) [152452] Task: TASK_SET_ACTIVITY (npc_combine_s: 47/soldier_1_1) [152452] Task: TASK_FACE_ENEMY (npc_combine_s: 47/soldier_1_1) [152452] Schedule: SCHED_SHOOT_ENEMY_COVER (time: 2286.78) (npc_combine_s: 47/soldier_1_1) [152452] Task: TASK_STOP_MOVNG (npc_combine_s: 47/soldier_1_1) [152452] Task: TASK_FACE_ENEMY (npc_combine_s: 47/soldier_1_1) [152452] Task: TASK_WAIT (npc_combine_s: 47/soldier_1_1) [152452] Task: TASK_RANGE_ATTACK1 (npc_combine_s: 47/soldier_1_1) [152487] operator_handleanimevent smg1event weapon smg1operator_handleanimevent smg1event weapon smg1Schedule: SCHED_SHOOT_ENEMY_COVER (time: 2287.51) (npc_combine_s: 47/soldier_1_1) [152501] Task: TASK_STOP_MOVING (npc_combine_s: 47/soldier_1_1) [152501] Task: TASK_FACE_ENEMY (nc_combine_s: 47/soldier_1_1) [152501] Task: TASK_WAIT (npc_combine_s: 47/soldier_1_1) [152501] Task: TASK_RANGE_ATTACK1 (npc_combine_s: 47/soldier_1_1) [152536] operator_handleanimevent smg1event weapon smg1operator_handleanimevent smg1event weapon smg1operator_handleanimevent smg1event weapon smg1operator_handleanimevent smg1event weapon smg1Schedule: SCHED_SHOOT_ENEMY_COVER (time: 2289.20) (npc_combine_s: 47/soldier_1_1) [152613] Task: TASK_STOP_MOVING (npc_combine_s: 47/soldier_1_1) [152613] Task: TASK_FACE_ENEMY (npc_combine_s: 47/soldier_1_1) [152613] Task: TAS_WAIT (npc_combine_s: 47/soldier_1_1) [152613] Task: TASK_RANGE_ATTACK1 (npc_combine_s: 47/soldier_1_1) [152648] operator_handleanimevent smg1event weapon smg1operator_handleanimevent smg1event weapon smg1operator_handleanimevent smg1event weapon smg1operator_handleanimevent smg1event weapon smg1operator_handleanimevent smg1event weapon smg1Schedule: SCHED_COMBINE_ASSAULT (time: 2290.24) (npc_combine_s: 47/soldier_1_1) [152683] Task: TASK_SET_FAIL_SCHEDULE (npc_combine_s: 47/soldier_1_1) [152683] Tas: TASK_SET_TOLERANCE_DISTANCE (npc_combine_s: 47/soldier_1_1) [152683] Task: TASK_GET_PATH_TO_ENEMY_LKP (npc_combine_s: 47/soldier_1_1) [152683] TaskFail -> Don't have a route (npc_combine_s: 47/soldier_1_1) [152683] TaskFail -> Don't have a route (npc_combine_s: 47/soldier_1_1) [152683] Break condition -> COND_ENEMY_UNREACHABLE (npc_combine_s: 47/soldier_1_1) [152690] (failed) (npc_combine_s: 47/soldier_1_1) [152690] _________________________________________________________________ SEEK Salary Centre: What are you really worth? Find out. http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseeklearning%2 Ecom%2Eau%2F%3Ftracking%3Dsk%3Acon%3Askl%3Anine%3A0%3Ahot%3Acoursetafe&_ t=764565661&_r=Seek_learning_AUG07_TAGlines&_m=EXT -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders