AI boarding ships in space battles?

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
seabasst44
Posts: 1
Joined: Mon Jan 07, 2013 5:01 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

AI boarding ships in space battles?

Post by seabasst44 »

Is there a way to make the AI do this? just wondering

Many Thanks

SB
User avatar
DarthSolous
Chief Warrant Officer
Chief Warrant Officer
Posts: 351
Joined: Fri Sep 14, 2012 4:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2 Halo Minecraft
xbox live or psn: No gamertag set
Location: Wielding the Dark Side of the Force on Korriban

Re: AI boarding ships in space battles?

Post by DarthSolous »

I believe Maveritchell did it in one of his Dark Times II maps (I think it was Mon Calamari: Space), so it is possible. I don't know exactly how he did it though.
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: AI boarding ships in space battles?

Post by Glitch25 »

I'd love to see that done. Players would have to choose to defend their internal or external systems making the gameplay a hell of a lot more interesting. AI Marines would actually be useful for once, no longer needing to be placed in the enemy hanger by the player.
User avatar
DarthSolous
Chief Warrant Officer
Chief Warrant Officer
Posts: 351
Joined: Fri Sep 14, 2012 4:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2 Halo Minecraft
xbox live or psn: No gamertag set
Location: Wielding the Dark Side of the Force on Korriban

Re: AI boarding ships in space battles?

Post by DarthSolous »

Glitch25 wrote:I'd love to see that done. Players would have to choose to defend their internal or external systems making the gameplay a hell of a lot more interesting. AI Marines would actually be useful for once, no longer needing to be placed in the enemy hanger by the player.
Yeah, it'd be awesome to see in a really massive space battle 8)
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: AI boarding ships in space battles?

Post by Dreadnot9 »

I'm fairly certain (but don't quote me on this) that Mav did the flyers using predetermined animation paths, as in- the AI don't actually fly the ship and land it. In essence it's an animated prop/vehicle, and you use the lua to set it up so that the animation only begins once the vehicle is full.
User avatar
DarthSolous
Chief Warrant Officer
Chief Warrant Officer
Posts: 351
Joined: Fri Sep 14, 2012 4:28 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2 Halo Minecraft
xbox live or psn: No gamertag set
Location: Wielding the Dark Side of the Force on Korriban

Re: AI boarding ships in space battles?

Post by DarthSolous »

If that's the case, then it sounds more simple than I thought it would. :)
User avatar
Cleb
Lieutenant General
Lieutenant General
Posts: 711
Joined: Sun Jun 17, 2012 10:12 pm
Projects :: Learning how to use 3DS Max
Games I'm Playing :: BF2 CIV4 MC
xbox live or psn: ˙. ˙. ˙. ˙. ˙. ˙
Location: Somewhere
Contact:

Re: AI boarding ships in space battles?

Post by Cleb »

You would also have to have the ship in the flight mode via lua also (I think there is a command for that but I can't remember because the last time I really modded was in october) or else if it was a command flyer/flyer with takeoff animation/any other flyer then people could spawn at it and fall out into space, people could just jump out, and in cases like the imperial troop transport it would still be in landing mode.
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: AI boarding ships in space battles?

Post by yuke5 »

I think it could actually be simpler than we're making it. I tested this and just flew the command flyer to a random spot on the map. I then took control of one of the turrets, and the command flyer flew towards the hangar. I may be a simple A.I. command or something. Maybe some specific flyer spines?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: AI boarding ships in space battles?

Post by THEWULFMAN »

Okay I'll just end this right here by telling you how it works, though not how to do it because I can't be bothered with it right now.

1) Shuttle has its own flyer spline.
2) Flyer spline takes it to enemy hanger.
3) Lua command lands the shuttle and forces everyone out.

That's how Mav did it.
User avatar
GAB
1st Lieutenant
1st Lieutenant
Posts: 431
Joined: Sun Jul 03, 2011 8:56 pm
Location: Somewhere around the world
Contact:

Re: AI boarding ships in space battles?

Post by GAB »

It's so simple. I wonder why Pandemic didn't do it.
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: AI boarding ships in space battles?

Post by Teancum »

Either the development budget or the time crunch. They only had a year.
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: AI boarding ships in space battles?

Post by Marth8880 »

GAB wrote:It's so simple. I wonder why Pandemic didn't do it.
The flyer splines are set up to have landing implemented but they probably didn't have time to get it working since, well, heh, it doesn't work. :V Same with fighter squadrons.
Post Reply