they did this with and without flyer planning
DUI LAAT/I drivers??
Moderator: Moderators
- IndianaJoe
- 1st Lieutenant

- Posts: 425
- Joined: Sun Jun 07, 2009 11:21 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: ♦♠Lining up a headshot.♠♦
DUI LAAT/I drivers??
i added the BF1 Laat to my map, and now the pilot flies like a drunk:
they fly around in crazy loops and circles and ram spires.
they did this with and without flyer planning
i dunno what's going on, i tried widening the hubs all to a radius of 10, but that didn't help...
Hidden/Spoiler:
they did this with and without flyer planning
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: DUI LAAT/I drivers??
use flyer splines
http://www.gametoast.com/forums/viewtop ... how+to+use
this topic should have some useful info in it
http://www.gametoast.com/forums/viewtop ... how+to+use
this topic should have some useful info in it
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: DUI LAAT/I drivers??
Or you could just ad a trail of smoke to the LAAT/I, that would explain it's driving as well. 
-
The_Emperor
- Supreme Galactic Ruler
- Posts: 2118
- Joined: Sat Dec 10, 2005 6:30 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Waaaaay over there.
Re: DUI LAAT/I drivers??
or a trail of empty bottles falling out of it
-
mswf
- Master Bounty Hunter

- Posts: 1674
- Joined: Tue Mar 31, 2009 3:40 pm
- Location: Twello, The Netherlands
- Contact:
Re: DUI LAAT/I drivers??
If it was my map, I'd sure go for the latter two suggestions.
Hidden/Spoiler:
- IndianaJoe
- 1st Lieutenant

- Posts: 425
- Joined: Sun Jun 07, 2009 11:21 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: ♦♠Lining up a headshot.♠♦
Re: DUI LAAT/I drivers??
The_Emperor wrote:or a trail of empty bottles falling out of it
i am actually trying to be serious... but that had me laughing like crazy
so splines will keep the guys steady when they fly? or what?
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: DUI LAAT/I drivers??
splines are supposed to be like guidelines for the flyers, they will follow them, but not as if they are tied to it by a short wire. the stock hoth uses them for the snowspeeders.
- IndianaJoe
- 1st Lieutenant

- Posts: 425
- Joined: Sun Jun 07, 2009 11:21 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: ♦♠Lining up a headshot.♠♦
Re: DUI LAAT/I drivers??
ok, they work, (mine SUCK but, i will work out the bugs...)
now, i want them to land, but when they reach the end of the path, the reach this:

but they just fly into the wall... how do implement this?
now, i want them to land, but when they reach the end of the path, the reach this:
but they just fly into the wall... how do implement this?
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: DUI LAAT/I drivers??
AFAIK the "land" function doesn't work in SWBF2.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: DUI LAAT/I drivers??
Yes, AI are incapable of landing, simple though it may seem.
AI are often dumber than we suppose, but can do really unexpected things....the other day I ran into an Emperor AI that used the infinite block glitch....
If you want the flyer to land you'll need to manually land it.
AI are often dumber than we suppose, but can do really unexpected things....the other day I ran into an Emperor AI that used the infinite block glitch....
If you want the flyer to land you'll need to manually land it.
- IndianaJoe
- 1st Lieutenant

- Posts: 425
- Joined: Sun Jun 07, 2009 11:21 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: ♦♠Lining up a headshot.♠♦
Re: DUI LAAT/I drivers??
oh,
i wanted them to land and storm the droid control center
)
in that case, what do i do when the reache the end of a path? (so they don't fly randomly and hit a spire) will they get back on a path? or what?
in that case, what do i do when the reache the end of a path? (so they don't fly randomly and hit a spire) will they get back on a path? or what?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: DUI LAAT/I drivers??
Hmm....maybe a hectic LUA workaround which goes roughly as follows:
That's a rough outline. The "touchdown" anim plays on a pre-placed LAAT prop that was out of site (under terrain, maybe) but is rapidly zoomed into view by the ZE anim.
Overall effect: the flyer reaches the end of the path. It is destroyed, and a flyer prop replaces it in midair. This prop slowly descends to the ground, simulating a touchdown, and a bunch of AI are spawned around it. No player activity required (indeed, if a player were in the flyer he'd be killed).
It's messy. The destroyed LAAT's chunks will be visibly tumbling to the ground as the prop descends. This might be circumvented by first teleporting the real LAAT to a distant location (such as a dark alley, or behind a dumpster....) and then killing it. It's still messy.
If you want the flyer to follow a set path, it's easier to set it up as a turret, then
End result: when you enter the turret, it lifts off automatically. You have no control. It flys to a pre-set destination, lands, you can get out, and AI spawn around you.
Con: you can't steer. And there's only one passenger position.
See the opening of Operation FM for a pseudo-example of this.
Code: Select all
OnEnterRegion --region at end of flight path
KillObject(LAAT)
PauseAnimation(touchdown)
RewindAnimation(touchdown) --ZE animation of LAAT prop "landing"
PlayAnimationFromTo(touchdown, "timestart", "timeend"
Ambush(path_near_landed_flyer_prop, numberPassengers, fromTeam)Overall effect: the flyer reaches the end of the path. It is destroyed, and a flyer prop replaces it in midair. This prop slowly descends to the ground, simulating a touchdown, and a bunch of AI are spawned around it. No player activity required (indeed, if a player were in the flyer he'd be killed).
It's messy. The destroyed LAAT's chunks will be visibly tumbling to the ground as the prop descends. This might be circumvented by first teleporting the real LAAT to a distant location (such as a dark alley, or behind a dumpster....) and then killing it. It's still messy.
If you want the flyer to follow a set path, it's easier to set it up as a turret, then
Code: Select all
OnEnterVehicle
PauseAnimation(fly)
RewindAnimation(fly)
PlayAnimationFromTo(fly, "start", "end")
ForcePlayerFromVehicle --Disclaimed: not a real function. Basically you force the player from the turret, I forgot the actual name, may want to look that up
Ambush(path_near_landed_turret, numberAI, fromTeam)Con: you can't steer. And there's only one passenger position.
See the opening of Operation FM for a pseudo-example of this.
- IndianaJoe
- 1st Lieutenant

- Posts: 425
- Joined: Sun Jun 07, 2009 11:21 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: ♦♠Lining up a headshot.♠♦
Re: DUI LAAT/I drivers??
ugh,
i have no lua skills, this will probably have to wait...
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: DUI LAAT/I drivers??
Apologies - I hadn't adressed that question. If you don't want a sloppy LUA workaround, I'd recommend editing the path to loop around the spire, maybe.IndianaJoe wrote:in that case, what do i do when the reache the end of a path? (so they don't fly randomly and hit a spire) will they get back on a path? or what?
- IndianaJoe
- 1st Lieutenant

- Posts: 425
- Joined: Sun Jun 07, 2009 11:21 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: ♦♠Lining up a headshot.♠♦
Re: DUI LAAT/I drivers??
um, will they get back on the path? (after i loop it back)
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: DUI LAAT/I drivers??
You misunderstand me; I mean extend the path around the spire and head it off in a different direction. If you do it the way you're thinking of, I don't know.
