vargatom Posted Friday at 09:44 PM Share Posted Friday at 09:44 PM Hi Everyone! Why do BOTs ignore weight during movement and always take the object on the same path? Has anyone encountered this fault? Thanks for the helpful comments! Quote Link to comment Share on other sites More sharing options...
Mateos Posted 4 hours ago Share Posted 4 hours ago (edited) Hello, I just performed a test on Seawall Battery There's a definition for DEFEND_Flag_.* (5 nodes) with a weight of 3 involved MapRoutes["DEFEND_Flag_.*"] = { ROUTE_AxisSpawn = { ROUTE_flagroute = { Weight = 3 }, ROUTE_gunpatrol = {}, ROUTE_southstairs = { ROUTE_guntop = { ROUTE_guntop = {}, }, }, }, }; I've written a command to move all 15 spawned Axis bots to spawn #1 (Axis Main Bunker, where ROUTE_AxisSpawn is; command calling ETUtil.SuicideSpawn), and an other command so these DEFEND spots are the only available goals to them (e. g. a SetAvailableMapGoals called through a console command) I had all 15 bots go through the 3-weighted route (flagroute) 3 times in a row I know the CAMP-type goals are limited to a single bot, but I'd expect sometimes a bot to go through one of the 2 other routing nodes (gunpatrol and southstairs) Is this test biased in some way? Or any misunderstanding of weight behaviour/probabilities behind? Regards Edit: 5 Axis bots, 10 times with the help of kt command, always through the bottom 3-weighted node Edited 4 hours ago by Mateos Adding related MapRoutes section for clarity Quote Link to comment Share on other sites More sharing options...
vargatom Posted 1 hour ago Author Share Posted 1 hour ago (edited) What happens if in your case Weight = 2, ? My problem is the wished path got Weight = 5, but BOT go on shortest path always. Same as if is none defined routing to Cappoint goal. It seems like there is an error in one of the files but program not indicate that when I starting map. Edited 1 hour ago by vargatom Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.