Jump to content
Sign in to follow this  
santafee

Cam Script-ADD Cam Problem

Recommended Posts

I remember having that problem one time ago, now there it is again.

Im starting with a simple loop, to attach my cam to HELI1, but the camera is flickering every 5 secounds when restarting the loop.

Im a scripting noob, help would be appreciated, thanks!

note that the intro is only the start, so the code is not completed for sure.

titleText ["","BLACK IN",20]

_camera = "camera" camcreate [0,0,0]

_camera cameraeffect ["internal", "back"]

_camera camPrepareTarget Heli1

_camera camPreparePos [15390.04,10038.40,1.40]

_camera camPrepareFOV 0.300

_camera camCommitPrepared 0

@camCommitted _camera

~10

#RETURN1

_camera camsettarget Heli1

_camera camsetrelpos [-25,12,15]

_camera camPrepareFOV 0.700

_camera camCommit 0

@camCommitted _camera

? Heli1 distance Pos1 <20 : goto "Endsequenz"

goto "RETURN1"

#Endsequenz

exit

Share this post


Link to post
Share on other sites

ya im having the same problem, with my attach cam to car as well, its all jerky, when it refreshs, only thing i found was that if i removed a bunch of other stuff like other vechiles and waypoints and stuff then it seemed to go fine, but i like to have the ambience in my intros, and cannot figure out what else to do

Share this post


Link to post
Share on other sites

are u using any addons?

i remember as i had the problem some time ago, that it worked with vanilla version and ACE 2 seems to be the reason for the problem, but im not sure.

i also created a ticket at Dev Heaven for it..:

would be nice if somebody got any ideas

http://dev-heaven.net/issues/9035

Share this post


Link to post
Share on other sites

ya the 2 addons im using are the mec units, ACE2 and the zombie, mod. when i saw the jerkness of the cam, i went onto utes island, and placed about 1/2 of the units and waypoints, running the same mod, and it wasn't jerky at all, so i think its something with too much stuff going on at once, making the script run slow for some reason, cause on the actual map i wanna use it on, i have 3 littlebirds, 2 hummers, a-10, all with multipule waypoints, 3 guys on patrol, that finish with an animation, and 4 other units that all have animations, everything is fine except when i place the cam on the car, so im assuming that is the issue, just too much stuff going on. I could be wrong and hope im wrong. hehe

Share this post


Link to post
Share on other sites

Try to use the camsetrelpos command...

_camera camsettarget Heli1;
_camera camsetrelpos [-25,12,15];
....
....

Share this post


Link to post
Share on other sites

mh how exactly did you mean that? maybe you can change my code in the first post? thanks!

Share this post


Link to post
Share on other sites

This video explains how to use that command:

Still makes me jerky sometimes though.

Share this post


Link to post
Share on other sites

yea, i allready used this command, same jerkiness:(

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  

×