Raiden_Knight Posté(e) le 2 mai 2011 Signaler Partager Posté(e) le 2 mai 2011 Bonjour. Sur un mod auquel je joue ils ont fait en sorte qu'un voiture soit décapotable. J'ai récupéré le code qui se trouve dans la main qui fait l'animation.Je voudrais maintenant savoir ou ajouter ce code a mon main afin de l'avoir dans ma partie solo. Voici le code : :CONVERTIBLEANIMthread 'CONVERTIBLEANIM' Audiostream.Load($KITTCABRIOANIM, "CLEO\AUDIO\KITTCONVERTIBLE.MP3")Audiostream.Load($KITTKEYPRESS, "CLEO\AUDIO\KITTKEYPRESS.MP3") :CONVERTIBLEANIM_90wait 0 077E: get_active_interior_to $ACTIVE_INTERIOR if and $ACTIVE_INTERIOR == 0 0AB0: key_pressed 89 $KITTMODEL == 424 else_jump CONVERTIBLEANIM_90@ wait 200 wait 0 if Actor.InCar($PLAYER_ACTOR, $KITT]else_jump CONVERTIBLEANIM_203@ $ACTORINCAR = 1 if $CMODE == 1 else_jump CONVERTIBLEANIM_267@ Audiostream.PerformAction($KITTKEYPRESS, STOP)Audiostream.PerformAction($KITTKEYPRESS, PLAY)jump CONVERTIBLEANIM_2892@ :CONVERTIBLEANIM_203$ACTORINCAR = 0 if $KRRCON == 1 else_jump CONVERTIBLEANIM_90@ if $CMODE == 1 else_jump CONVERTIBLEANIM_267@ Audiostream.PerformAction($KITTKEYPRESS, STOP)Audiostream.PerformAction($KITTKEYPRESS, PLAY)jump CONVERTIBLEANIM_2892@ :CONVERTIBLEANIM_267Model.Load(#ZR350)038B: load_requested_models Audiostream.PerformAction($KITTCABRIOANIM, STOP)Audiostream.PerformAction($KITTCABRIOANIM, PLAY) :CONVERTIBLEANIM_288wait 0 if Model.Available(#ZR350)else_jump CONVERTIBLEANIM_288@ 0506: set_car_model #ZR350 next_variation -1 -1 // first param is useless $KITTANGLE = Car.Angle($KITT)02E3: $KITTSPEED = car $KITT speed if $KITTSPEED > 0 else_jump CONVERTIBLEANIM_361@ $KITTSPEED += 3.0 :CONVERTIBLEANIM_361if $ACTORINCAR == 1 else_jump CONVERTIBLEANIM_624@ $KITTCHECK = 0 wait 10 0338: set_car $KITT visibility 0 099A: set_car $KITT collision_detection 0 0407: store_coords_to $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 from_car $KITT with_offset 0.0 0.0 0.0 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 Car.Destroy($KITT)$KITT = Car.Create(#ZR350, $CABRIOCORD1, $CABRIOCORD2, $CABRIOCORD3]036A: put_actor $PLAYER_ACTOR in_car $KITT Car.Angle($KITT) = $KITTANGLECar.SetSpeedInstantly($KITT, $KITTSPEED]Car.SetImmunities($KITT, 1, 1, 1, 1, 1)053F: set_car $KITT tires_vulnerability 0 Model.Destroy(#ZR350)$KITTCHECK = 1 0681: attach_object $LEFTTTOPOBJ to_car $KITT with_offset -0.0207 -0.301 0.541 rotation 0.2 -0.8 0.0 0681: attach_object $RIGHTTTOPOBJ to_car $KITT with_offset 0.0207 -0.301 0.541 rotation 0.2 0.8 0.0 0750: set_object $LEFTTTOPOBJ visibility 0 0750: set_object $RIGHTTTOPOBJ visibility 0 jump CONVERTIBLEANIM_847@ :CONVERTIBLEANIM_624$KITTCHECK = 0 wait 10 0338: set_car $KITT visibility 0 099A: set_car $KITT collision_detection 0 0407: store_coords_to $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 from_car $KITT with_offset 0.0 0.0 0.0 Car.Destroy($KITT)$KITT = Car.Create(#ZR350, $CABRIOCORD1, $CABRIOCORD2, $CABRIOCORD3]Car.Angle($KITT) = $KITTANGLECar.SetSpeedInstantly($KITT, $KITTSPEED]Car.SetImmunities($KITT, 1, 1, 1, 1, 1)053F: set_car $KITT tires_vulnerability 0 Model.Destroy(#ZR350)$KITTCHECK = 1 0681: attach_object $LEFTTTOPOBJ to_car $KITT with_offset -0.0207 -0.301 0.541 rotation 0.2 -0.8 0.0 0681: attach_object $RIGHTTTOPOBJ to_car $KITT with_offset 0.0207 -0.301 0.541 rotation 0.2 0.8 0.0 0750: set_object $LEFTTTOPOBJ visibility 0 0750: set_object $RIGHTTTOPOBJ visibility 0 jump CONVERTIBLEANIM_847@ :CONVERTIBLEANIM_847jump CONVERTIBLEANIM_854@ :CONVERTIBLEANIM_854Model.Load(18654)Model.Load(18655)Model.Load(18656)Model.Load(18657)Model.Load(18658)038B: load_requested_models :CONVERTIBLEANIM_881wait 0 if and Model.Available(18654) Model.Available(18655) Model.Available(18656) Model.Available(18657) Model.Available(18658)else_jump CONVERTIBLEANIM_881@ 04C4: store_coords_to $CABRIOCORD16 $CABRIOCORD17 $CABRIOCORD18 from_actor $PLAYER_ACTOR with_offset 1.0 1.0 0.0 $CABRIOOBJ1 = Object.Create(18654, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]$CABRIOOBJ2 = Object.Create(18655, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]$CABRIOOBJ3 = Object.Create(18656, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]$CABRIOOBJ4 = Object.Create(18657, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]$CABRIOOBJ5 = Object.Create(18658, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]Object.CollisionDetection($CABRIOOBJ1) = FalseObject.CollisionDetection($CABRIOOBJ2) = FalseObject.CollisionDetection($CABRIOOBJ3) = FalseObject.CollisionDetection($CABRIOOBJ4) = FalseObject.CollisionDetection($CABRIOOBJ5) = False0750: set_object $CABRIOOBJ3 visibility 0 0750: set_object $CABRIOOBJ4 visibility 0 0750: set_object $CABRIOOBJ5 visibility 0 0681: attach_object $CABRIOOBJ1 to_car $KITT with_offset 0.0 -0.258 0.456 rotation 0.0 0.0 0.0 0681: attach_object $CABRIOOBJ2 to_car $KITT with_offset 0.0 -2.168 0.008 rotation 0.0 0.0 0.0 0681: attach_object $CABRIOOBJ3 to_car $KITT with_offset 0.0 -2.194 -0.567 rotation 85.0 0.0 0.0 0681: attach_object $CABRIOOBJ4 to_car $KITT with_offset 0.0 -2.194 -0.567 rotation 85.0 0.0 0.0 0681: attach_object $CABRIOOBJ5 to_car $KITT with_offset 0.0 -2.194 -0.567 rotation 85.0 0.0 0.0 $CABRIOCORD15 = 0.0 $CABRIOCORD16 = 0.0 jump CONVERTIBLEANIM_1308@ :CONVERTIBLEANIM_1308wait 50 if 10.0 >= $CABRIOCORD16 else_jump CONVERTIBLEANIM_1396@ 0681: attach_object $CABRIOOBJ1 to_car $KITT with_offset 0.0 -0.258 0.456 rotation $CABRIOCORD15 0.0 0.0 $CABRIOCORD15 += 1.5 $CABRIOCORD16 += 1.0 jump CONVERTIBLEANIM_1308@ :CONVERTIBLEANIM_1396$CABRIOCORD15 = -0.258 $CABRIOCORD16 = 0.456 $CABRIOCORD17 = 0.0 :CONVERTIBLEANIM_1426wait 50 if 10.0 >= $CABRIOCORD17 else_jump CONVERTIBLEANIM_1522@ 0681: attach_object $CABRIOOBJ1 to_car $KITT with_offset 0.0 $CABRIOCORD15 $CABRIOCORD16 rotation 15.0 0.0 0.0 $CABRIOCORD15 -= 0.1146 $CABRIOCORD16 -= 0.0223 $CABRIOCORD17 += 1.0 jump CONVERTIBLEANIM_1426@ :CONVERTIBLEANIM_1522$CABRIOCORD15 = 0.233 $CABRIOCORD16 = 15.0 $CABRIOCORD17 = 0.0 $CABRIOCORD18 = 0.0 :CONVERTIBLEANIM_1562wait 50 if 10.0 >= $CABRIOCORD18 else_jump CONVERTIBLEANIM_1704@ 0681: attach_object $CABRIOOBJ1 to_car $KITT with_offset 0.0 -1.404 $CABRIOCORD15 rotation $CABRIOCORD16 0.0 0.0 0681: attach_object $CABRIOOBJ2 to_car $KITT with_offset 0.0 -2.168 0.008 rotation $CABRIOCORD17 0.0 0.0 $CABRIOCORD15 -= 0.0301 $CABRIOCORD16 -= 1.37 $CABRIOCORD17 -= 1.8 $CABRIOCORD18 += 1.0 jump CONVERTIBLEANIM_1562@ :CONVERTIBLEANIM_1704$CABRIOCORD15 = -0.567 $CABRIOCORD16 = 0.0 0750: set_object $CABRIOOBJ3 visibility 1 0750: set_object $CABRIOOBJ4 visibility 1 0750: set_object $CABRIOOBJ5 visibility 1 :CONVERTIBLEANIM_1745wait 50 if 10.0 >= $CABRIOCORD16 else_jump CONVERTIBLEANIM_1905@ 0681: attach_object $CABRIOOBJ3 to_car $KITT with_offset 0.0 -2.194 $CABRIOCORD15 rotation 85.0 0.0 0.0 0681: attach_object $CABRIOOBJ4 to_car $KITT with_offset 0.0 -2.194 $CABRIOCORD15 rotation 85.0 0.0 0.0 0681: attach_object $CABRIOOBJ5 to_car $KITT with_offset 0.0 -2.194 $CABRIOCORD15 rotation 85.0 0.0 0.0 $CABRIOCORD15 += 0.054 $CABRIOCORD16 += 1.0 jump CONVERTIBLEANIM_1745@ :CONVERTIBLEANIM_1905$CABRIOCORD15 = 85.0 $CABRIOCORD16 = 0.0 :CONVERTIBLEANIM_1925wait 50 if 10.0 >= $CABRIOCORD16 else_jump CONVERTIBLEANIM_2085@ 0681: attach_object $CABRIOOBJ3 to_car $KITT with_offset 0.0 -2.194 -0.027 rotation $CABRIOCORD15 0.0 0.0 0681: attach_object $CABRIOOBJ4 to_car $KITT with_offset 0.0 -2.194 -0.027 rotation $CABRIOCORD15 0.0 0.0 0681: attach_object $CABRIOOBJ5 to_car $KITT with_offset 0.0 -2.194 -0.027 rotation $CABRIOCORD15 0.0 0.0 $CABRIOCORD15 -= 8.5 $CABRIOCORD16 += 1.0 jump CONVERTIBLEANIM_1925@ :CONVERTIBLEANIM_2085$CABRIOCORD15 = -2.194 $CABRIOCORD16 = -2.194 $CABRIOCORD17 = 0.0 :CONVERTIBLEANIM_2115wait 50 if 10.0 >= $CABRIOCORD17 else_jump CONVERTIBLEANIM_2249@ 0681: attach_object $CABRIOOBJ4 to_car $KITT with_offset 0.0 $CABRIOCORD15 -0.027 rotation 0.0 0.0 0.0 0681: attach_object $CABRIOOBJ5 to_car $KITT with_offset 0.0 $CABRIOCORD16 -0.027 rotation 0.0 0.0 0.0 $CABRIOCORD15 += 0.087 $CABRIOCORD16 += 0.0393 $CABRIOCORD17 += 1.0 jump CONVERTIBLEANIM_2115@ :CONVERTIBLEANIM_2249Model.Load(#ZR350)038B: load_requested_models :CONVERTIBLEANIM_2256wait 0 if Model.Available(#ZR350)else_jump CONVERTIBLEANIM_2256@ Object.Destroy($CABRIOOBJ1)Object.Destroy($CABRIOOBJ2)Object.Destroy($CABRIOOBJ3)Object.Destroy($CABRIOOBJ4)Object.Destroy($CABRIOOBJ5)0506: set_car_model #ZR350 next_variation -1 3 // first param is useless $KITTANGLE = Car.Angle($KITT)02E3: $KITTSPEED = car $KITT speed if $KITTSPEED > 0 else_jump CONVERTIBLEANIM_2354@ $KITTSPEED += 3.0 :CONVERTIBLEANIM_2354if $ACTORINCAR == 1 else_jump CONVERTIBLEANIM_2643@ $KITTCHECK = 0 wait 10 0338: set_car $KITT visibility 0 099A: set_car $KITT collision_detection 0 0407: store_coords_to $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 from_car $KITT with_offset 0.0 0.0 0.0 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 Car.Destroy($KITT)$KITT = Car.Create(#ZR350, $CABRIOCORD1, $CABRIOCORD2, $CABRIOCORD3]036A: put_actor $PLAYER_ACTOR in_car $KITT Car.Angle($KITT) = $KITTANGLECar.SetSpeedInstantly($KITT, $KITTSPEED]Car.SetImmunities($KITT, 1, 1, 1, 1, 1)053F: set_car $KITT tires_vulnerability 0 Model.Destroy(#ZR350)$KITTCHECK = 1 0681: attach_object $LEFTTTOPOBJ to_car $KITT with_offset -0.0207 -0.301 0.541 rotation 0.2 -0.8 0.0 0681: attach_object $RIGHTTTOPOBJ to_car $KITT with_offset 0.0207 -0.301 0.541 rotation 0.2 0.8 0.0 0750: set_object $LEFTTTOPOBJ visibility 0 0750: set_object $RIGHTTTOPOBJ visibility 0 $RIGHTTTOPON = 0 $LEFTTTOPON = 0 wait 500 $CMODE = 1 jump CONVERTIBLEANIM_90@ :CONVERTIBLEANIM_2643$KITTCHECK = 0 wait 10 0338: set_car $KITT visibility 0 099A: set_car $KITT collision_detection 0 0407: store_coords_to $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 from_car $KITT with_offset 0.0 0.0 0.0 Car.Destroy($KITT)$KITT = Car.Create(#ZR350, $CABRIOCORD1, $CABRIOCORD2, $CABRIOCORD3]Car.Angle($KITT) = $KITTANGLECar.SetSpeedInstantly($KITT, $KITTSPEED]Car.SetImmunities($KITT, 1, 1, 1, 1, 1)053F: set_car $KITT tires_vulnerability 0 Model.Destroy(#ZR350)$KITTCHECK = 1 0681: attach_object $LEFTTTOPOBJ to_car $KITT with_offset -0.0207 -0.301 0.541 rotation 0.2 -0.8 0.0 0681: attach_object $RIGHTTTOPOBJ to_car $KITT with_offset 0.0207 -0.301 0.541 rotation 0.2 0.8 0.0 0750: set_object $LEFTTTOPOBJ visibility 0 0750: set_object $RIGHTTTOPOBJ visibility 0 $RIGHTTTOPON = 0 $LEFTTTOPON = 0 wait 500 $CMODE = 1 jump CONVERTIBLEANIM_90@ :CONVERTIBLEANIM_2892Model.Load(#ZR350)038B: load_requested_models Audiostream.PerformAction($KITTCABRIOANIM, STOP)Audiostream.PerformAction($KITTCABRIOANIM, PLAY) :CONVERTIBLEANIM_2913wait 0 if Model.Available(#ZR350)else_jump CONVERTIBLEANIM_2913@ 0506: set_car_model #ZR350 next_variation -1 -1 // first param is useless $KITTANGLE = Car.Angle($KITT)02E3: $KITTSPEED = car $KITT speed if $KITTSPEED > 0 else_jump CONVERTIBLEANIM_2986@ $KITTSPEED += 3.0 :CONVERTIBLEANIM_2986if $ACTORINCAR == 1 else_jump CONVERTIBLEANIM_3249@ $KITTCHECK = 0 wait 10 0338: set_car $KITT visibility 0 099A: set_car $KITT collision_detection 0 0407: store_coords_to $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 from_car $KITT with_offset 0.0 0.0 0.0 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 Car.Destroy($KITT)$KITT = Car.Create(#ZR350, $CABRIOCORD1, $CABRIOCORD2, $CABRIOCORD3]036A: put_actor $PLAYER_ACTOR in_car $KITT Car.Angle($KITT) = $KITTANGLECar.SetSpeedInstantly($KITT, $KITTSPEED]Car.SetImmunities($KITT, 1, 1, 1, 1, 1)053F: set_car $KITT tires_vulnerability 0 Model.Destroy(#ZR350)$KITTCHECK = 1 0681: attach_object $LEFTTTOPOBJ to_car $KITT with_offset -0.0207 -0.301 0.541 rotation 0.2 -0.8 0.0 0681: attach_object $RIGHTTTOPOBJ to_car $KITT with_offset 0.0207 -0.301 0.541 rotation 0.2 0.8 0.0 0750: set_object $LEFTTTOPOBJ visibility 0 0750: set_object $RIGHTTTOPOBJ visibility 0 jump CONVERTIBLEANIM_3472@ :CONVERTIBLEANIM_3249$KITTCHECK = 0 wait 10 0338: set_car $KITT visibility 0 099A: set_car $KITT collision_detection 0 0407: store_coords_to $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 from_car $KITT with_offset 0.0 0.0 0.0 Car.Destroy($KITT)$KITT = Car.Create(#ZR350, $CABRIOCORD1, $CABRIOCORD2, $CABRIOCORD3]Car.Angle($KITT) = $KITTANGLECar.SetSpeedInstantly($KITT, $KITTSPEED]Car.SetImmunities($KITT, 1, 1, 1, 1, 1)053F: set_car $KITT tires_vulnerability 0 Model.Destroy(#ZR350)$KITTCHECK = 1 0681: attach_object $LEFTTTOPOBJ to_car $KITT with_offset -0.0207 -0.301 0.541 rotation 0.2 -0.8 0.0 0681: attach_object $RIGHTTTOPOBJ to_car $KITT with_offset 0.0207 -0.301 0.541 rotation 0.2 0.8 0.0 0750: set_object $LEFTTTOPOBJ visibility 0 0750: set_object $RIGHTTTOPOBJ visibility 0 jump CONVERTIBLEANIM_3472@ :CONVERTIBLEANIM_3472jump CONVERTIBLEANIM_3479@ :CONVERTIBLEANIM_3479Model.Load(18654)Model.Load(18655)Model.Load(18656)Model.Load(18657)Model.Load(18658)038B: load_requested_models :CONVERTIBLEANIM_3506wait 0 if and Model.Available(18654) Model.Available(18655) Model.Available(18656) Model.Available(18657) Model.Available(18658)else_jump CONVERTIBLEANIM_3506@ 04C4: store_coords_to 16@ 17@ 18@ from_actor $PLAYER_ACTOR with_offset 1.0 1.0 0.0 $CABRIOOBJ1 = Object.Create(18654, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]$CABRIOOBJ2 = Object.Create(18655, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]$CABRIOOBJ3 = Object.Create(18656, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]$CABRIOOBJ4 = Object.Create(18657, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]$CABRIOOBJ5 = Object.Create(18658, $CABRIOCORD16, $CABRIOCORD17, $CABRIOCORD18]Object.CollisionDetection($CABRIOOBJ1) = FalseObject.CollisionDetection($CABRIOOBJ2) = FalseObject.CollisionDetection($CABRIOOBJ3) = FalseObject.CollisionDetection($CABRIOOBJ4) = FalseObject.CollisionDetection($CABRIOOBJ5) = False0681: attach_object $CABRIOOBJ1 to_car $KITT with_offset 0.0 -1.404 -0.068 rotation 1.3 0.0 0.0 0681: attach_object $CABRIOOBJ2 to_car $KITT with_offset 0.0 -2.168 0.008 rotation -18.0 0.0 0.0 0681: attach_object $CABRIOOBJ3 to_car $KITT with_offset 0.0 -2.194 -0.027 rotation 0.0 0.0 0.0 0681: attach_object $CABRIOOBJ4 to_car $KITT with_offset 0.0 -1.324 -0.027 rotation 0.0 0.0 0.0 0681: attach_object $CABRIOOBJ5 to_car $KITT with_offset 0.0 -1.801 -0.027 rotation 0.0 0.0 0.0 $CABRIOCORD15 = -1.324 $CABRIOCORD16 = -1.801 $CABRIOCORD17 = 0.0 jump CONVERTIBLEANIM_3922@ :CONVERTIBLEANIM_3922wait 50 if 10.0 >= $CABRIOCORD17 else_jump CONVERTIBLEANIM_4056@ 0681: attach_object $CABRIOOBJ4 to_car $KITT with_offset 0.0 $CABRIOCORD15 -0.027 rotation 0.0 0.0 0.0 0681: attach_object $CABRIOOBJ5 to_car $KITT with_offset 0.0 $CABRIOCORD16 -0.027 rotation 0.0 0.0 0.0 $CABRIOCORD15 -= 0.087 $CABRIOCORD16 -= 0.0393 $CABRIOCORD17 += 1.0 jump CONVERTIBLEANIM_3922@ :CONVERTIBLEANIM_4056$CABRIOCORD15 = 0.0 $CABRIOCORD16 = 0.0 :CONVERTIBLEANIM_4076wait 50 if 10.0 >= $CABRIOCORD16 else_jump CONVERTIBLEANIM_4236@ 0681: attach_object $CABRIOOBJ3 to_car $KITT with_offset 0.0 -2.194 -0.027 rotation $CABRIOCORD15 0.0 0.0 0681: attach_object $CABRIOOBJ4 to_car $KITT with_offset 0.0 -2.194 -0.027 rotation $CABRIOCORD15 0.0 0.0 0681: attach_object $CABRIOOBJ5 to_car $KITT with_offset 0.0 -2.194 -0.027 rotation $CABRIOCORD15 0.0 0.0 $CABRIOCORD15 += 8.5 $CABRIOCORD16 += 1.0 jump CONVERTIBLEANIM_4076@ :CONVERTIBLEANIM_4236$CABRIOCORD15 = -0.027 $CABRIOCORD16 = 0.0 :CONVERTIBLEANIM_4256wait 50 if 10.0 >= $CABRIOCORD16 else_jump CONVERTIBLEANIM_4416@ 0681: attach_object $CABRIOOBJ3 to_car $KITT with_offset 0.0 -2.194 $CABRIOCORD15 rotation 85.0 0.0 0.0 0681: attach_object $CABRIOOBJ4 to_car $KITT with_offset 0.0 -2.194 $CABRIOCORD15 rotation 85.0 0.0 0.0 0681: attach_object $CABRIOOBJ5 to_car $KITT with_offset 0.0 -2.194 $CABRIOCORD15 rotation 85.0 0.0 0.0 $CABRIOCORD15 -= 0.054 $CABRIOCORD16 += 1.0 jump CONVERTIBLEANIM_4256@ :CONVERTIBLEANIM_4416Object.Destroy($CABRIOOBJ3)Object.Destroy($CABRIOOBJ4)Object.Destroy($CABRIOOBJ5)$CABRIOCORD15 = -0.068 $CABRIOCORD16 = 1.3 $CABRIOCORD17 = -18.0 $CABRIOCORD18 = 0.0 :CONVERTIBLEANIM_4471wait 50 if 10.0 >= $CABRIOCORD18 else_jump CONVERTIBLEANIM_4613@ 0681: attach_object $CABRIOOBJ1 to_car $KITT with_offset 0.0 -1.404 $CABRIOCORD15 rotation $CABRIOCORD16 0.0 0.0 0681: attach_object $CABRIOOBJ2 to_car $KITT with_offset 0.0 -2.168 0.008 rotation $CABRIOCORD17 0.0 0.0 $CABRIOCORD15 += 0.0301 $CABRIOCORD16 += 1.37 $CABRIOCORD17 += 1.8 $CABRIOCORD18 += 1.0 jump CONVERTIBLEANIM_4471@ :CONVERTIBLEANIM_4613$CABRIOCORD15 = -1.404 $CABRIOCORD16 = 0.233 $CABRIOCORD17 = 0.0 :CONVERTIBLEANIM_4643wait 50 if 10.0 >= $CABRIOCORD17 else_jump CONVERTIBLEANIM_4739@ 0681: attach_object $CABRIOOBJ1 to_car $KITT with_offset 0.0 $CABRIOCORD15 $CABRIOCORD16 rotation 15.0 0.0 0.0 $CABRIOCORD15 += 0.1146 $CABRIOCORD16 += 0.0223 $CABRIOCORD17 += 1.0 jump CONVERTIBLEANIM_4643@ :CONVERTIBLEANIM_4739$CABRIOCORD15 = 15.0 $CABRIOCORD16 = 0.0 :CONVERTIBLEANIM_4759wait 50 if 10.0 >= $CABRIOCORD16 else_jump CONVERTIBLEANIM_4847@ 0681: attach_object $CABRIOOBJ1 to_car $KITT with_offset 0.0 -0.258 0.456 rotation $CABRIOCORD15 0.0 0.0 $CABRIOCORD15 -= 1.5 $CABRIOCORD16 += 1.0 jump CONVERTIBLEANIM_4759@ :CONVERTIBLEANIM_4847Model.Load(#ZR350)038B: load_requested_models :CONVERTIBLEANIM_4854wait 0 if Model.Available(#ZR350)else_jump CONVERTIBLEANIM_4854@ Object.Destroy($CABRIOOBJ1)Object.Destroy($CABRIOOBJ2)0506: set_car_model #ZR350 next_variation -1 0 // first param is useless $KITTANGLE = Car.Angle($KITT)02E3: $KITTSPEED = car $KITT speed if $KITTSPEED > 0 else_jump CONVERTIBLEANIM_4937@ $KITTSPEED += 3.0 :CONVERTIBLEANIM_4937if $ACTORINCAR == 1 else_jump CONVERTIBLEANIM_5226@ $KITTCHECK = 0 wait 10 0338: set_car $KITT visibility 0 099A: set_car $KITT collision_detection 0 0407: store_coords_to $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 from_car $KITT with_offset 0.0 0.0 0.0 0362: remove_actor $PLAYER_ACTOR from_car_and_place_at $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 Car.Destroy($KITT)$KITT = Car.Create(#ZR350, $CABRIOCORD1, $CABRIOCORD2, $CABRIOCORD3]036A: put_actor $PLAYER_ACTOR in_car $KITT Car.Angle($KITT) = $KITTANGLECar.SetSpeedInstantly($KITT, $KITTSPEED]Car.SetImmunities($KITT, 1, 1, 1, 1, 1)053F: set_car $KITT tires_vulnerability 0 Model.Destroy(#ZR350)$KITTCHECK = 1 $CMODE = 0 0750: set_object $RIGHTTTOPOBJ visibility 1 0750: set_object $LEFTTTOPOBJ visibility 1 0681: attach_object $LEFTTTOPOBJ to_car $KITT with_offset -0.0207 -0.301 0.541 rotation 0.2 -0.8 0.0 0681: attach_object $RIGHTTTOPOBJ to_car $KITT with_offset 0.0207 -0.301 0.541 rotation 0.2 0.8 0.0 $RIGHTTOPON = 1 $LEFTTOPON = 1 wait 500 jump CONVERTIBLEANIM_90@ :CONVERTIBLEANIM_5226$KITTCHECK = 0 wait 10 0338: set_car $KITT visibility 0 099A: set_car $KITT collision_detection 0 0407: store_coords_to $CABRIOCORD1 $CABRIOCORD2 $CABRIOCORD3 from_car $KITT with_offset 0.0 0.0 0.0 Car.Destroy($KITT)$KITT = Car.Create(#ZR350, $CABRIOCORD1, $CABRIOCORD2, $CABRIOCORD3]Car.Angle($KITT) = $KITTANGLECar.SetSpeedInstantly($KITT, $KITTSPEED]Car.SetImmunities($KITT, 1, 1, 1, 1, 1)053F: set_car $KITT tires_vulnerability 0 Model.Destroy(#ZR350)$KITTCHECK = 1 $CMODE = 0 0750: set_object $RIGHTTTOPOBJ visibility 1 0750: set_object $LEFTTTOPOBJ visibility 1 0681: attach_object $LEFTTTOPOBJ to_car $KITT with_offset -0.0207 -0.301 0.541 rotation 0.2 -0.8 0.0 0681: attach_object $RIGHTTTOPOBJ to_car $KITT with_offset 0.0207 -0.301 0.541 rotation 0.2 0.8 0.0 $RIGHTTOPON = 1 $LEFTTOPON = 1 wait 500 jump CONVERTIBLEANIM_90@end_thread Citer Lien vers le commentaire Partager sur d’autres sites More sharing options...
Vicolaships Posté(e) le 19 mai 2011 Signaler Partager Posté(e) le 19 mai 2011 Salut, Il faut que tu utilises la librairie CLEO, renseignes toi sur le net je ne sais pas t'en dire plus. Bon courage ! Citer Lien vers le commentaire Partager sur d’autres sites More sharing options...
Messages recommandés
Rejoindre la conversation
Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.