mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Fix weapon image camera shake.
This commit is contained in:
parent
2dd23e459a
commit
9622f93d05
4 changed files with 90 additions and 54 deletions
|
|
@ -192,9 +192,9 @@ datablock ShapeBaseImageData(RyderWeaponImage)
|
|||
lightBrightness = 2;
|
||||
|
||||
// Shake camera while firing.
|
||||
shakeCamera = false;
|
||||
camShakeFreq = "0 0 0";
|
||||
camShakeAmp = "0 0 0";
|
||||
shakeCamera = "1";
|
||||
camShakeFreq = "10 10 10";
|
||||
camShakeAmp = "5 5 5";
|
||||
|
||||
// Images have a state system which controls how the animations
|
||||
// are run, which sounds are played, script callbacks, etc. This
|
||||
|
|
@ -361,4 +361,5 @@ datablock ShapeBaseImageData(RyderWeaponImage)
|
|||
stateSequenceTransitionOut[13] = true;
|
||||
stateAllowImageChange[13] = false;
|
||||
stateSequence[13] = "sprint";
|
||||
camShakeDuration = "0.2";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue