Making AI use trenches

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
User avatar
Tears2Roses
Chief Warrant Officer
Chief Warrant Officer
Posts: 336
Joined: Thu Jul 07, 2011 9:20 am
Projects :: Oh some random stuff who knows
Games I'm Playing :: SWBF2
xbox live or psn: PC beats xbox.

Making AI use trenches

Post by Tears2Roses »

Hello all. I was able to make my desert trenches sucessfuly. Theres just one problem... how do I make the AI use the trenches properly?

What I want my AI to do is go thru the trench, if they see something, shoot, then move on. The lets say they get attacked in there base. I would want my AI to use the trenches, and this time stay in them, until there are no more enemies, then move on. Is there an easy way to do this in ZE? Currently, my AI either 1) get stuck or 2) dont use the trenches. I know I would probably need to use hint nodes, and I tried but the node wont change from "snipe" The node type doesn't change from snipe, but the sub-menu's do ( primary stance, secondary stance, for patrol the sub menu shows target name, but the node type is still snipe). All in all, is there an easy way to make AI use my trenches the way I want them to?

EDIT: an easy way to help me rather then posting on GT a lot would be to add me on x-fire. It is soap82020. There is nothing wrong with the forums, it just would be easier for me ( and probably everyone else ) in terms of solving my problems since I have a lot of them.
User avatar
yuke5
Field Commander
Field Commander
Posts: 945
Joined: Wed Jun 29, 2011 10:42 pm
Games I'm Playing :: SWBF2 TF2 RC KOTOR
xbox live or psn: My steam is yuke5.
Location: Vermont

Re: Making AI use trenches

Post by yuke5 »

I suppose you could plan the AI through the trenches, and then use hint nodes to either snipe, take cover or whatever. You might want to look at Hoth in ZE and see what the game designers did with their trenches.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Making AI use trenches

Post by Marth8880 »

yuke5 wrote:I suppose you could plan the AI through the trenches, and then use hint nodes to either snipe, take cover or whatever. You might want to look at Hoth in ZE and see what the game designers did with their trenches.
Alongside this, place barriers along the walls of the trenches so the A.I. do not get stuck.
User avatar
Tears2Roses
Chief Warrant Officer
Chief Warrant Officer
Posts: 336
Joined: Thu Jul 07, 2011 9:20 am
Projects :: Oh some random stuff who knows
Games I'm Playing :: SWBF2
xbox live or psn: PC beats xbox.

Re: Making AI use trenches

Post by Tears2Roses »

I could probably do that. I will look at hoth ZE.
User avatar
yuke5
Field Commander
Field Commander
Posts: 945
Joined: Wed Jun 29, 2011 10:42 pm
Games I'm Playing :: SWBF2 TF2 RC KOTOR
xbox live or psn: My steam is yuke5.
Location: Vermont

Re: Making AI use trenches

Post by yuke5 »

Tears2Roses wrote: EDIT: an easy way to help me rather then posting on GT a lot would be to add me on x-fire. It is soap82020. There is nothing wrong with the forums, it just would be easier for me ( and probably everyone else ) in terms of solving my problems since I have a lot of them.
Don't worry about that. I'm sure that there are plenty of people out there who have the same questions as you or will, so by posting a question on GT, and having it answered. It's also answering a lot of unspoken questions, or at least that is what I like to think. :)
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Making AI use trenches

Post by DarthD.U.C.K. »

you should go sure thta the trenches arent to deep if you use sniper or covernodes because the ai will kneel down when using them.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Making AI use trenches

Post by Xavious »

DarthD.U.C.K. wrote:you should go sure thta the trenches arent to deep if you use sniper or covernodes because the ai will kneel down when using them.
Only if you tell them to. There's an option in ZeroEditor for hint nodes that allows you to tell the AI to stand or crouch (there's a third option too, but I can't remember it off the top of my head).
User avatar
yuke5
Field Commander
Field Commander
Posts: 945
Joined: Wed Jun 29, 2011 10:42 pm
Games I'm Playing :: SWBF2 TF2 RC KOTOR
xbox live or psn: My steam is yuke5.
Location: Vermont

Re: Making AI use trenches

Post by yuke5 »

Xavious wrote:
DarthD.U.C.K. wrote:you should go sure thta the trenches arent to deep if you use sniper or covernodes because the ai will kneel down when using them.
Only if you tell them to. There's an option in ZeroEditor for hint nodes that allows you to tell the AI to stand or crouch (there's a third option too, but I can't remember it off the top of my head).
the third is "prone". But I think that's impossible in SWBFII. :?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Making AI use trenches

Post by Marth8880 »

yuke5 wrote:the third is "prone". But I think that's impossible in SWBFII. :?
Correct; Pandemic started working on it and was originally going to put it in but didn't because it was too problematic and they didn't think people really every used it.
User avatar
Tears2Roses
Chief Warrant Officer
Chief Warrant Officer
Posts: 336
Joined: Thu Jul 07, 2011 9:20 am
Projects :: Oh some random stuff who knows
Games I'm Playing :: SWBF2
xbox live or psn: PC beats xbox.

Re: Making AI use trenches

Post by Tears2Roses »

yuke5 wrote:
Tears2Roses wrote: EDIT: an easy way to help me rather then posting on GT a lot would be to add me on x-fire. It is soap82020. There is nothing wrong with the forums, it just would be easier for me ( and probably everyone else ) in terms of solving my problems since I have a lot of them.
Don't worry about that. I'm sure that there are plenty of people out there who have the same questions as you or will, so by posting a question on GT, and having it answered. It's also answering a lot of unspoken questions, or at least that is what I like to think. :)
I mean't if I had a LOT of problems, it would be easier to use x-fire than to have 50 posts. Again, NOTHING is wrong with using the forums. Just might be easier for me/others. :thumbs:

EDIT: The AI use the planning now, and go thru the trenches. Thanks for all the help guys! Thank you to marth, for helping me get the planning straight :D
Post Reply