Home   Help Search Login Register  

Author Topic: camera is stuck  (Read 456 times)

0 Members and 1 Guest are viewing this topic.

wacko

  • Guest
camera is stuck
« on: 31 Jul 2003, 18:23:46 »
 :'( ok what am i not doing right here everytime i start it up all i will get is a sunset and water



_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "Back"]

;=== car2
_camera camSetTarget [-68957.58,51518.96,-49871.42]
_camera camSetPos [4121.12,4961.45,24.18]
_camera camSetFOV 0.592
_camera camCommit 0
@camCommitted _camera
~5
playMusic "joc"

titlecut ["Joint Operations Command Presents..","BLACK IN",2]
~2

;=== car2
_camera camSetTarget [-68957.58,51518.96,-49871.42]
_camera camSetPos [4121.12,4961.45,24.18]
_camera camSetFOV 0.700
_camera camCommit 3
@camCommitted _camera
~5

;=== chopper1
_camera camSetTarget [4100.82,4974.82,0.00]
_camera camSetPos [4076.76,4974.89,0.74]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5
;=== chopper5
_camera camSetTarget [4100.82,4974.82,0.00]
_camera camSetPos [4076.76,4974.89,0.74]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5

any ideas as to what is worng?

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:camera is stuck
« Reply #1 on: 31 Jul 2003, 20:49:02 »
try this, you created a camera called _cam but then referred to it as _camera it should be ok now

_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "Back"]

;=== car2
_camera camSetTarget [-68957.58,51518.96,-49871.42]
_camera camSetPos [4121.12,4961.45,24.18]
_camera camSetFOV 0.592
_camera camCommit 0
@camCommitted _camera
~5
playMusic "joc"

titlecut ["Joint Operations Command Presents..","BLACK IN",2]
~2

;=== car2
_camera camSetTarget [-68957.58,51518.96,-49871.42]
_camera camSetPos [4121.12,4961.45,24.18]
_camera camSetFOV 0.700
_camera camCommit 3
@camCommitted _camera
~5

;=== chopper1
_camera camSetTarget [4100.82,4974.82,0.00]
_camera camSetPos [4076.76,4974.89,0.74]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5
;=== chopper5
_camera camSetTarget [4100.82,4974.82,0.00]
_camera camSetPos [4076.76,4974.89,0.74]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5

wacko

  • Guest
Re:camera is stuck
« Reply #2 on: 31 Jul 2003, 21:34:23 »
yep i sure did.......thanks for noticing that   ;D it works now