FsPassengers Forums
How to distinguish between SEP and TEP? - Printable Version

+- FsPassengers Forums (http://www.fspassengers.com/forum)
+-- Forum: FsPassengers (http://www.fspassengers.com/forum/forumdisplay.php?fid=3)
+--- Forum: FsPassengers Support (http://www.fspassengers.com/forum/forumdisplay.php?fid=5)
+--- Thread: How to distinguish between SEP and TEP? (/showthread.php?tid=6362)

Pages: 1 2


How to distinguish between SEP and TEP? - AltairZQ - 09-06-2006

At our VA we have this distintion about pilots that can fly a Single Engine Piston and pilots that can fly a Single and a Twin Engine Piston aircraft.

I've seen that FsP can distinguish between Single Engine Piston and Multiple Engine Piston. Is it possible also to differenciate the Twin Engine Piston?



Post Edited ( 06-09-06 11:52 )


Re: How to distinguish between SEP and TEP? - ILikePlanes - 09-06-2006

im sure its possible...




Re: How to distinguish between SEP and TEP? - AltairZQ - 09-06-2006

I hope... but does anyone know how?




Re: How to distinguish between SEP and TEP? - AltairZQ - 10-06-2006

Anyone please? I really need that.




Re: How to distinguish between SEP and TEP? - ILikePlanes - 11-06-2006

it would have to be written into fsp i don't think there is any way to do it yourself??? anyone??




Re: How to distinguish between SEP and TEP? - crowebird - 11-06-2006

<?php

$aircraft = $_POST[AircraftType];
if $aircraft == "SEP" {
//code
} else if $aircraft == "MEJ" {
//code
} else if $aircraft == "TEP" {
//
etc..
etc..

OR

$aircraft = $_POST[AircraftType];
switch ($aircraft):
case "SEP":
//code
break;
case "MEJ":
//code
break;
endswitch;




Re: How to distinguish between SEP and TEP? - AltairZQ - 11-06-2006

But Crowbird, are you sure that FsP can distinguish between SEP, TEP and MEP?

I mean, will there ever be a $_POST[AircraftType] with a value equal to "TEP"?

For insance the Beech Baron 58 is listed as MEP and it has 2 engines.




Re: How to distinguish between SEP and TEP? - ILikePlanes - 11-06-2006

is that c++ ??




Re: How to distinguish between SEP and TEP? - AltairZQ - 11-06-2006

No it's PHP.

But it would be very similar in C, C++, Perl...



Post Edited ( 06-11-06 22:13 )


Re: How to distinguish between SEP and TEP? - AltairZQ - 13-06-2006

Maybe Dan could answer this?




Re: How to distinguish between SEP and TEP? - poden - 13-06-2006

I'm sure any upgrade in the division of MEP into TEP/MEP would require some sort of change to FSP.


Re: How to distinguish between SEP and TEP? - AltairZQ - 14-06-2006

Ah yes of course but I was hoping FsP maybe could distinguish between SEP TEP and MEP *already*, and the Baron be maybe a mistake.

Anyway I'm building another table with our company fleet so this is not an issue anymore.




Re: How to distinguish between SEP and TEP? - AltairZQ - 14-06-2006

And thanks Dan for your help.. oh sorry you are too busy answering the thread about that math trick.




Re: How to distinguish between SEP and TEP? - crowebird - 16-06-2006

You could always tell the php script what kind of planes are classified at TEP..
otherwise FsP would need a code adjustement




Re: How to distinguish between SEP and TEP? - poden - 16-06-2006

I've flown quite a few twins in FSP, and have never seen any listed as a "TEP"; they're all "MEP".

You could try checking this out however by creating a test airline with lots of money, buying various planes, and seeing how they're classified, but I think all you'll see is "SEP" and "MEP" (or "SET" and "MET", etc).

Not having done any VA flying myself, I don't know if you can pick off the actual aircraft name (i.e. Baron, etc), but if you can do that, you could just expand the input script to differientiate between MEP and TEP.



Post Edited ( 06-17-06 00:19 )