Advertisement
J16D

camera far distance

Jun 17th, 2014
301
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. /*
  2. ^camera
  3. by J16D
  4. */
  5.  
  6. {$CLEO}
  7. const
  8. dummy_OBJ = 5@
  9. dummy_CAR = 6@
  10. end
  11. 0000:
  12. while true
  13. if 0ADC: test_cheat "camera"
  14. then
  15. Model.Load(1582)
  16. #DINGHY.Load()
  17. 038B: load_requested_models
  18. wait 500
  19. gosub @SetCamera
  20.  
  21. repeat
  22. wait 0
  23. until 0ADC: test_cheat "camera"
  24.  
  25. 02EB: restore_camera_with_jumpcut
  26. 00A6: destroy_car dummy_CAR
  27. 0108: destroy_object dummy_OBJ
  28. 0249: release_model 1582
  29. 0249: release_model #DINGHY
  30. wait 500
  31. end
  32. wait 0
  33. end
  34.  
  35. :SetCamera
  36. 04C4: store_coords_to 0@ 1@ 2@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -50.0
  37. 0107: dummy_OBJ = create_object 1582 at 0@ 1@ 2@
  38. 0382: set_object dummy_OBJ collision_detection 0
  39. 0750: set_object dummy_OBJ visibility 0
  40. 09CA: set_object dummy_OBJ immunities BP 1 FP 1 EP 1 CP 1 MP 1
  41. 069B: attach_object dummy_OBJ to_actor $PLAYER_ACTOR with_offset 0.0 0.4 0.0 rotation 0.0 0.0 0.0
  42. 04C4: store_coords_to 0@ 1@ 2@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -50.0
  43. 00A5: dummy_CAR = create_car #DINGHY at 0@ 1@ 2@
  44. 0939: attach_car dummy_CAR to_object dummy_OBJ with_offset 0.0 0.0 0.0 rotation 0.0 0.0 0.0
  45. 02AC: set_car dummy_CAR immunities BP 1 FP 1 EP 1 CP 1 MP 1
  46. 0338: set_car dummy_CAR visibility 0
  47. 081D: set_car dummy_CAR engine_operation 0
  48. 099A: set_car dummy_CAR collision_detection 0
  49. 0158: camera_on_car dummy_CAR mode 18 switchstyle 1
  50. 09AD: set_vehicle_camera_mode 3
  51. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement