DB/CameraShakes: Difference between revisions
Jump to navigation
Jump to search
m (→Structure) |
No edit summary |
||
Line 11: | Line 11: | ||
| 1 || ID || Integer || | | 1 || ID || Integer || | ||
|- | |- | ||
| 2 || | | 2 || shakeType || CGCameraShakeType || | ||
|- | |- | ||
| 3 || | | 3 || direction || CGCameraDir || | ||
|- | |- | ||
| 4 || | | 4 || amplitude || Float || Multiplied by 0.027777778f when passed to CGCamera::AddShake. | ||
|- | |- | ||
| 5 || | | 5 || frequency || Float | ||
|- | |- | ||
| 6 || | | 6 || duration || Float | ||
|- | |- | ||
| 7 || | | 7 || phase || Float | ||
|- | |- | ||
| 8 || | | 8 || coefficient || Float | ||
|} | |} | ||
Line 29: | Line 29: | ||
Used in client: | Used in client: | ||
CGCamera::AddShake( vector, | 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 );