Bot 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
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

Bot Planning....

Post by Hebes24 »

I was wondering how to set up bot paths. Right now, the AI just go straight to the first command post they see, which leads them directly into the deathregions of my map (stupid AI :roll: ) I looked in the documentation, but I couldn't find any direct tutorial on how to make AI paths. Though, I do have a tendency to be "blind" on occasion :? (ok, slightly more then "on occasion".... ok, it's all the time, but anyway) so If I misssed it, please tell me where to find it.


As always, any help would be greatly appreciated!!! :D
darthpingu

RE: Bot Planning....

Post by darthpingu »

Read before doing it.
Go to the planning TAB in ZE(ZeroEditor). A hub is a post as in baseball.
Place a hub, and move your mouse to the desired size and click.
If you want to move the hub, click on edit/move hubs on the left.

Then we need connections. A connection is where the AI actually moves.
To place a connection, click on place connection on the left, then click on a hub and on another hub.
If you want just soldiers to follow a path, click on: flyer, huge, medium, and light, so only hover and soldier are yellow.
For some reason the jettrooper are the hover-class.
Congratulations, you have just made your first plan.
To move a connection, click edit/move connections on the left, click on a connection, move the mouse over one of the connected hubs and hold down the right mouse button. now you will see that the connection turned blue(?), and a black line is between the other hub and the mouse pointer.
Release the mouse pointer over another hub to connect it to that one instead. Note that a plan start must have the hub over a CP, aswell as the end, due to that AI always aim for CPs in conquest mode.
Replace the CP with the flag or whatever is in that mode.
To make the hubs ground to an object instead of the terrain, go into you world 1 folder, and right click on ***.ter and properties, then tick ReadOnly
then you may raise the terrain to the ground of the building. Place a hub there, and connect it. Then click save, you will get an error message, but that doesn't matter.
Remember to untick the ReadOnly after you saved, otherwise you won't be able to make any height on the terrain.

And remember to put it in the right layer,
so if you have other modes than conquest in your map, they won't go the long ways i.e. to the flag.
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

RE: Bot Planning....

Post by Hebes24 »

So, how do weights work? What happens if you don't put them in? Are they neccissary? :?
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

RE: Bot Planning....

Post by Hebes24 »

So, how do weights work? What happens if you don't put them in? Are they neccissary? :?

Edit: Yikes double post! *smacks himself in the face* :?
Last edited by Hebes24 on Tue Aug 15, 2006 2:49 pm, edited 3 times in total.
darthpingu

RE: Bot Planning....

Post by darthpingu »

Not for soldiers, but vehicles are different weight classes, I believe that the AT-AT, AT-TE, Hovernaught and the MTT are the huge weight.
Maybe you could change the thread name to guide to place planning or something relevant?
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

RE: Bot Planning....

Post by Rekubot »

No, they aren't necessary. All I consider them to be is a pain in the butt. Chances are that if you're not sure how to use weights you'll end up with a bunch of warnings and stupid AI. Trust me on that.

Edit: Basically weights tell the AI what connection to take if there are multiple routes and what the chance is that they're going to take it. It's very confusing in my opinion.
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

RE: Bot Planning....

Post by Hebes24 »

Thanks for the help everyone!

@Rekubot - Yeah weights look very complicated, I read the topic about it in the FAQ, :shock: confusing!
darthpingu

RE: Bot Planning....

Post by darthpingu »

Could you call this topic guide to make planning?
Hebes24
Sith Master
Sith Master
Posts: 2594
Joined: Sat Jun 03, 2006 5:15 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: In An Epic Space Battle!
Contact:

RE: Bot Planning....

Post by Hebes24 »

Yeah, actually it could. :)
archer01

RE: Bot Planning....

Post by archer01 »

Want more confusion involving planning? Check my post in this topic > http://www.gametoast.com/index.php?name ... pic&t=6417

Just a few points in there that I found "help the AI out" a bit.
Post Reply