DB/CameraShakes: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
| 1  || ID  || Integer  ||  
| 1  || ID  || Integer  ||  
|-  
|-  
| 2  || Type || CGCameraShakeType  ||  
| 2  || shakeType || CGCameraShakeType  ||  
|-  
|-  
| 3  || Direction || CGCameraDir  ||
| 3  || direction || CGCameraDir  ||
|-  
|-  
| 4  || Unknown || Float || Multiplied by 0.027777778f when passed to CGCamera::AddShake.
| 4  || amplitude || Float || Multiplied by 0.027777778f when passed to CGCamera::AddShake.
|-  
|-  
| 5  || Unknown || Float
| 5  || frequency || Float
|-  
|-  
| 6  || Unknown || Float
| 6  || duration || Float
|-  
|-  
| 7  || Unknown || Float
| 7  || phase || Float
|-  
|-  
| 8  || Unknown || Float
| 8  || coefficient || Float
|}
|}


Line 29: Line 29:


Used in client:
Used in client:
  CGCamera::AddShake( vector, Type, Direction, Col4*0.027777778, Col5, Col6, Col7, Col8 );
  CGCamera::AddShake( vector, shakeType, direction, amplitude*0.027777778, frequency, duration, phase, coefficient );
 


[[Category:DBC]][[Category:3.0.2.8905]]
[[Category:DBC]][[Category:3.0.2.8905]]

Revision as of 18:16, 16 April 2011

Actually there's no real Information. Mostly shaking cameras.

Structure

Column Field Type Notes
1 ID Integer
2 shakeType CGCameraShakeType
3 direction CGCameraDir
4 amplitude Float Multiplied by 0.027777778f when passed to CGCamera::AddShake.
5 frequency Float
6 duration Float
7 phase Float
8 coefficient Float

Retrieved from "http://www.sourcepeek.com/wiki/CameraShakes.dbc"

Used in client:

CGCamera::AddShake( vector, shakeType, direction, amplitude*0.027777778, frequency, duration, phase, coefficient );