|
2 | 2 |
|
3 | 3 | //-------------------------------------
|
4 | 4 | // Model: Bugatti Veyron
|
5 |
| - // Compilation: krzysk(at)wp.pl |
| 5 | + // Compilation: Krzysztof Kaniewski |
6 | 6 | // 3D model: Valery Gus'ev
|
7 |
| - // Date: Mon Mar 30 2015; 2019 |
| 7 | + // Date: Mon Mar 30 2015; Apr 01 2019 |
8 | 8 | //-------------------------------------
|
9 | 9 |
|
10 | 10 | <[modelmanager][][]
|
|
21 | 21 | <[camera][CameraFollow][]
|
22 | 22 | <[string8][Description][Behind aircraft]>
|
23 | 23 | <[string8][Body][Fuselage]>
|
24 |
| - <[tmvector3d][R0][ -15.6000 0.0 1.9000 ]> |
| 24 | + <[tmvector3d][R0][ -15.6 0.0 1.9 ]> |
25 | 25 | <[tmvector3d][Direction][1.0 0.0 0.0]>
|
26 | 26 | >
|
27 | 27 | <[camera_head][CameraPilot][]
|
|
65 | 65 | <[tmvector3d][R0][0.0 0.0 0.365241]>
|
66 | 66 | <[tmmatrix3d][B0][1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0]>
|
67 | 67 | >
|
| 68 | + <[collisionhull][CollisionFuselage][] |
| 69 | + <[string8][Body][Fuselage]> |
| 70 | + <[string8][Geometry][obj2]> |
| 71 | + <[float64][K][1624000]> |
| 72 | + <[float64][D][16240]> |
| 73 | + > |
68 | 74 | <[rigidbody][LeftFrontGear][]
|
69 | 75 | <[float64][Mass][13.5]>
|
70 | 76 | <[tmvector3d][InertiaLength][ 0.6896 0.27 0.6896 ]>
|
|
109 | 115 | <[string8][Body0][Fuselage]>
|
110 | 116 | <[string8][Body1][LeftRearGear]>
|
111 | 117 | <[tmvector3d][X0][0.0 0.0 1.0]>
|
112 |
| - <[float64][Kp][1110000.30756]> |
113 |
| - <[float64][Kd][2220.1538]> |
| 118 | + <[float64][Kp][511000.3]> |
| 119 | + <[float64][Kd][5220.1]> |
114 | 120 | <[tmvector3d][R0][ -1.3342 0.65 0.3618 ]>
|
115 | 121 | <[uint32][Type][1]>
|
116 | 122 | >
|
|
124 | 130 | <[string8][Body0][Fuselage]>
|
125 | 131 | <[string8][Body1][RightRearGear]>
|
126 | 132 | <[tmvector3d][X0][0.0 0.0 1.0]>
|
127 |
| - <[float64][Kp][1110000.30756]> |
128 |
| - <[float64][Kd][2220.1538]> |
| 133 | + <[float64][Kp][511000.3]> |
| 134 | + <[float64][Kd][5220.1]> |
129 | 135 | <[tmvector3d][R0][ -1.3342 -0.65 0.3618 ]>
|
130 | 136 | <[uint32][Type][1]>
|
131 | 137 | >
|
|
139 | 145 | <[string8][Body][LeftFrontGear]>
|
140 | 146 | <[tmvector3d][R0][1.3052 0.968 0.3448]>
|
141 | 147 | <[tmvector3d][X0][ 1.0 0.0 0.0 ]>
|
142 |
| - <[string8][InputBrake][BrakeInput.Output]> |
| 148 | + <[string8][InputBrake][Brake.Output]> |
143 | 149 | <[float64][BrakeStrength][0.8]>
|
144 | 150 | >
|
145 | 151 | <[wheel][RightFrontWheelHull][]
|
|
152 | 158 | <[string8][Body][RightFrontGear]>
|
153 | 159 | <[tmvector3d][R0][1.3052 -0.968 0.3448]>
|
154 | 160 | <[tmvector3d][X0][ 1.0 0.0 0.0 ]>
|
155 |
| - <[string8][InputBrake][BrakeInput.Output]> |
| 161 | + <[string8][InputBrake][Brake.Output]> |
156 | 162 | <[float64][BrakeStrength][0.8]>
|
157 | 163 | >
|
158 | 164 | <[wheel][LeftRearWheelHull][]
|
|
165 | 171 | <[string8][Body][LeftRearGear]>
|
166 | 172 | <[tmvector3d][R0][-1.3342 0.973 0.3618]>
|
167 | 173 | <[tmvector3d][X0][ 1.0 0.0 0.0 ]>
|
168 |
| - <[string8][InputBrake][BrakeInput.Output]> |
| 174 | + <[string8][InputBrake][Brake.Output]> |
169 | 175 | <[float64][BrakeStrength][0.8]>
|
170 | 176 | >
|
171 | 177 | <[wheel][RightRearWheelHull][]
|
|
178 | 184 | <[string8][Body][RightRearGear]>
|
179 | 185 | <[tmvector3d][R0][-1.3342 -0.973 0.3618]>
|
180 | 186 | <[tmvector3d][X0][ 1.0 0.0 0.0 ]>
|
181 |
| - <[string8][InputBrake][BrakeInput.Output]> |
| 187 | + <[string8][InputBrake][Brake.Output]> |
182 | 188 | <[float64][BrakeStrength][0.8]>
|
183 | 189 | >
|
184 | 190 | <[output][GroundRollSpeedLeft][]
|
|
255 | 261 | <[input_lever][ThrottleInput][]
|
256 | 262 | <[string8][Input][Controls.Throttle1]>
|
257 | 263 | >
|
| 264 | + <[sender][SenderThrottlePosition][] |
| 265 | + <[string8][Input][ThrottleInput.Output]> |
| 266 | + <[string8][Message][Aircraft.Throttle]> |
| 267 | + > |
258 | 268 | <[input_default][AileronInput][]
|
259 | 269 | <[string8][Input][Controls.Roll.Input]>
|
260 | 270 | <[tmvector2d][Range][-1.0 1.0]>
|
|
269 | 279 | >
|
270 | 280 | <[input_default][BrakeInput][]
|
271 | 281 | <[string8][Input][Controls.WheelBrake.Left]>
|
| 282 | + <[tmvector2d][Range][0.0 1.0]> |
272 | 283 | >
|
| 284 | + <[servoclassic][BrakePedal][] |
| 285 | + <[string8][Input][BrakeInput.Output]> |
| 286 | + <[float64][Speed][15.0]> |
| 287 | + <[float64][P1][1.0]> |
| 288 | + <[float64][Position][0.0]> |
| 289 | + > |
| 290 | + <[polynomial][Brake][] |
| 291 | + <[string8][Input][BrakePedal.Output]> |
| 292 | + <[float64array][Coefficients][ 0.5 0.5 0.0 ]> |
| 293 | + > |
273 | 294 | <[input_default][GearInput][]
|
274 | 295 | <[string8][Input][Controls.Gear]>
|
275 | 296 | >
|
276 | 297 | <[input_default][LightInput][]
|
277 |
| - <[string8][Input][Controls.HookRelease]> |
| 298 | + <[string8][Input][Controls.Flaps]> |
| 299 | + <[tmvector2d][Range][0.0 1.0]> |
278 | 300 | >
|
279 | 301 | <[servoclassic][ServoBrake][]
|
280 | 302 | <[string8][Input][BrakeInput.Output]>
|
|
323 | 345 | <[string8][Input][LightInput.Output]>
|
324 | 346 | <[float64][OutputSpeed][10.0]>
|
325 | 347 | <[float64][Position][0]>
|
326 |
| - <[float64tmarray][InputPosition][ 0.1 0.2 ]> |
| 348 | + <[float64tmarray][InputPosition][ 0.5 0.6]> |
327 | 349 | <[float64tmarray][OutputPosition][ 0 1 ]>
|
328 | 350 | >
|
329 | 351 | <[output_free][ServoLightOutput][]
|
|
452 | 474 | <[uint32][AngleID][ServoSteering.Output]>
|
453 | 475 | <[tmvector3d][Axis][0.9744 0.0 -0.2248]>
|
454 | 476 | <[tmvector3d][Pivot][0.58485 0.3636 0.7258]>
|
455 |
| - <[float64][AngleMax][3]> //0.4-> 1.0 |
| 477 | + <[float64][AngleMax][3]> |
456 | 478 | >
|
457 | 479 | <[hingedbodygraphics][RightRearWheel][]
|
458 | 480 | <[string8][GeometryList][ tire1 tire101 tire102 ]>
|
459 | 481 | <[uint32][PositionID][RightRearGear.R]>
|
460 | 482 | <[uint32][OrientationID][RightRearGear.Q]>
|
461 | 483 | <[uint32][AngleID][RightRearWheelHull.RotationAngle]>
|
462 |
| - <[tmvector3d][Axis][0.0 1.0 0.0]> |
| 484 | + <[tmvector3d][Axis][0.0 -1.0 0.0]> |
463 | 485 | <[tmvector3d][Pivot][-1.3342 -0.973 0.3618]>
|
464 | 486 | >
|
465 | 487 | <[hingedbodygraphics][LeftRearWheel][]
|
466 | 488 | <[string8][GeometryList][ tire2 tire201 tire202 ]>
|
467 | 489 | <[uint32][PositionID][LeftRearGear.R]>
|
468 | 490 | <[uint32][OrientationID][LeftRearGear.Q]>
|
469 | 491 | <[uint32][AngleID][LeftRearWheelHull.RotationAngle]>
|
470 |
| - <[tmvector3d][Axis][0.0 1.0 0.0]> |
| 492 | + <[tmvector3d][Axis][0.0 -1.0 0.0]> |
471 | 493 | <[tmvector3d][Pivot][-1.3342 -0.973 0.3618]>
|
472 | 494 | >
|
473 | 495 | <[hingedbodygraphics][RightFrontWheel][]
|
474 | 496 | <[string8][GeometryList][ tire3 tire301 tire302 ]>
|
475 | 497 | <[uint32][PositionID][RightFrontGear.R]>
|
476 | 498 | <[uint32][OrientationID][RightFrontGear.Q]>
|
477 | 499 | <[uint32][AngleID][RightFrontWheelHull.RotationAngle]>
|
478 |
| - <[tmvector3d][Axis][0.0 1.0 0.0]> |
| 500 | + <[tmvector3d][Axis][0.0 -1.0 0.0]> |
479 | 501 | <[tmvector3d][Pivot][1.3052 -0.968 0.3448]>
|
480 | 502 | >
|
481 | 503 | <[hingedbodygraphics][LeftFrontWheel][]
|
482 | 504 | <[string8][GeometryList][ tire4 tire401 tire402 ]>
|
483 | 505 | <[uint32][PositionID][LeftFrontGear.R]>
|
484 | 506 | <[uint32][OrientationID][LeftFrontGear.Q]>
|
485 | 507 | <[uint32][AngleID][LeftFrontWheelHull.RotationAngle]>
|
486 |
| - <[tmvector3d][Axis][0.0 1.0 0.0]> |
| 508 | + <[tmvector3d][Axis][0.0 -1.0 0.0]> |
487 | 509 | <[tmvector3d][Pivot][1.3052 0.968 0.3448]>
|
488 | 510 | >
|
489 | 511 | <[graphics_input][StopLightInput][]
|
|
687 | 709 | <[graphics_pointlight][FrontLightL1][]
|
688 | 710 | <[uint32][PositionID][Fuselage.R]>
|
689 | 711 | <[uint32][OrientationID][Fuselage.Q]>
|
690 |
| - <[tmvector3d][R0][1.7706 0.5314 0.5651 ]> |
| 712 | + <[tmvector3d][R0][1.79 0.5314 0.5651 ]> |
691 | 713 | <[tmvector3d][X0][ 0.9 0.0 -0.1 ]>
|
692 | 714 | <[float64][ConeCenter][0.9]>
|
693 |
| - <[float64][ConeCutoff][0.7]> |
| 715 | + <[float64][ConeCutoff][0.5]> |
694 | 716 | <[float64][Size][0.05]>
|
695 | 717 | <[tmvector3d][Color][ 1.0 0.9 0.8 1.0 ]>
|
696 |
| - <[float64][Brightness][8.0]> |
| 718 | + <[float64][Brightness][28.0]> |
697 | 719 | <[string8][InputModulation][FrontLightInput.Output]>
|
698 | 720 | >
|
699 | 721 | <[graphics_pointlight][FrontLightR1][]
|
700 | 722 | <[uint32][PositionID][Fuselage.R]>
|
701 | 723 | <[uint32][OrientationID][Fuselage.Q]>
|
702 |
| - <[tmvector3d][R0][1.7706 -0.5313 0.5651 ]> |
| 724 | + <[tmvector3d][R0][1.79 -0.5313 0.5651 ]> |
703 | 725 | <[tmvector3d][X0][ 0.9 0.0 -0.1 ]>
|
704 | 726 | <[float64][ConeCenter][0.9]>
|
705 |
| - <[float64][ConeCutoff][0.7]> |
| 727 | + <[float64][ConeCutoff][0.5]> |
706 | 728 | <[float64][Size][0.05]>
|
707 | 729 | <[tmvector3d][Color][ 1.0 0.9 0.8 1.0 ]>
|
708 |
| - <[float64][Brightness][8.0]> |
| 730 | + <[float64][Brightness][28.0]> |
709 | 731 | <[string8][InputModulation][FrontLightInput.Output]>
|
710 | 732 | >
|
711 | 733 | <[graphics_translation][RightFootTransform][]
|
|
2696 | 2718 | >
|
2697 | 2719 | >
|
2698 | 2720 | <[pointer_list_tmsound][SoundObjects][]
|
2699 |
| - <[soundinput][EnginePercentage][] |
2700 |
| - <[uint32][InputID][EngineRotation.Output]> |
2701 |
| - > |
2702 |
| - <[soundmapping][EngineVolume0][] |
2703 |
| - <[string8][Input][EnginePercentage.Output]> |
2704 |
| - <[tmvector2d][Map][ (0.0 1.0) (0.5 0.6 ) (0.8 0.0 ) ]> |
2705 |
| - > |
2706 |
| - <[soundmapping][EnginePitch0][] |
2707 |
| - <[string8][Input][EnginePercentage.Output]> |
2708 |
| - <[tmvector2d][Map][ (0.0 0.7) (1.0 1.0 ) ]> |
2709 |
| - > |
2710 |
| - <[soundmapping][EngineVolume1][] |
2711 |
| - <[string8][Input][EnginePercentage.Output]> |
2712 |
| - <[tmvector2d][Map][ (0.0 0.0) (0.4 0.0) (0.7 0.4) (1.0 1.0 ) ]> |
2713 |
| - > |
2714 |
| - <[soundmapping][EnginePitch1][] |
2715 |
| - <[string8][Input][EnginePercentage.Output]> |
2716 |
| - <[tmvector2d][Map][ (0.0 0.0) (1.0 1.0 ) ]> |
2717 |
| - > |
| 2721 | + <[soundinput][Airspeed][] |
| 2722 | + <[uint32][InputID][AirspeedIndicatorNeedle.Output]> |
| 2723 | + > |
| 2724 | + <[soundmapping][EngineVolume][] |
| 2725 | + <[string8][Input][Airspeed.Output]> |
| 2726 | + <[tmvector2d][Map][ (0.0 0.4) (75.0 1.0) (200.0 2.0) ]> |
| 2727 | + > |
| 2728 | + <[soundmapping][EnginePitch][] |
| 2729 | + <[string8][Input][Airspeed.Output]> |
| 2730 | + <[tmvector2d][Map][ (0.0 0.60) ( 75.0 1.0 ) (200.0 5.2) ]> |
| 2731 | + > |
2718 | 2732 | <[soundloop][EngineLoopExtern0][]
|
2719 |
| - <[string8][InputVolume][EngineVolume0.Output]> |
2720 |
| - <[string8][InputPitch][EnginePitch0.Output]> |
| 2733 | + <[string8][InputVolume][EngineVolume.Output]> |
| 2734 | + <[string8][InputPitch][EnginePitch.Output]> |
2721 | 2735 | <[uint32][PositionID][Fuselage.R]>
|
2722 | 2736 | <[uint32][VelocityID][Fuselage.V]>
|
2723 |
| - <[string8][SoundFile][mb339_00.wav]> |
| 2737 | + <[string8][SoundFile][engine_out.wav]> |
2724 | 2738 | <[bool][Internal][false]>
|
2725 | 2739 | >
|
2726 | 2740 | <[soundloop][EngineLoopIntern0][]
|
2727 |
| - <[string8][InputVolume][EngineVolume0.Output]> |
2728 |
| - <[string8][InputPitch][EnginePitch0.Output]> |
2729 |
| - <[uint32][PositionID][Fuselage.R]> |
2730 |
| - <[uint32][VelocityID][Fuselage.V]> |
2731 |
| - <[string8][SoundFile][mb339_00_int.wav]> |
2732 |
| - <[bool][External][false]> |
2733 |
| - > |
2734 |
| - <[soundloop][EngineLoopExtern1][] |
2735 |
| - <[string8][InputVolume][EngineVolume1.Output]> |
2736 |
| - <[string8][InputPitch][EnginePitch1.Output]> |
2737 |
| - <[uint32][PositionID][Fuselage.R]> |
2738 |
| - <[uint32][VelocityID][Fuselage.V]> |
2739 |
| - <[string8][SoundFile][mb339_01.wav]> |
2740 |
| - <[bool][Internal][false]> |
2741 |
| - > |
2742 |
| - <[soundloop][EngineLoopIntern1][] |
2743 |
| - <[string8][InputVolume][EngineVolume1.Output]> |
2744 |
| - <[string8][InputPitch][EnginePitch1.Output]> |
| 2741 | + <[string8][InputVolume][EngineVolume.Output]> |
| 2742 | + <[string8][InputPitch][EnginePitch.Output]> |
2745 | 2743 | <[uint32][PositionID][Fuselage.R]>
|
2746 | 2744 | <[uint32][VelocityID][Fuselage.V]>
|
2747 |
| - <[string8][SoundFile][mb339_01_int.wav]> |
| 2745 | + <[string8][SoundFile][engine_inn.wav]> |
2748 | 2746 | <[bool][External][false]>
|
2749 | 2747 | >
|
2750 | 2748 | <[soundinput][GroundRollLoadLeft][]
|
|
2811 | 2809 | >
|
2812 | 2810 | <[soundmapping][FrontSkidMap][]
|
2813 | 2811 | <[string8][Input][FrontSkid.Output]>
|
2814 |
| - <[tmvector2d][Map][ (0.0 0.0) (10.0 0.0) (100.0 1.0) ]> |
| 2812 | + <[tmvector2d][Map][ (0.0 0.0) (10.0 0.0) (100.0 0.2) ]> |
2815 | 2813 | >
|
2816 | 2814 | <[soundmapping][FrontSkidPitch][]
|
2817 | 2815 | <[string8][Input][FrontSkid.Output]>
|
2818 |
| - <[tmvector2d][Map][ (0.0 0.7) ( 1000.0 1.0) ]> |
| 2816 | + <[tmvector2d][Map][ (0.0 0.7) ( 1000.0 5.0) ]> |
2819 | 2817 | >
|
2820 | 2818 | <[soundloop][FrontSkidSound][]
|
2821 | 2819 | <[string8][InputVolume][FrontSkidMap.Output]>
|
2822 | 2820 | <[string8][InputPitch][FrontSkidPitch.Output]>
|
2823 | 2821 | <[uint32][PositionID][Fuselage.R]>
|
2824 | 2822 | <[uint32][VelocityID][Fuselage.V]>
|
2825 |
| - <[string8][SoundFile][squeal.wav]> |
| 2823 | + <[string8][SoundFile][skid_dry.wav]> |
2826 | 2824 | >
|
2827 | 2825 | <[soundinput][LeftSkid][]
|
2828 | 2826 | <[uint32][InputID][LeftSkid.Output]>
|
2829 | 2827 | >
|
2830 | 2828 | <[soundmapping][LeftSkidMap][]
|
2831 | 2829 | <[string8][Input][LeftSkid.Output]>
|
2832 |
| - <[tmvector2d][Map][ (0.0 0.0) (10.0 0.0) (100.0 1.0) ]> |
| 2830 | + <[tmvector2d][Map][ (0.0 0.0) (10.0 0.0) (100.0 0.2) ]> |
2833 | 2831 | >
|
2834 | 2832 | <[soundmapping][LeftSkidPitch][]
|
2835 | 2833 | <[string8][Input][LeftSkid.Output]>
|
2836 |
| - <[tmvector2d][Map][ (0.0 0.7) ( 1000.0 1.0) ]> |
| 2834 | + <[tmvector2d][Map][ (0.0 0.7) ( 1000.0 5.0) ]> |
2837 | 2835 | >
|
2838 | 2836 | <[soundloop][LeftSkidSound][]
|
2839 | 2837 | <[string8][InputVolume][LeftSkidMap.Output]>
|
2840 | 2838 | <[string8][InputPitch][LeftSkidPitch.Output]>
|
2841 | 2839 | <[uint32][PositionID][Fuselage.R]>
|
2842 | 2840 | <[uint32][VelocityID][Fuselage.V]>
|
2843 |
| - <[string8][SoundFile][squeal.wav]> |
| 2841 | + <[string8][SoundFile][skid_dry.wav]> |
2844 | 2842 | >
|
2845 | 2843 | <[soundinput][RightSkid][]
|
2846 | 2844 | <[uint32][InputID][RightSkid.Output]>
|
2847 | 2845 | >
|
2848 | 2846 | <[soundmapping][RightSkidMap][]
|
2849 | 2847 | <[string8][Input][RightSkid.Output]>
|
2850 |
| - <[tmvector2d][Map][ (0.0 0.0) (10.0 0.0) (100.0 1.0) ]> |
| 2848 | + <[tmvector2d][Map][ (0.0 0.0) (10.0 0.0) (100.0 0.2) ]> |
2851 | 2849 | >
|
2852 | 2850 | <[soundmapping][RightSkidPitch][]
|
2853 | 2851 | <[string8][Input][RightSkid.Output]>
|
2854 |
| - <[tmvector2d][Map][ (0.0 0.7) ( 1000.0 1.0) ]> |
| 2852 | + <[tmvector2d][Map][ (0.0 0.7) ( 1000.0 5.0) ]> |
2855 | 2853 | >
|
2856 | 2854 | <[soundloop][RightSkidSound][]
|
2857 | 2855 | <[string8][InputVolume][RightSkidMap.Output]>
|
2858 | 2856 | <[string8][InputPitch][RightSkidPitch.Output]>
|
2859 | 2857 | <[uint32][PositionID][Fuselage.R]>
|
2860 | 2858 | <[uint32][VelocityID][Fuselage.V]>
|
2861 |
| - <[string8][SoundFile][squeal.wav]> |
| 2859 | + <[string8][SoundFile][skid_dry.wav]> |
2862 | 2860 | >
|
2863 | 2861 | >
|
2864 | 2862 | >
|
|
0 commit comments