by Cobalt » Fri Jul 17, 2015 5:50 pm
Ok , spent alot of time Diffing each individual bot file but finally got it done. Yea most the biggest changes seem to be in botangleset, and I think the misc file was completely different so that was just a pure copy n paste. The rest of the functions were not too many changes alot needed no changes at all.
I saw your new code for the bot weapon selection and though the fav wep seems neat I didnt utilize it just yet.
I did however notice after compiling, loading up DM5 for example the bots just stood where they spawned. So I went into the waypoint file, and noticed there was a float completely gone called: search_time , removed from make_waypoint () , waypoint () and SpawnTempWaypoint (). When I put these back in where they originally were the bot now navigated on that map ok, so I am wondering if its a big problem? Seems you have it in Botai () but I have it in a function called target_add () which seems completely gone in your code called from bot_handle_ai () which is also gone as well as another called: bot_path ().
Somehow I guess I didnt remove these from the old code and they are still playing a role I guess?