SET CAM COMPONENT SHAKE

From GTAMods Wiki
Revision as of 12:41, 30 April 2015 by TheVideoVolcano (talk | contribs) (Shake the camera with the given parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SET_CAM_COMPONENT_SHAKE
Number of parameters: 7
Parameter #TypeDescription
1.HandleCamera Handle
2.Integer (0-9)Shake Type
3.Integer (0-8)Shake Behaviour
4.IntegerShake Duration (ms)
5.FloatShake Amplitude
6.FloatShake Frequency
7.FloatUnknown, Suggested: 0
Return value:
TypeDescription
None

SET_CAM_COMPONENT_SHAKE

Params

  • CamID
  • ShakeType
  • ShakeBehaviour
  • Duration
  • Amplitude
  • Frequency
  • Unknown_float

<


<-9)


  • ? 0 = Pitch up/down
  • ? 1 = Roll left/right
  • ? 2 = Yaw left/right
  • ? 3 = Track forward/back
  • ? 4 = Track left/right
  • ? 5 = Track up/down
  • ? 6 = Track left/right
  • ? 7 = Track forward/back
  • ? 8 = Track up/down
  • ? 9 = Pulse in/out

<-8)


  • ? 1 = Constant + fade in/out
  • ? 2 = Constant + fade in
  • ? 3 = Exponential + fade in/out
  • ? 4 = Very Slow Exponential + fade in
  • ? 5 = Fast Exponential + fade in/out
  • ? 6 = Medium Fast Exponential + fade in/out
  • ? 7 = Slow Exponential + fade in
  • ? 8 = Medium Slow Exponential + fade in

<


<


<


<


Subtle Flight Shake (example)

Native.Function.Call("SET_CAM_COMPONENT_SHAKE", Game.CurrentCamera, 1, 5, 5000, 0.0035, 6.8, 0)

ricci07, TheVideoVolcano, DiamondDownload, RGSoftware, Whatever.