Page 1 of 1

Does Size Matter?... For Hubs in Planning

Posted: Thu Feb 22, 2007 10:14 am
by FragMe!
I've just started the planning for my map and I am aware of how to do it and I can get the AI to go where i want for the most part. The thing is does the size of the hub matter? Looking at the shipped maps they utilize various diameters of hubs, is this just for clairity or is there a reason?
I made a test map and just basically raised the terrain in the middle of the default spawn points in conquest so there is only two ways the can go left or right. I then put in some planning hubs and connections bigger ones on one side and smaller on the other then munged launched and watched what the AI did then changed the hub sizes to the opposite of what they were originally and watched again and it did seem that they tended to migrate to the side of the map with the larger hubs. Is this sort of a wieghting kind of thing without actually doing weighting or was it just mere coincidence? If the AI can be controlled via hub size rather than figuring out weighting that would be good.

Another question (confirmation really) the "dynamic" setting for connections is used when the planning paths change due to certain events like the bridge getting retracted on the Death Star correct? Or is there other wonderful things the dynamic setting can be used for to control the AI?

Thanks for any and all help

RE: Does Size Matter?... For Hubs in Planning

Posted: Thu Feb 22, 2007 6:42 pm
by wazmol
well i am having a guess on the first question but, if you think about mos eisley buildings everywhere, the hubs are small and the connections are quite thin because of the small hubs, imagine you had huge hubs and "fat" connections, the ai would get stuck behind buildings. i have noticed that to about the ai using the bigger hubs, if that is the case that is very handy, but if you want more ai to go into a forest or town rather than the for example "plains" then more ai is gonna get caught behind trees or buildings.

sorry if thats not the answer you asked for but.... yeah :)

-Waz

RE: Does Size Matter?... For Hubs in Planning

Posted: Thu Feb 22, 2007 9:01 pm
by Teancum
Think of your hubs and connections as 'highway lanes'. The wider the highway, the more room to move back and forth. So bigger hubs make it so that the units don't like up so single-file. But then again, don't go nuts making them huge for the reasons 'waz said.

RE: Does Size Matter?... For Hubs in Planning

Posted: Fri Feb 23, 2007 9:47 am
by RevanSithLord
Thanks guys. I was about to ask that same question. Because my bots are going wierd and running off the side of my canals and bridge (or falling through the holes in my bridge and into the water and drowning. And they were getting stuck between buildings. I'm gonna go update my hubs and connections now.

Thanks again! This has really helped me with my idiotic AI problem... lol

RE: Does Size Matter?... For Hubs in Planning

Posted: Fri Feb 23, 2007 1:32 pm
by Teancum
*tip -- Right click on your .TER file in Windows Explorer, select properties, then make it read-only. Now you can move your terrain up and down as needed to do your planning hubs/connections. (Hubs/connections ground themselves to terrain, so this is useful if you have a bridge or a map like Bespin Platforms). You will get an error when you save your map saying it couldn't save the terrain, but it will not hurt anything. (To adjust your terrain later, turn off read-only)

RE: Does Size Matter?... For Hubs in Planning

Posted: Sat Feb 24, 2007 10:59 am
by FragMe!
Thanks for the answers, I like the highway analogy now I just have to figure how to build
better off ramps :lol:

Teancum I look forward to your tutorial about pathing you mentioned to Elmo (I believe) in a different post but no hurry it always fun to play and try new things anyway.

This can be locked unless anyone has anything else to add