Bug #546

ECS/FIRS Compatibility

Added by extspotter over 3 years ago. Updated 9 months ago.

Status:Closed Start date:2009-09-03
Priority:Low Due date:2010-01-31
Assignee:Frank % Done:

100%

Category:General NFO
Target version:World Airliners Set v0.1

Description

Make passenger aircraft refitable to tourists and freight aircraft compatible refit to all ECS and FIRS cargoes.

History

#1 Updated by Beardie27 over 3 years ago

  • Target version changed from Alpha Release Fixes to World Airliners Set v0.1

#2 Updated by DJNekkid over 3 years ago

For freight planes:
use Action0 property 18 and 19;
18 \wxFFFE
19 \wx0001

for tourists, pax, mail and valu:
18 \wx000B
19 \wxFFF0

However: this will let the tourist capacity be rather low... (1/4th of pax).
If you use VarAction2 variable 47 you can set the correct ammount if linking it to Callback 15 (Remember to activate it action0 property 1E)

the combination would be something in this direction:
-1 * 0 02 0x nn 81 47 10 FF 04
\bPP 80 01 01 // Pax capacity
\bTT 80 05 05 // Tourist capacity
\bMM 80 02 02 // Mail capacity
\bAA 80 08 08 // Valuables capacity
\b00 80 // Everything else

then link nn to a callback15 in your callbacks line...
ps. If the value (PP, TT etc) is more then 255 this is no problem. Lets say you want 500 ... 500-256 = 244 ...

\b244 81 01 01 ... note the 81, the "1" means 256 ... 700 is \b188 82 (2=2*256=512, 512+188 = 700)

If that were unclean, just drop me a note on IRC or MSN :)

#3 Updated by Frank over 3 years ago

  • Due date set to 2010-01-31
  • % Done changed from 0 to 20

#4 Updated by Frank over 3 years ago

  • % Done changed from 20 to 10

#5 Updated by Frank 9 months ago

  • Priority changed from Urgent to Low

#6 Updated by Frank 9 months ago

  • % Done changed from 10 to 80

#7 Updated by Frank 9 months ago

  • % Done changed from 80 to 100

#8 Updated by Beardie27 9 months ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF