Advertisement
J16D

compare

Jun 24th, 2014
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. /*
  2. code
  3. code
  4. code
  5. */
  6. gosub @GENKI
  7. gosub @OOZARU
  8.  
  9. :OOZARU
  10. wait 0
  11. if and
  12. 0AB0: key_pressed 50//-----------------------press 2
  13. 0AB0: key_pressed 71//-----------------------press G
  14. then
  15. /*
  16. code
  17. code
  18. code
  19. */
  20. //after you do all the effects and got the new skin, then;
  21. gosub @change_camera
  22. end
  23. return
  24.  
  25. :change_camera
  26. const
  27. dummy_OBJ = 5@
  28. dummy_CAR = 6@
  29. end
  30. Model.Load(1582)
  31. #DINGHY.Load()
  32. 038B: load_requested_models
  33. wait 500
  34. gosub @SetCamera
  35. 0249: release_model 1582
  36. 0249: release_model #DINGHY
  37.  
  38. :waiting_to_turn_off_cameara
  39. if and
  40. 0AB0: key_pressed 50//-----------------------press 2
  41. 0AB0: key_pressed 71//-----------------------press G
  42. then
  43. 02EB: restore_camera_with_jumpcut
  44. 00A6: destroy_car dummy_CAR
  45. 0108: destroy_object dummy_OBJ
  46. wait 500
  47. return
  48. end
  49. wait 0
  50. jump @waiting_to_turn_off_cameara
  51.  
  52. :SetCamera
  53. 04C4: store_coords_to 0@ 1@ 2@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -50.0
  54. 0107: dummy_OBJ = create_object 1582 at 0@ 1@ 2@
  55. 0382: set_object dummy_OBJ collision_detection 0
  56. 0750: set_object dummy_OBJ visibility 0
  57. 09CA: set_object dummy_OBJ immunities BP 1 FP 1 EP 1 CP 1 MP 1
  58. 069B: attach_object dummy_OBJ to_actor $PLAYER_ACTOR with_offset 0.0 0.4 0.8 rotation 0.0 0.0 0.0
  59. 04C4: store_coords_to 0@ 1@ 2@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -50.0
  60. 00A5: dummy_CAR = create_car #DINGHY at 0@ 1@ 2@
  61. 0939: attach_car dummy_CAR to_object dummy_OBJ with_offset 0.0 0.0 0.0 rotation 0.0 0.0 0.0
  62. 02AC: set_car dummy_CAR immunities BP 1 FP 1 EP 1 CP 1 MP 1
  63. 0338: set_car dummy_CAR visibility 0
  64. 081D: set_car dummy_CAR engine_operation 0
  65. 099A: set_car dummy_CAR collision_detection 0
  66. 0158: camera_on_car dummy_CAR mode 18 switchstyle 1
  67. 09AD: set_vehicle_camera_mode 3
  68. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement