Vehicles acting as AI?

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
Glitch25
Sergeant Major
Sergeant Major
Posts: 222
Joined: Mon May 07, 2012 1:01 pm
Projects :: [ISM] [BFU]
Games I'm Playing :: [SWBFII] [SWBFI]
Location: Baktoid Combat Automata
Contact:

Vehicles acting as AI?

Post by Glitch25 »

During the Clone Wars many of the vehicles acted on their own and did not require a pilot. Many of them used by the Confederacy. I've added the following lines to the "cis_tread_snailtank" under MapScale and WEAPONSECTION = 1

Code: Select all

Pilottype      = "vehicleself"
Look at this video. Near the end the two Droid Enforcers on the left move on their own. The one on the far right does not have any time to move before the game ultimately crashes.

https://www.dropbox.com/s/k7wcy9a1kzjbn ... -00-37.avi

With no evidence of what went wrong in the error log I don't know how to fix this. Can anyone help? Thanks. :)
Dreadnot9
Chief Warrant Officer
Chief Warrant Officer
Posts: 341
Joined: Wed Jun 06, 2012 2:05 pm
Projects :: Rising Conflict CW v2.0
Games I'm Playing :: Skyrim TF2 FTL
xbox live or psn: Steam is Dreadnot9

Re: Vehicles acting as AI?

Post by Dreadnot9 »

If you want the whole vehicle to pilot itself I don't think you put the "PilotType = self" line under any weaponsection, just under properties near the top of the odf.
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: Vehicles acting as AI?

Post by THEWULFMAN »

Just a note, it's my understanding that having Hover self piloted vehicles immediately crash the game. At least that's what has happened to me, and several other people. Maybe we're all just doing it wrong.

Self piloted flyers work just fine though.
Dreadnot9
Chief Warrant Officer
Chief Warrant Officer
Posts: 341
Joined: Wed Jun 06, 2012 2:05 pm
Projects :: Rising Conflict CW v2.0
Games I'm Playing :: Skyrim TF2 FTL
xbox live or psn: Steam is Dreadnot9

Re: Vehicles acting as AI?

Post by Dreadnot9 »

Another note: I've had walkers work as well.
User avatar
Glitch25
Sergeant Major
Sergeant Major
Posts: 222
Joined: Mon May 07, 2012 1:01 pm
Projects :: [ISM] [BFU]
Games I'm Playing :: [SWBFII] [SWBFI]
Location: Baktoid Combat Automata
Contact:

Re: Vehicles acting as AI?

Post by Glitch25 »

Maybe it just wont work on the Hailfire and Tread Droid. I'll give the Spider Droid and the Space Vehicles a try.

Edit: Space vehicles worked fine. None of the land vehicles operated on their own without making the game crash. :?
User avatar
Dakota
Field Commander
Field Commander
Posts: 991
Joined: Mon Dec 06, 2010 8:21 pm
Projects :: making random weapon assets
Games I'm Playing :: SWBF2 and more
xbox live or psn: PS3 beats xbox
Location: at a computer desk floating around in space

Re: Vehicles acting as AI?

Post by Dakota »

any hover vehicle, including tread ones like hailfires and snail tanks end up crashing.

so far any other vehicle or turret works autopiloted. I've done it with walkers, fliers, and turrets.
Post Reply