Home   Help Search Login Register  

Author Topic: Cam prob  (Read 1076 times)

0 Members and 1 Guest are viewing this topic.

Captain Winters

  • Guest
Cam prob
« on: 10 Sep 2002, 03:41:25 »
_cam ="camera" camcreate[0,0,0]
_cam cameraeffect ["internal", "back"]
_cam camsettarget f1
_cam camsetrelpos [0,-1000,40]
_cam camcommit 0

titlecut [" ","BLACK IN",2]
playMusic "Mt"
O1 setbehaviour "Safe"
_cam camsetrelpos [0,-500,40]
_cam camcommit 25

~25
_cam camsettarget Logic1
_cam camsetrelpos [0,2,0.3]
_cam camcommit 0

_cam camsettarget Logic2
_cam camsetrelpos [0,2,0.3]
_cam camcommit 15
~15
O1 addweapon "Binocular"
_cam camsettarget O1
_cam camsetrelpos [0.1,2,1.5]
_cam camcommit 0

O1 playmove "StandToBinocStand"

~2.6
cutrsc ["binocular","PLAIN DOWN",0]

; set the target to object2 and zoom in
_cam camsettarget Flag1
_cam CamSetFOV 0.04
_cam camcommit 0

~1
_cam camsettarget Flag2
_cam camcommit 10

talking1=true
~10
_cam camsettarget Flag1
_cam camcommit 10

talking2=true
~10
artigo=true
cutrsc ["default","PLAIN DOWN",0]
_cam CamSetFOV 0.7
_cam camcommit 0

; put binos away
object1 SetBehaviour "Safe"
~1
_cam camsettarget Flag1
_cam camsetrelpos [0,30,2]
_cam camcommit 0
~2
_cam camsettarget camtarget1
_cam camsetrelpos [0,-3,1.7]
_cam camcommit 0
~2
SetAccTime 0.3
_cam camsettarget Logic1
_cam camsetrelpos [0,2,0.3]
_cam camcommit 0
~3
["Intro.sqs","5"] exec "shake.sqs"
_cam camsettarget BMP1
_cam camsetrelpos [0,50,2]
_cam camcommit 0
~5
_cam camsettarget BMP01
_cam camcommit 3
_cam camsetrelpos [0,-50,4]
_cam camcommit 10
~10
movein=true
Logic1 setUnitPos "UP"
Run1 setUnitPos "UP"
Run2 setUnitPos "UP"
Run3 setUnitPos "UP"
Run4 setUnitPos "UP"
Run5 setUnitPos "UP"
Run6 setUnitPos "UP"
4 fadeMusic 0.9
_cam camsettarget Logic1
_cam camsetrelpos [0.1,20,1.5]
_cam camcommit 0
~5
SetAccTime 1
_cam camsetrelpos [0,-150,20]
_cam camcommit 120
~12
_cam camsettarget Run1
_cam camsetrelpos [0.1,15,1.5]
_cam camcommit 0
Run1die=true
~2
_cam camsettarget Run3
_cam camsetrelpos [0.1,15,1.5]
_cam camcommit 0
~3
godie=true
~1
_cam camsettarget Die01
_cam camsetrelpos [-3,3,1.5]
_cam camcommit 0
~2
Die01die=true
_cam camsetrelpos [-3,10,1.5]
_cam camcommit 5
~5
_cam camsettarget Fire1
_cam camsetrelpos [3,-250,20]
_cam camcommit 0
_cam camsetrelpos [20,-50,20]
_cam camcommit 50
~2
titletext["HQ, we're having Ton's of casualties\nGet Your Asses Down Here!!!!","PLAIN DOWN",5]
~8
titletext["We're Sending Back Up!","Plain Down",5]
5 fadeMusic 0
~5
TitleCut["","PLAIN",4]
~4
TitleCut["","PLAIN",10]
~10

_cam camsettarget gl0                      \\MARKED PART
_cam camsetrelpos [10,-10,15.348]
_cam camcommit 0                                            
@camcommitted _cam

TitleCut["","PLAIN",10]
~10

_cam camsettarget o
_cam camsetrelpos [0,-1,1.7
_cam camcommit 14
@camcommitted _cam

TitleCut["","Plain",4]
~4

_cam camsettarget s1
_cam camsetrelpos [0,-1,1.7]
_cam camcommit 4
@camcommitted _cam

TitleCut["","Plain down",6]
~6

_cam camsettarget o
_cam camsetrelpos [0,-1,1.7]
_cam camcommit 4
@camcommitted _cam

TitleCut["","PLAIN DOWN",6]
~6
TitleCut["","PLAIN",6]
~6

_cam cameraeffect ["TERMINATE","BACK"]  
camdestroy _cam

exit
ForceEnd


How come the shake.sqs doesnt work and how come after the marker part it wont show any more angles, AND how come i cant call another camera script from the end of it??

Cedaie

  • Guest
Re:Cam prob
« Reply #1 on: 10 Sep 2002, 05:41:29 »
_cam camsettarget gl0                      \\MARKED PART
_cam camsetrelpos [10,-10,15.348]
_cam camcommit 0                                            
@camcommitted _cam     <-- Get rid of this, its not committing from anything ;)


Also, have a go at learning 'this exec "camera.sqs" '
http://www.ofpec.com/yabbse/index.php?board=9;action=display;threadid=419

go there, read about it, and say goodbye to camsettarget and setpos numbers ;D ;D ;D ;D

Cheers ;D
« Last Edit: 10 Sep 2002, 05:45:34 by Cedaie »

Captain Winters

  • Guest
Re:Cam prob
« Reply #2 on: 11 Sep 2002, 02:27:42 »
ok gonna try it out but what about da shake.sqs?

Cedaie

  • Guest
Re:Cam prob
« Reply #3 on: 11 Sep 2002, 05:00:26 »
from the words of Yoda: "Do or Do Not, There Is No Try"

I use my own Camerashake technique with the camera.sqs trick