Jump to content
Sign in to follow this  
undercoverbrother

I can't get addCamShake command to work

Recommended Posts

g'day everyone,

First up, there isn't anything on other threads that answer this problem. I have a few example pics here using camera.sqs, to illustrate my problem:

showCinemaBorder false

;=== AWESOME PIC1
;=== 20:19:33
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"]
_camera camPrepareTarget [60320.04,86086.62,-98.88]
_camera camPreparePos [3420.99,3854.94,10.56]
_camera camPrepareFOV 0.700
_camera camCommitPrepared 5
@camCommitted _camera

addCamShake [20,20,20]

;=== AWESOME PIC2
;=== 23:16:08
_camera camPrepareTarget [-55209.34,-73764.37,2898.08]
_camera camPreparePos [5614.11,5640.71,3006.83]
_camera camPrepareFOV 0.774
_camera camCommitPrepared 10
@camCommitted _camera

I have tried putting the addCamShake command in every different line I could think of and I still dont get any camera shaking. Any help is both welcome and much appreciated.

Cheers,

Share this post


Link to post
Share on other sites

Not sure but I believe that command doesn't work with created cameras, just units.

_neo_

Share this post


Link to post
Share on other sites

Hey neokika,

sorry about the late reply. Could you please explain what you mean by it only works for units. Do you mean that this command only works say, if I were to put a soldier on a map and have this

this addCamShake [10,10,10]

in his init line. Just to clarify I saw this command on the BIS wiki thing; http://community.bistudio.com/wiki/addCamShake

Edited by undercoverbrother

Share this post


Link to post
Share on other sites
Hey neokika,

sorry about the late reply. Could you please explain what you mean by it only works for units. Do you mean that this command only works say, if I were to put a soldier on a map and have this

this addCamShake [10,10,10]

Just to clarify I saw this command on the BIS wiki thing; http://community.bistudio.com/wiki/addCamShake

Yes, with players camera the command works, just seems not to with created cameras using camCreate command.

_neo_

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×