collapse

Author Topic: A little help with the AI  (Read 645 times)

Marked as best answer by on October 07, 2019, 09:16:08 PM

Offline [archive] alex33x

  • Fledgling
  • *
  • Posts: 21
Re: A little help with the AI
« on: January 07, 2008, 02:49:00 AM »
  • Undo Best Answer
  •                 Somewhere along my modding I seemed to have messed up the AI in downtown and Hollywood, characters dont move at all anymore, if I go to them they'll still react and talk to me though.
     
     It happened to me before in Santa Monica I reinstalled and everyting worked again, this time is hollywood and downtown. Its weird though cause if I start a new game everything will work correctly.
     
     it seems this only happens when I put in my old saved games.                        

     

                                                      

    Offline [archive] Offkorn

    • Antediluvian
    • *****
    • Posts: 5024
    Re: A little help with the AI
    « Reply #1 on: January 07, 2008, 04:31:00 AM »
                    Considering that the AI seems to be hidden, I'd love to know how you altered it.
     
     Though Wesp encountered a similar issue where NPCs would stop moving, though I'm pretty sure that has nothing to do with the AI, just the pathing.                        

     

    -----signature-----
               Nemo non Morior
     Anime Overviews
     Kindred of the oWoD
     MP3 Player Playlist
       
                                                      

    Offline [archive] Wesp5

    • Antediluvian
    • *****
    • Posts: 2767
    Re: A little help with the AI
    « Reply #2 on: January 07, 2008, 08:57:00 AM »
                   
    Offkorn posted:

     Though Wesp encountered a similar issue where NPCs would stop moving, though I'm pretty sure that has nothing to do with the AI, just the pathing.
     

     
     Both are probably connected and I am sure that some info about this is stored in the two files in the graphs folder inside the maps folder. I don't know what the loc file is about, but the ain file probably contains the AI nodes and it is larger for more NPCs in a level. Both have to be in sync with the map file in use, so problems may occur when using an older saved game with an updated map for example. I would recommend to remove the loc and ain files for the levels where NPCs stop moving and then try again. You should get a short message about AI node rebuilding or similar and then everything should be fine again.                        

     

                                                      

    Offline [archive] alex33x

    • Fledgling
    • *
    • Posts: 21
    A little help with the AI
    « Reply #3 on: January 07, 2008, 03:37:00 PM »
                   
    Offkorn posted:
    Considering that the AI seems to be hidden, I'd love to know how you altered it.
     
     Though Wesp encountered a similar issue where NPCs would stop moving, though I'm pretty sure that has nothing to do with the AI, just the pathing.

     
     Thats exactly what happened to me characters are not moving.
     
     
     
    Wesp5 posted:
    Offkorn posted:

     Though Wesp encountered a similar issue where NPCs would stop moving, though I'm pretty sure that has nothing to do with the AI, just the pathing.
     

     
     Both are probably connected and I am sure that some info about this is stored in the two files in the graphs folder inside the maps folder. I don't know what the loc file is about, but the ain file probably contains the AI nodes and it is larger for more NPCs in a level. Both have to be in sync with the map file in use, so problems may occur when using an older saved game with an updated map for example. I would recommend to remove the loc and ain files for the levels where NPCs stop moving and then try again. You should get a short message about AI node rebuilding or similar and then everything should be fine again.

     
     Ok I'll try that thanks