Page 1 of 1

AI boarding ships in space battles?

Posted: Mon Jan 07, 2013 7:37 pm
by seabasst44
Is there a way to make the AI do this? just wondering

Many Thanks

SB

Re: AI boarding ships in space battles?

Posted: Tue Jan 08, 2013 3:24 am
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.

Re: AI boarding ships in space battles?

Posted: Tue Jan 08, 2013 12:33 pm
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.

Re: AI boarding ships in space battles?

Posted: Tue Jan 08, 2013 11:14 pm
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)

Re: AI boarding ships in space battles?

Posted: Wed Jan 09, 2013 12:02 am
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.

Re: AI boarding ships in space battles?

Posted: Wed Jan 09, 2013 3:46 am
by DarthSolous
If that's the case, then it sounds more simple than I thought it would. :)

Re: AI boarding ships in space battles?

Posted: Wed Jan 09, 2013 6:02 pm
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.

Re: AI boarding ships in space battles?

Posted: Thu Jan 10, 2013 12:52 am
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?

Re: AI boarding ships in space battles?

Posted: Thu Jan 10, 2013 2:49 am
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.

Re: AI boarding ships in space battles?

Posted: Thu Jan 10, 2013 11:58 am
by GAB
It's so simple. I wonder why Pandemic didn't do it.

Re: AI boarding ships in space battles?

Posted: Thu Jan 10, 2013 1:39 pm
by Teancum
Either the development budget or the time crunch. They only had a year.

Re: AI boarding ships in space battles?

Posted: Thu Jan 10, 2013 3:25 pm
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.