Bonjour, comment programmer un bouton qui commande l'ouverture et la fermeture d'une porte ? Merci
Annonce
Réduire
Aucune annonce.
Ouverture de porte
Réduire
X
-
Ouverture de porte
Imac OS X version 10.11,2 processeur 2,7 GHz intel core i5 Mémoire 8 Go 1600 MHz DDR3, NVIDIA geForce GT 640M 512 Mo et 2eme écran 21pouces Philips.
Flight sim yoke de chez CH Products, Pro Pedals et switch panels de chez Saitek
X-plane 10-42 (64 bits)Tags: Aucun(e)
-
Il faut déjà que ça soit prévu dans l'avion.
Sinon il faut modifier la partie 3D, rajouter l'animation de la porte, la lier avec une dataref, éventuellement en créer une avec un plugin. Bref, il y a du boulot.
DanielIntel I5 6500 3,2 Ghz, RAM 16 Go, GeForce GTX 960 2 Go, Linux Ubuntu 18.04
Portable Asus Intel i5 2,8 Ghz, RAM 8 Go, GeForce 840M, Windows 8.1 64bits
#AMD II X2 245 2,9 Ghz, RAM 8 Go, GeForce GTX 650 1 Go, Linux Ubuntu 14.04
#AMD 64x2 5200 2,6 Ghz, RAM 4 Go, GeForce 9600 GT 512 Mo, Linux Ubuntu 10.04
#MacBook Pro 15" 2,4 Ghz, RAM 4 Go, GeForce GT 330 M 256 Mo, Mac OS 10.6
-
Oui mais quand la porte est déjà créé comme dans le 747 comment programmer un bouton ?Imac OS X version 10.11,2 processeur 2,7 GHz intel core i5 Mémoire 8 Go 1600 MHz DDR3, NVIDIA geForce GT 640M 512 Mo et 2eme écran 21pouces Philips.
Flight sim yoke de chez CH Products, Pro Pedals et switch panels de chez Saitek
X-plane 10-42 (64 bits)
Commentaire
-
1/ Rechercher dans les documents fournis avec l'avion
2/ S'il n'y a rien, ouvrir les objets avec un éditeur de texte et fouiller pour trouver la bonne animation
S'il s'agit du 747 par défaut j'ai trouvé ceci dans un des objets :
DanielCode:ATTR_manip_toggle button 1.0 0.0 sim/cockpit2/switches/custom_slider_on[5] Open_Toilet TRIS 10698 30 ANIM_end ANIM_end ANIM_end ANIM_begin ANIM_trans -2.5636 0.4402 10.7790 -2.5636 0.4402 10.7790 0.0 0.0 ANIM_rotate 0.0 1.0 0.0 0.0000 173.4758 0 5 ANIM_hide 10.0000 10000.0000 sim/flightmodel/position/y_agl ATTR_manip_toggle button 1.0 0.0 sim/cockpit2/switches/custom_slider_on[6] Open_Door TRIS 10728 30 ANIM_end ANIM_begin ANIM_trans -1.5987 2.9984 17.3509 -1.5987 2.9984 17.3509 0.0 0.0 ANIM_rotate 0.0 1.0 0.0 0.0000 173.4758 0 5 ANIM_hide 10.0000 10000.0000 sim/flightmodel/position/y_agl ATTR_manip_toggle button 1.0 0.0 sim/cockpit2/switches/custom_slider_on[7] Open_Door TRIS 10758 30 ANIM_end ATTR_manip_toggle button 1.0 0.0 sim/cockpit2/switches/custom_slider_on[8] Open_CockpitDoor TRIS 10788 24
Intel I5 6500 3,2 Ghz, RAM 16 Go, GeForce GTX 960 2 Go, Linux Ubuntu 18.04
Portable Asus Intel i5 2,8 Ghz, RAM 8 Go, GeForce 840M, Windows 8.1 64bits
#AMD II X2 245 2,9 Ghz, RAM 8 Go, GeForce GTX 650 1 Go, Linux Ubuntu 14.04
#AMD 64x2 5200 2,6 Ghz, RAM 4 Go, GeForce 9600 GT 512 Mo, Linux Ubuntu 10.04
#MacBook Pro 15" 2,4 Ghz, RAM 4 Go, GeForce GT 330 M 256 Mo, Mac OS 10.6
Commentaire
-
Et que dois-je en déduire parce que je n'y comprend rien du tout...Envoyé par Daniel_L Voir le message1/ Rechercher dans les documents fournis avec l'avion
2/ S'il n'y a rien, ouvrir les objets avec un éditeur de texte et fouiller pour trouver la bonne animation
S'il s'agit du 747 par défaut j'ai trouvé ceci dans un des objets :
DanielCode:ATTR_manip_toggle button 1.0 0.0 sim/cockpit2/switches/custom_slider_on[5] Open_Toilet TRIS 10698 30 ANIM_end ANIM_end ANIM_end ANIM_begin ANIM_trans -2.5636 0.4402 10.7790 -2.5636 0.4402 10.7790 0.0 0.0 ANIM_rotate 0.0 1.0 0.0 0.0000 173.4758 0 5 ANIM_hide 10.0000 10000.0000 sim/flightmodel/position/y_agl ATTR_manip_toggle button 1.0 0.0 sim/cockpit2/switches/custom_slider_on[6] Open_Door TRIS 10728 30 ANIM_end ANIM_begin ANIM_trans -1.5987 2.9984 17.3509 -1.5987 2.9984 17.3509 0.0 0.0 ANIM_rotate 0.0 1.0 0.0 0.0000 173.4758 0 5 ANIM_hide 10.0000 10000.0000 sim/flightmodel/position/y_agl ATTR_manip_toggle button 1.0 0.0 sim/cockpit2/switches/custom_slider_on[7] Open_Door TRIS 10758 30 ANIM_end ATTR_manip_toggle button 1.0 0.0 sim/cockpit2/switches/custom_slider_on[8] Open_CockpitDoor TRIS 10788 24
Imac OS X version 10.11,2 processeur 2,7 GHz intel core i5 Mémoire 8 Go 1600 MHz DDR3, NVIDIA geForce GT 640M 512 Mo et 2eme écran 21pouces Philips.
Flight sim yoke de chez CH Products, Pro Pedals et switch panels de chez Saitek
X-plane 10-42 (64 bits)
Commentaire
-
sim/cockpit2/switches/custom_slider_onEnvoyé par Daniel_L Voir le message1/ Rechercher dans les documents fournis avec l'avion
2/ S'il n'y a rien, ouvrir les objets avec un éditeur de texte et fouiller pour trouver la bonne animation
S'il s'agit du 747 par défaut j'ai trouvé ceci dans un des objets :
DanielCode:ATTR_manip_toggle button 1.0 0.0 [B]sim/cockpit2/switches/custom_slider_on[/B][5] Open_Toilet TRIS 10698 30 ANIM_end ANIM_end ANIM_end ANIM_begin ANIM_trans -2.5636 0.4402 10.7790 -2.5636 0.4402 10.7790 0.0 0.0 ANIM_rotate 0.0 1.0 0.0 0.0000 173.4758 0 5 ANIM_hide 10.0000 10000.0000 sim/flightmodel/position/y_agl ATTR_manip_toggle button 1.0 0.0 [B]sim/cockpit2/switches/custom_slider_on[/B][6] Open_Door TRIS 10728 30 ANIM_end ANIM_begin ANIM_trans -1.5987 2.9984 17.3509 -1.5987 2.9984 17.3509 0.0 0.0 ANIM_rotate 0.0 1.0 0.0 0.0000 173.4758 0 5 ANIM_hide 10.0000 10000.0000 sim/flightmodel/position/y_agl ATTR_manip_toggle button 1.0 0.0 [B]sim/cockpit2/switches/custom_slider_on[/B][7] Open_Door TRIS 10758 30 ANIM_end ATTR_manip_toggle button 1.0 0.0 [B]sim/cockpit2/switches/custom_slider_on[/B][8] Open_CockpitDoor TRIS 10788 24
sim/cockpit2/switches/custom_slider_on
etc ..etc
c'est les fameux dataref qui tu peut retrouver dans la config des tes boutons onglets "boutons pro"
Va falloir creuser
HervéDernière modification par djetdail, 26 décembre 2013, 20h54.La lecture des manuels, tutos, docs ... libère le pilote de la machine :-)
X -plane 12 Win 11 Pro Gigabyte Z690 I7 12700K 64DDR5 5600Mhz RTX 3090 24Go
Commentaire
Commentaire