Home   Help Search Login Register  

Author Topic: Camera  (Read 835 times)

0 Members and 1 Guest are viewing this topic.

Jim666

  • Guest
Camera
« on: 25 May 2004, 15:51:21 »
Ok right i got my camera script working fine yesterday, and now its completely confuzzled, so i done it again and now its starting at the ocean,

My script

Code: [Select]
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]
_camera camSetTarget [7395.83,4756.13,-0.00]
_camera camSetPos [7412.38,4748.92,22.20]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
_camera camSetTarget [7691.35,4438.08,0.00]
_camera camSetPos [7412.38,4748.92,22.20]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
_camera camSetTarget [7786.06,4413.60,0.00]
_camera camSetPos [7672.65,4458.91,14.58]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
_camera camSetTarget [7783.77,4412.31,0.00]
_camera camSetPos [7794.08,4411.21,1.31]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
player cameraEffect ["terminate","back"]
TitleCut ["","BLACK IN",2]
camdestroy _cam
exit

I know ive missed something out but i dunno what  

Gooner861

  • Guest
Re:Camera
« Reply #1 on: 25 May 2004, 19:00:48 »
I think you may have forgotten to put your "~" symbols in at the end of each bit.

The time you want to stay at the camera position. So put like ~5 (which is 5 seconds) at the end on a new line.

 ;D

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Re:Camera
« Reply #2 on: 25 May 2004, 19:06:31 »
Ok, when you first created the camera you called your camera this:

Code: [Select]
_cam
But in your camera shot you called it this:

Code: [Select]
_camera
So what you should do is change the "_cam" to "_camera" at the start where you created the camera and it should work fine :)

Good Luck,

Hauk

Gooner861

  • Guest
Re:Camera
« Reply #3 on: 25 May 2004, 19:08:29 »
Or that cud be the problem!  ;D

Offline sim

  • Members
  • *
  • Hot! Real hot! Damn Hot!
Re:Camera
« Reply #4 on: 25 May 2004, 20:16:47 »
yeah

I believe thats the problem  ;D

sim
The Unsung Campaign Team Leader

Jim666

  • Guest
Re:Camera
« Reply #5 on: 25 May 2004, 20:35:10 »
I tried that, still doesnt work :(.. hmm any other ideas?

Offline Blanco

  • Former Staff
  • ****
Re:Camera
« Reply #6 on: 25 May 2004, 21:04:22 »
try this

Code: [Select]
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"]

_camera camSetTarget [7395.83,4756.13,-0.00]
_camera camSetPos [7412.38,4748.92,22.20]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~2
_camera camSetTarget [7691.35,4438.08,0.00]
_camera camSetPos [7412.38,4748.92,22.20]
_camera camSetFOV 0.700
_camera camCommit 5
@camCommitted _camera

_camera camSetTarget [7786.06,4413.60,0.00]
_camera camSetPos [7672.65,4458.91,14.58]
_camera camSetFOV 0.700
_camera camCommit 5
@camCommitted _camera

_camera camSetTarget [7783.77,4412.31,0.00]
_camera camSetPos [7794.08,4411.21,1.31]
_camera camSetFOV 0.700
_camera camCommit 5
@camCommitted _camera

_camera cameraEffect ["terminate","back"]
TitleCut ["","BLACK IN",2]
camdestroy _camera
exit

should work  ;)
Search or search or search before you ask.