Re: [Flightgear-devel] Patch for absolute property path in bf109

2007-12-04 Thread Detlef Faber
Am Dienstag, den 04.12.2007, 15:22 +0100 schrieb AnMaster:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> Attached is a patch that fixes some absolute property paths in bf109, as
> mentioned before on the mailing list this breaks over mp.
> 
Did you get display errors in MP? The bf19 display should be handled by
the AI model in AI/Aircraft/bf109/Models/ 
You can notice the difference by the Fuselage nunber. The AI Model has
none, the regular model is white 13. 
If you get the regular model (this should not happen), I would like to
find out what went wrong.

Greetings

Detlef

> Regards,
> 
> Arvid Norlander
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.7 (GNU/Linux)
> 
> iD8DBQFHVWKYWmK6ng/aMNkRCvsOAKCj1FQp7XH8db2a0Jsql3AoQy3MGwCePFsX
> 56CDUF9jSVswIxD6w4NWHA4=
> =cvHd
> -END PGP SIGNATURE-
> einfaches Textdokument-Anlage (bf109-property-path.patch)
> ? bf109-property-path.patch
> Index: Models/Bf-109g.xml
> ===
[...]


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Patch for absolute property path in bf109

2007-12-04 Thread AnMaster
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Attached is a patch that fixes some absolute property paths in bf109, as
mentioned before on the mailing list this breaks over mp.

Regards,

Arvid Norlander
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHVWKYWmK6ng/aMNkRCvsOAKCj1FQp7XH8db2a0Jsql3AoQy3MGwCePFsX
56CDUF9jSVswIxD6w4NWHA4=
=cvHd
-END PGP SIGNATURE-
? bf109-property-path.patch
Index: Models/Bf-109g.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/bf109/Models/Bf-109g.xml,v
retrieving revision 1.2
diff -u -p -r1.2 Bf-109g.xml
--- Models/Bf-109g.xml  28 Nov 2007 08:35:01 -  1.2
+++ Models/Bf-109g.xml  4 Dec 2007 14:20:37 -
@@ -408,7 +408,7 @@
  
   rotate
   Stick
-  /controls/flight/elevator
+  controls/flight/elevator
   -10
   
3.14
@@ -425,7 +425,7 @@
  
   rotate
   Stick
-  /controls/flight/aileron
+  controls/flight/aileron
   -10
   
3.14
@@ -445,7 +445,7 @@
   Propeller1
   

-/engines/engine[0]/rpm
+engines/engine[0]/rpm
 1000

   
@@ -456,7 +456,7 @@
   Propturn
   

-/engines/engine[0]/rpm
+engines/engine[0]/rpm
 1000

   
@@ -465,7 +465,7 @@
 
   spin
   Propturn
-/engines/engine[0]/rpm
+engines/engine[0]/rpm
 -0.01
   
3.40
@@ -483,7 +483,7 @@
   spin
   Propeller1
   Prop
-  /engines/engine[0]/rpm
+  engines/engine[0]/rpm
   -0.479
   
3.40
@@ -500,7 +500,7 @@
  
   rotate
   leftgear
-  /gear/gear[0]/position-norm
+  gear/gear[0]/position-norm
   

 0.0
@@ -526,7 +526,7 @@
  
   rotate
   leftwheelstop
-  /gear/gear[0]/position-norm
+  gear/gear[0]/position-norm
   

 0.0
@@ -552,7 +552,7 @@
  
   rotate
   rightgear
-  /gear/gear[1]/position-norm
+  gear/gear[1]/position-norm
   

 0.0
@@ -582,7 +582,7 @@
  
   rotate
   rightwheelstop
-  /gear/gear[1]/position-norm
+  gear/gear[1]/position-norm
   

 0.0
@@ -642,7 +642,7 @@
   rightwheel
   

-/gear/gear[1]/compression-norm
+gear/gear[1]/compression-norm
 0.0

   
@@ -653,7 +653,7 @@
   leftwheel
   

-/gear/gear[0]/compression-norm
+gear/gear[0]/compression-norm
 0.0

   
@@ -666,7 +666,7 @@
 
   rotate
   rightcoolflap
-  /surface-positions/flap-pos-norm
+  surface-positions/flap-pos-norm
   57.0
 

@@ -685,7 +685,7 @@
 
   rotate
   leftcoolflap
-  /surface-positions/flap-pos-norm
+  surface-positions/flap-pos-norm
   57.0
 
   
@@ -704,7 +704,7 @@
 
   rotate
   leftflap
-  /controls/engines/engine[0]/cowl-flaps-norm
+  controls/engines/engine[0]/cowl-flaps-norm
   -20.0
 

@@ -725,7 +725,7 @@
 
   rotate
   rightflap
-  /controls/engines/engine[0]/cowl-flaps-norm
+  controls/engines/engine[0]/cowl-flaps-norm
   20.0
 

@@ -766,7 +766,7 @@
  
   rotate
   leftoutflap
-  /surface-positions/flap-pos-norm
+  surface-positions/flap-pos-norm
   47.0
 
   
@@ -785,7 +785,7 @@
  
   rotate
   rightaileron
-  /controls/flight/aileron
+  controls/flight/aileron
   -15.0
 
   
@@ -806,7 +806,7 @@
  
   rotate
   LeftAileron
-   /controls/flight/aileron
+   controls/flight/aileron
   15.0
 
   
@@ -826,7 +826,7 @@
  
   rotate
   Rudder
-  /surface-positions/rudder-pos-norm
+  surface-positions/rudder-pos-norm
   30.0
 
   
@@ -845,7 +845,7 @@
  
   rotate
   LeftElevator
-  /surface-positions/elevator-pos-norm
+  surface-positions/elevator-pos-norm
   

 -1.0
@@ -892,7 +892,7 @@
  
   translate
   leftwheel
-  /gear/gear[0]/compression-norm
+  gear/gear[0]/compression-norm
   

 0.0
@@ -917,7 +917,7 @@
  
   translate
   rightwheel
-  /gear/gear[1]/compression-norm
+  gear/gear[1]/compression-norm
   

 0.0
@@ -942,7 +942,7 @@
  
   spin
   leftwheel
-  /velocities/uBody-fps
+  velocities/uBody-fps
   -1.5
   
2.0325
@@ -959,7 +959,7 @@
  
   spin
   rightwheel
-  /velocities/uBody-fps
+  velocities/uBody-fps
   -1.5
   
2.0325
@@ -978,7 +978,7 @@
   rightwheelstop
   

-/gear/gear[1]/compression-norm
+gear/gear[1]/compression-norm
 0.0

   
@@ -989,7 +989,7 @@
   leftwheelstop
   

-/gear/gear[0]/compression-norm
+gear/gear[0]/compression-norm
 0.0

   
@@ -998,7 +998,7 @@
  
   translate
   leftslat
-  /surface-positions/slat-pos-norm
+  surface-positions/slat-pos-norm
   

 0.0
@@ -1019,7 +1019,7 @@
  
   translate
   rightslat
-  /surface-positions/slat-pos-norm
+  surface-positions/slat-pos-norm
   

 0.0
Index: Models/bf109g-model.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/bf109/Models/bf109g-model.xml,v
retrieving revision 1.4
diff -u -p -r1.4 bf109g-model.xml
--- Models/bf109g-model.xml 5 Jul 2007 07:36:48 -   1.4
+++ Models/bf109g-model.xml 4 Dec 2007 14:20:37 -
@@ -409,7 +409,7 @@
   rotate
   Stick
   rhand
-  /controls/flight/elevator
+  controls/flight/elevator
   -10
   
3.