Does Size Matter?... For Hubs in Planning

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Does Size Matter?... For Hubs in Planning

Post 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
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

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

Post 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
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

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

Post 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.
RevanSithLord
Sith Master
Sith Master
Posts: 2636
Joined: Mon Nov 07, 2005 12:40 am
Projects :: Designated Days + LFC + GT vs SWBFC
Games I'm Playing :: FO3 + FO New Vegas
xbox live or psn: Master Revan
Location: GDSS Philadelphia

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

Post 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
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

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

Post 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)
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

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

Post 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
Post Reply