Advertisement
TheVideoVolcano

GTA IV Camera Shake Native

Jun 17th, 2014
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. SET_CAM_COMPONENT_SHAKE
  2.  
  3. __Params__
  4.  
  5. CamID
  6. ShakeType
  7. ShakeBehaviour
  8. Duration
  9. Amplitude
  10. Frequency
  11. Unknown_int
  12.  
  13. -------------------------------
  14. • CamID = Handle to camera
  15. -------------------------------
  16.  
  17. -------------------------------
  18. • ShakeType (0-9)
  19. -------------------------------
  20. ► 0 = Pitch up/down
  21. ► 1 = Roll left/right
  22. ► 2 = Yaw left/right
  23. ► 3 = Track forward/back
  24. ► 4 = Track left/right
  25. ► 5 = Track up/down
  26. ► 6 = Track left/right
  27. ► 7 = Track forward/back
  28. ► 8 = Track up/down
  29. ► 9 = Pulse in/out
  30.  
  31. -------------------------------
  32. • ShakeBehaviour (0-8)
  33. -------------------------------
  34. ► 1 = Constant + fade in/out
  35. ► 2 = Constant + fade in
  36. ► 3 = Exponential + fade in/out
  37. ► 4 = Very Slow Exponential + fade in
  38. ► 5 = Fast Exponential + fade in/out
  39. ► 6 = Medium Fast Exponential + fade in/out
  40. ► 7 = Slow Exponential + fade in
  41. ► 8 = Medium Slow Exponential + fade in
  42.  
  43. -------------------------------
  44. • Duration (Of Shake) in ms
  45. -------------------------------
  46. -------------------------------
  47. • Amplitude (Of Shake)
  48. -------------------------------
  49. -------------------------------
  50. • Frequency (Of Shake)
  51. -------------------------------
  52. -------------------------------
  53. • Unknown_int (Usually 0.0, Sometimes (rarely) up to 0.9)
  54. -------------------------------
  55.  
  56. ___Subtle Flight Shake (example)___
  57.  
  58. Native.Function.Call("SET_CAM_COMPONENT_SHAKE", Game.CurrentCamera, 1, 5, 5000, 0.0035, 6.8, 0)
  59.  
  60. =================================================================
  61. ricci07, TheVideoVolcano, DiamondDownload, RGSoftware, Whatever.
  62. =================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement