Page 1 of 1

Explosion camera shake and some sounds working online only?

Posted: Tue Apr 02, 2013 2:01 pm
by one
I think most of you have noticed that when you play on any BF1942 server, the camera shakes after each explosion (exppacks, grenades, vehicles) if you are close to it. But if you create a game (from game menu) there isn't any camera shake.
The same with soldier collision sounds: you can hear them while colliding with vehicles (tanks, cars. etc.) on server, but you can't if you create the game by yourself.

I tried to explore why it happens and how it works, but didn't get it.

Code: Select all

rem 
rem ** Hit, Die, Explosion etc.
rem

AnimationStateMachine.createState BigExplosion
AnimationStateMachine.setCameraShakePitch 0 2 300.0
AnimationStateMachine.setCameraShakeRoll 0 0.8 200.0
AnimationStateMachine.setCameraShakeLeftRight 0 0.7 400.0
AnimationStateMachine.setCameraShakeUpDown 0 0.8 500.0
AnimationStateMachine.setCameraShakeFadeOut 0 1.2

AnimationStateMachine.createState SmallExplosion
AnimationStateMachine.setCameraShakeUpDown 0 0 15
AnimationStateMachine.setCameraShakeLeftRight 0 0 10
AnimationStateMachine.setCameraShakePitch 0 1 100.0
AnimationStateMachine.setCameraShakeRoll 0 0.5 100.0
AnimationStateMachine.setCameraShakeLeftRight 0 0.3 100.0
AnimationStateMachine.setCameraShakeUpDown 0 0.2 300.0
AnimationStateMachine.setCameraShakeFadeOut 0 2.0
Here is a code from AnimationStatesCameraShakes.con file. When something explodes (on server), BigExplosion takes place and your camera shakes (seems like SmallExplosion isn't used). Rem'ing it removes a shake.
But there is no mention of BigExplosion in any game file except BF1942.exe. Removing it from there doesn't remove a shake ingame. So it works without any mention in game files and, moreover, online only!

Soldier collision sounds work also strange. e_Collision_Soldier is absolutely the same as any other collision effect but its sound works online only too.
Any ideas? :?

Re: Explosion camera shake and some sounds working online on

Posted: Sun Jan 25, 2015 11:30 am
by one
up