THE PT FILE THE FA AIRCRAFT FLIGHT MODEL BLUE: Can be changed with toolkit RED: Can be changed with Text Editor GREEN: Unknown or unsure of what value controls 0001 [brent's_relocatable_format] 0002 0003 ;---------------- START OF OBJ_TYPE ---------------- 0004 0005 0006 ;---------------- general info ---------------- 0007 0008 byte 5. . . . :STRUCTURE TYPE (5 for aircraft, 3 for vehicles, 1 for structures, 7 for ordnance) 0009 word 708. . . :TYPE SIZE?? 0010 word 660. . . :INSTANCE SIZE?? 0011 ptr ot_names 0012 dword $806bf7 :($806BF3: PLANE IS FLYABLE) ($802BF3: PLANE IS NOT FLYABLE, 80 being the key for the toolkit to indicitate the choice. On NT files this is the shadow shade direction, $2000821 for fixed northern direction, like on KS-19 guns where the gun carriage is fixed and the cannon rotates around it, or $821 for shadow shape locked to follow direction of object, like the new artillery gun where the two leg carriage rotates with the gun) 0013 word $ffff8000::(OBJECT CLASS(8000:FIGHTER)(4000:BOMBER)(2000:HELI.) in NT files (2000:SHIP)(1000:SAM)(800:AAA)(400:ARMOR)(200: VEHICLE)) 0014 ptr shape 0015 ptr shadowShape 0016 dword 0. . . .:?? 0017 dword 0. . . .:?? 0018 word 0. . . :DAMAGE DEBRIS POSITION X 0019 word 0. . . . :DAMAGE DEBRIS POSITION Y 0020 word 0. . . . :DAMAGE DEBRIS POSITION Z 0021 dword 0. . . .:?? 0022 dword 0. . . .:?? 0023 word 0. . . . :DESTROYED DEBRIS POSITION X 0024 word 20. . . .:DESTROYED DEBRIS POSITION Y 0025 word 40. . . :DESTROYED DEBRIS POSITION Z 0026 dword 0. . . .:DAMAGE TYPE?? 0027 dword 1979. . :SERVICE ENTRY YEAR 0028 word 180. . . :MAXIMUM VISION DISTANCE(set to 0 for invisible objects, works same on NT objects) 0029 word 0. . . . :MAXIMUM CAMERA DISTANCE 0030 word 98. . . .:MAXIMUM GUN HIT DISTANCE (HIT BUBBLE - Update: This is the maximum distance in feet that the target can be from you for you to obtain a hit with your guns.) 0031 word 98. . . .:LASER TARGETING SIGNATURE?? 0032 word 100. . . :IRS SIGNATURE 0033 word 100. . . :RCS SIGNATURE 0034 word 0. . . . :SIGNATURE???? 0035 word 92. . . .:OBJECT HIT POINTS 0036 word 255. . . :DAMAGE INFLICTED ON PLANES 0037 word 255. . . :DAMAGE INFLICTED ON SHIPS 0038 word 255. . . :DAMAGE INFLICTED ON STRUCTURE 0039 word 255. . . :DAMAGE INFLICTED ON ARMOR 0040 word 255. . . :DAMAGE INFLICTED ON OTHER 0041 byte 30. . . .:EXPLOSION TYPE 0042 byte 0. . . . :CRATER SIZE 0043 dword 15586. .:EMPTY PLANE WEIGHT 0044 word 199. . . :CMDBUFFSIZE?? 0045 0046 ;---------------- movement info ---------------- 0047 0048 word 0. . . . :TURN RATE. . . . . . . (NOT FOR PLANES) 0049 word 16380. . :BANK/ROLL RATE. . . . .(FOR AI PLANES) 0050 word 14560. . :MAXIMUM CLIMB LIMIT. . (FOR AI PLANES) 0051 word 14560. .:MAXIMUM DIVE LIMIT. . .(FOR AI PLANES) 0052 word 16380. . :MAXIMUM BANK/ROLL RATE.(FOR AI PLANES) 0053 word 0. . . . :ACCELERATION. . . . . .(NOT FOR PLANES) 0054 word 0. . . . :DECELERATION. . . . . .(NOT FOR PLANES) 0055 word 0. . . . :Max Speed 0056 dword ^0. . . :Acceleration 0057 dword ^0. . . :Deceleration 0058 dword ^300. . :MINUMUM ALTITUDE 0059 dword ^60000. :MAXIMUM ALTITUDE 0060 symbol _PLANEProc ; utilProc ?? 0061 0062 ;---------------- sound info ---------------- 0063 0064 ptr loopSound 0065 ptr secondSound 0066 ptr engineOnSound 0067 ptr engineOffSound 0068 byte 1 0069 word 15000. . :MAXIMUM SOUND DISTANCE(in feet?, default 15000, maximum 30000, values over 30000 make aircraft silent) 0070 word 320. . . :MAXIMUM PLUS DOPPLER PITCH 0071 word 160. . . :MAXIMUM MINUS DOPPLER PITCH 0072 word 20. . . .:MINIMUM DOPPLER SPEED 0073 word 1600. . .:MAXIMUM DOPPLER SPEED 0074 word 0. . . . :REAR VIEW POSITION RIGHT & LEFT 0075 word 20. . . .:REAR VIEW POSITION UP & DOWN 0076 word 60. . . .:REAR VIEW POSITION FORE & AFT 0077 ptr hudName 0078 0079 0080 0081 ;---------------- END OF OBJ_TYPE ---------------- 0082 0083 0084 ;---------------- START OF NPC_TYPE ---------------- 0085 0086 dword $0. . . :?? 0087 ptr ctName. . :Designator for the objects AI type. Referral to ctName at the bottom of the PT file (not shown here) 0088 byte 20. . . .:AI SEARCH FREQUENCY 0089 byte 32. . . .:AI UNREADY ATTACK 0090 byte 20. . . .:AI ATTACK 0091 word 32767. . :AI RE-TARGET 0092 word 0. . . . :AI ZONE DISTANCE 0093 byte 11. . . .:NUMBER OF HARDPOINTS 0094 ptr hards 0095 0096 ;---------------- END OF NPC_TYPE ---------------- 0097 0098 0099 ;---------------- START OF PLANE_TYPE ---------------- 0100 0101 dword $11. . .:($11:SINGLE SEAT LAND PLANE)($15 TWO-SEATER LAND PLANE)($53:SINGLE SEAT CARRIER PLANE)($57:TWO-SEAT CARRIER PLANE)($71:SINGLE SEAT VTOL)($2005:AWACS) ($4005:J-STARS)($6005:JTIDS) - Update: Actually only the first digit indicate either AIR(2), GROUND(4) BOTH (JTIDS - 6) the first 0 is a place holder for other codes (see below) and the 05 indicates the aircraft to have a 2 seat land based aircraft with no ejection. So for a fighter with JTIDS the designation will be 6011, the 11 indicating a single seat land plane with eject-able pilot) (01) - single seat land plane without ejection (05) - two seat land plane without ejection (11) - single seat land plane with ejection (15) - two seat land plane cockpit with ejection (41) - single seat carrier plane without ejection (45) - two seat carrier plane cockpit without ejection (51) - single seat carrier plane with ejection (55) - two seat carrier plane cockpit with ejection (4f1) - single seat thrust vectoring(pitch only)carrier plane with ejection (4f5) - two seat thrust vectoring(pitch only)carrier plane with ejection (4e1) - single seat thrust vectoring(pitch only)carrier plane without ejection (4e5) - single seat thrust vectoring(pitch only)carrier plane without ejection (91) - single seat thrust vectoring(pitch only)land plane with ejection (95) - two seat thrust vectoring(pitch only)land plane with ejection (81) - single seat thrust vectoring(pitch only)land plane with ejection (85) - two seat thrust vectoring(pitch only)land plane with ejection (591) - single seat thrust vectoring(pitch and yaw)land plane with ejection (595) - two seat thrust vectoring(pitch and yaw)land plane with ejection (581) - single seat thrust vectoring(pitch and yaw)land plane without ejection (585) - two seat thrust vectoring(pitch and yaw)land plane without ejection (5d1) - single seat thrust vectoring(pitch and yaw)carrier plane with ejection (5d5) - two seat thrust vectoring(pitch and yaw)carrier plane with ejection (5c1) - single seat thrust vectoring(pitch and yaw)carrier plane without ejection (5c5) - two seat thrust vectoring(pitch and yaw)carrier plane without ejection. So as a final example of a completely new code for an aircraft with thrust vectoring in both pitch and yaw, two place cockpit, carrier aircraft, with JTIDS link for both air and land targets the new code is $65d5... 0102 ptr env 0103 word 4. . . .: START OF G-TABLE 0104 word 10. . . .:END OF G-TABLE 0105 word 1318. . .:MAXIMUM SPEED LIMIT AT SEA LEVEL 0106 word 1906. . .:MAXIMUM SPEED LIMIT AT 36K FEET 0107 word 73. . . :MAXIMUM BACKWARDS SPEED (IN FPS) 0108 word 0. . . . :**NOT USED** 0109 word 73. . . .:ACCELERATION ON RUNWAY 0110 word 73. . . .:DECELERATION ON RUNWAY 0111 word 146. . .:_bv.y.min?? 0112 word 146. . . :_bv.y.max?? 0113 word 7. . . . :_bv.y.acc?? 0114 word 7. . . . :_bv.y.dacc?? 0115 word 146. . .:_bv.z.min?? 0116 word 146. . . :_bv.z.max?? 0117 word 73. . . .:_bv.z.acc?? 0118 word 73. . . .:_bv.z.dacc?? 0119 word 270. . .:ROLL SPEED 0120 word 270. . . :ROLL SPEED 0121 word 362. . . :ROLL ACCELERATION RATE 0122 word 724. . . :ROLL DECELERATION RATE 0123 word 0. . . . : **NOT USED**?? - _brv.y.min?? 0124 word 0. . . . : **NOT USED**?? - _brv.y.max 0125 word 9. . . . :G-PULL ACCELERATION 0126 word 9. . . . :G-PULL DECELERATION 0127 word 45. . . :YAW SPEED WHEN ON RUNWAY 0128 word 45. . . .:YAW SPEED WHEN ON RUNWAY 0129 word 90. . . .:YAW ACCELERATION ON RUNWAY 0130 word 90. . . .:YAW DECELERATION ON RUNWAY 0131 word 20. . . .:G-PULL ANGLE OF ATTACK (AoA) limit when plane exeeds 9 G's 0132 word 330. . . :LOW ANGLE OF ATTACK (AoA) SPEED limit when plane exeeds 9 G's 0133 word 14. . . .:LOW ANGLE OF ATTACK (AoA) PITCH limit when plane exeeds 9 G's 0134 word 125. . . :TURBULENCE PERCENTAGE 0135 word 20. . . :RUDDER MINIMUM YAW LIMIT 0136 word 20. . . .:RUDDER MAXIMUM YAW LIMIT 0137 word 30. . . .:RUDDER YAW ACCELERATION (Degrees yaw/sec when rudder is fully deflected) 0138 word 30. . . .:RUDDER YAW DECELERATION (Degrees yaw/sec when rudder returns to neutral) 0139 word 50. . . .:RUDDER SLIP (deg/sec when rudder is fully deflected) 0140 word 128. . . :RUDDER DRAG (when rudder is fully deflected) 0141 word 500. . . :RUDDER BANK (deg/sec when rudder is fully deflected) 0142 word 90. . . :STOVL & ASTOV PERFORMANCE DATA (puffRot.x.min) 0143 word 90. . . .:STOVL & ASTOV PERFORMANCE DATA (puffRot.x.max) 0144 word 362. . . :STOVL & ASTOV PERFORMANCE DATA (Pull Up or Down Rate II ??) 0145 word 724. . . :STOVL & ASTOV PERFORMANCE DATA (Pull Up or Down Rate II ??) 0146 word 90. . . :STOVL & ASTOV PERFORMANCE DATA (puffRot.y.min) 0147 word 90. . . .:STOVL & ASTOV PERFORMANCE DATA (puffRot.y.max) 0148 word 362. . . :STOVL & ASTOV PERFORMANCE DATA (Pull Up or Down Rate III ??) 0149 word 724. . . :STOVL & ASTOV PERFORMANCE DATA (Pull Up or Down Rate III ??) 0150 word 90. . . :HORIZONTAL SPIN SPEED/HOVERING(STOVL&ASTOV puffRot.z.min) 0151 word 90. . . .:HORIZONTAL SPIN SPEED/HOVERING(STOVL&ASTOV puffRot.z.max) 0152 word 362. . . :HOR.SPIN SPEED ACCELERATION(STOVL&ASTOV Pull Up or Down Speed IV??) 0153 word 724. . . :HOR.SPIN SPEED DECELERATION(STOVL&ASTOV Pull Up or Down Speed IV??) 0154 word 256. . . :STALL WARNING START TIME 0155 word 768. . . :STALL DURATION TIME 0156 word 128. . . :STALL SEVERITY 0157 word 0. . . . :STALL DEGREES PITCH DOWN 0158 word 1. . . . :SPIN ENTRY 0159 word 2. . . .:SPIN EXIT 0160 word 120. . . :SPIN YAW LOW 0161 word 180. . . :SPIN YAW HIGH 0162 word 30. . . .:SPIN ANGLE OF ATTACK LOW 0163 word 70. . . .:SPIN ANGLE OF ATTACK HIGH 0164 word 15. . . .:SPIN BANK LOW 0165 word 5. . . . :SPIN BANK HIGH 0166 word 0. . . . :PITCH ANGLE WHEN LANDED 0167 word 400. . . :CRASH SPEED FORWARD 0168 word 30. . . .:CRASH SPEED SIDE 0169 word 75. . . .:CRASH SPEED VERTICAL 0170 word 15. . . .:CRASH PITCH DEGREES 0171 word 5. . . . :CRASH ROLL DEGREES 0172 byte 1. . . . :NUMBER OF ENGINES 0173 word 0. . . . .:NEGATIVE G LIMIT 0174 dword 32000. .:MILITARY THRUST 0175 dword 41000. .:AFTERBURNER THRUST 0176 word 35. . . .:THROTTLE ACEELERATION 0177 word 60. . . .:THROTTLE DECELERATION 0178 word 0. . . . :VEC THRUST DEGREES LIMIT UP 0179 word 0. . . . :VEC THRUST DEGREES LIMIT DOWN 0180 word 0. . . . :VEC THRUST DEGRESS/SEC SPEED 0181 word 4. . . . :MILITARY FUEL CONSUMPTION 0182 word 18. . . .:AFTERBURNER FUEL CONSUMPTION 0183 dword 6973. . :INTERNAL FUEL (LBS) 0184 word 256. . . :AIRCRAFT DRAG 0185 word 52. . . .:G-PULL DRAG 0186 word 400. . . :AIR BRAKE DRAG 0187 word 102. . . :WHEEL BRAKE DRAG 0188 word 76. . . .:FLAP DRAG 0189 word 23. . . .:LANDING GEAR-Retract(Update: any number above 0 is drag number for retracting gear, this automatically gives the aircraft retracting gear / Fixed = 0(using number 0 gives the aircraft fixed (non-retractable) landing gear)) 0190 word 0. . . . :WEAPONS BAY DRAG(Update: any number above 0 is drag number for weapons bay, this automatically gives the aircraft a weapons bay / No bay = 0(using number 0 gives the aircraft no landing bay)) 0191 word 51. . . .:FLAP LIFT 0192 word 45. . . .:LOADED DRAG 0193 word 32. . . .:LOADED G-PULL DRAG 0194 word 42. . . .:LOADED ELEVATOR 0195 word 50. . . .:LOADED AILERON 0196 word 45. . . .:LOADED RUDDER 0197 word 2560. . .:STRUCTURAL SPEED WARNING LIMIT 0198 word 5120. . .:STRUCTURAL SPEED LIMIT 0199 byte 20. . . .:SYSTEM DAMAGE 0200 byte 22. . . .:SYSTEM DAMAGE 0201 byte 20. . . .:SYSTEM DAMAGE 0202 byte 148. . . :SYSTEM DAMAGE 0203 byte 22. . . .:SYSTEM DAMAGE 0204 byte 20. . . .:SYSTEM DAMAGE 0205 byte 20. . . .:SYSTEM DAMAGE 0206 byte 20. . . .:SYSTEM DAMAGE 0207 byte 20. . . .:SYSTEM DAMAGE 0208 byte 148. . . :SYSTEM DAMAGE 0209 byte 148. . . :SYSTEM DAMAGE 0210 byte 148. . . :SYSTEM DAMAGE 0211 byte 20. . . .:SYSTEM DAMAGE 0212 byte 20. . . .:SYSTEM DAMAGE 0213 byte 20. . . .:SYSTEM DAMAGE 0214 byte 148. . . :SYSTEM DAMAGE 0215 byte 20. . . .:SYSTEM DAMAGE 0216 byte 22. . . .:SYSTEM DAMAGE 0217 byte 20. . . .:SYSTEM DAMAGE 0218 byte 20. . . .:SYSTEM DAMAGE 0219 byte 20. . . .:SYSTEM DAMAGE 0220 byte 22. . . .:SYSTEM DAMAGE 0221 byte 22. . . .:SYSTEM DAMAGE 0222 byte 20. . . .:SYSTEM DAMAGE 0223 byte 20. . . .:SYSTEM DAMAGE 0224 byte 20. . . .:SYSTEM DAMAGE 0225 byte 148. . . :SYSTEM DAMAGE 0226 byte 22. . . .:SYSTEM DAMAGE 0227 byte 36. . . .:SYSTEM DAMAGE 0228 byte 148. . . :SYSTEM DAMAGE 0229 byte 36. . . .:SYSTEM DAMAGE 0230 byte 0. . . . :SYSTEM DAMAGE 0231 byte 0. . . . :SYSTEM DAMAGE 0232 byte 0. . . . :SYSTEM DAMAGE 0233 byte 22. . . .:SYSTEM DAMAGE 0234 byte 150. . . :SYSTEM DAMAGE 0235 byte 20. . . .:SYSTEM DAMAGE 0236 byte 22. . . .:SYSTEM DAMAGE 0237 byte 22. . . .:SYSTEM DAMAGE 0238 byte 22. . . .:SYSTEM DAMAGE 0239 byte 6. . . . :SYSTEM DAMAGE 0240 byte 6. . . . :SYSTEM DAMAGE 0241 byte 6. . . . :SYSTEM DAMAGE 0242 byte 6. . . . :SYSTEM DAMAGE 0243 byte 6. . . . :SYSTEM DAMAGE 0244 word 10. . . .:MISCPERFLIGHT?? 0245 word 10. . . .:REPAIRMULTIPLIER?? 0246 dword 61084. .:MAXIMUM TAKEOFF WEIGHT 0247 :hards 0248 ;-------- hardpoint 0