Pilot Ship Remotely [Solved]
Moderator: Moderators
- yuke5
- Field Commander

- Posts: 945
- Joined: Wed Jun 29, 2011 10:42 pm
- xbox live or psn: My steam is yuke5.
- Location: Vermont
Pilot Ship Remotely [Solved]
I've just had a bit of an idea, but before I pursue much further, I just want to make sure it is possible. Can you pilot a flyer from a separate control panel, like turrets on capital ships?
Last edited by yuke5 on Sat Jul 20, 2013 6:06 pm, edited 10 times in total.
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: Pilot Ship Remotely
Yep; just set up the remote chair thing (from stock space) like you normally would and reference the flyer or other vehicle in the area where you'd put the turret (in the chair's instance properties in ZE). Then, put this line:
in your vehicle's ODF under FLYERSECTION = "BODY", and you're good to go. 
Code: Select all
PilotType = "remote"- yuke5
- Field Commander

- Posts: 945
- Joined: Wed Jun 29, 2011 10:42 pm
- xbox live or psn: My steam is yuke5.
- Location: Vermont
Re: Pilot Ship Remotely
Thank you. I'm going to see if I can get this working. If I can, I think I might have something promising.
- Locutus
- 1st Lieutenant

- Posts: 420
- Joined: Fri Jun 04, 2010 10:08 am
- Projects :: Stargate Battlefront Pegasus
- Location: Germany
- Contact:
Re: Pilot Ship Remotely [SOLVED]
Actually it's not that easy. At least I had some trouble with it.
It works very well for ground vehicles but with flyers I had one problem: It's easy to get in and control them but as soon as I left them mid-air (aka not landed) they exploded instantly so I could never get back in.
I tried using stuff like using SetProperty() to set the pilottype to vehicleself when I exited or EntityFlyerInitAsLanded() but that didn't work out for me.
Have you had success in remotely piloting a flyer type vehicle you exited it before?
It works very well for ground vehicles but with flyers I had one problem: It's easy to get in and control them but as soon as I left them mid-air (aka not landed) they exploded instantly so I could never get back in.
I tried using stuff like using SetProperty() to set the pilottype to vehicleself when I exited or EntityFlyerInitAsLanded() but that didn't work out for me.
Have you had success in remotely piloting a flyer type vehicle you exited it before?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Pilot Ship Remotely [Solved]
If you check out the first version of RepSharpShooter's Battle Arena there's a spectator class that can access turrets that control little flying cameras. I've also toyed with using turrets to control little mini capital ships. It's certainly possible, but takes a bit of tweaking.
- yuke5
- Field Commander

- Posts: 945
- Joined: Wed Jun 29, 2011 10:42 pm
- xbox live or psn: My steam is yuke5.
- Location: Vermont
Re: Pilot Ship Remotely [SOLVED]
Right now I'm just trying to get everything set up. I'm not worried about the player exiting the flyer and then it exploding. As a matter of fact, I WANT it to explode as soon as the player exits. I'm trying something that I think is a little over my head. I want to have the player control an unmanned frigate loaded with explosives and fly in into an enemy fleet as a campaign objective. I know that having a frigate as a flyer is possible, but for now, I'm just want to make sure I can fly a star fighter remotely before I try to tackle the frigate.Locutus wrote:Actually it's not that easy. At least I had some trouble with it.
It works very well for ground vehicles but with flyers I had one problem: It's easy to get in and control them but as soon as I left them mid-air (aka not landed) they exploded instantly so I could never get back in.
I tried using stuff like using SetProperty() to set the pilottype to vehicleself when I exited or EntityFlyerInitAsLanded() but that didn't work out for me.
Have you had success in remotely piloting a flyer type vehicle you exited it before?
EDIT: I got it working, and there are some issues, but they aren't directly related to this topic.
