Jump to content

Routing and weight


Recommended Posts

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 by Mateos
Adding related MapRoutes section for clarity
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...