Home   Help Search Login Register  

Author Topic: Camera Special Effects  (Read 751 times)

0 Members and 1 Guest are viewing this topic.

TERA_Forrest

  • Guest
Camera Special Effects
« on: 07 Apr 2004, 18:22:22 »
ok, Zombie and myke13021 got me up and running on the cameras.  I've used the "game locic" technique to place cameras.  The movie looks good to me but I'm missing some things.  In the last sequence of cameras I need a satilite view.  I've placed two cameras 60 meters above the enemy camp.  What I would like to do is this...

add night vision to the cameras
add a tv screen to the boarders
add a red "rec" lite to one of the lower corners

also since i'm not using voice overs i need a way to place text at the lower portion of the screen, during certain camera views.  If there is a way to put it into the "movie.sqs" with the camera scripts that would be great.  I only need the text to show as long as the specific camera is looking at the target (ai, vehicle, sat view, ect).

this is what i've got so far for the "movie.sqs"


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

_camera camSetTarget h1
_camera camSetPos getpos campos1
_camera camSetFOV 1.000
_camera camCommit 0
@camCommitted _camera
~5

_camera camSetTarget h1
_camera camSetPos getpos campos2
_camera camSetFOV 1.000
_camera camCommit 5
@camCommitted _camera
~5

_camera camSetTarget m1
_camera camSetPos getpos campos2
_camera camSetFOV 0.700
_camera camCommit 5
@camCommitted _camera
~5

_camera camSetTarget t1
_camera camSetPos getpos campos3
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5

_camera camSetTarget t2
_camera camSetPos getpos campos3
_camera camSetFOV 0.700
_camera camCommit 5
@camCommitted _camera
~5

_camera camSetTarget t4
_camera camSetPos getpos campos3
_camera camSetFOV 0.700
_camera camCommit 5
@camCommitted _camera
~5

_camera camSetTarget t3
_camera camSetPos getpos campos4
_camera camSetFOV 0.700
_camera camCommit 5
@camCommitted _camera
~5

_camera camSetTarget h1
_camera camSetPos getpos campos5
_camera camSetFOV 1.000
_camera camCommit 0
@camCommitted _camera
~7

_camera camSetTarget t4
_camera camSetPos getpos campos6
_camera camSetFOV 1.000
_camera camCommit 7
@camCommitted _camera
~5

_camera camSetTarget h1
_camera camSetPos getpos campos7
_camera camSetFOV 1.000
_camera camCommit 5
@camCommitted _camera
~5

_camera camSetTarget t4
_camera camSetPos getpos campos8
_camera camSetFOV 1.000
_camera camCommit 5
@camCommitted _camera
~8

_camera camSetTarget of
_camera camSetPos getpos campos9
_camera camSetFOV 1.000
_camera camCommit 0
@camCommitted _camera
~5

_camera camSetTarget of
_camera camSetPos getpos campos10
_camera camSetFOV 1.000
_camera camCommit 5
@camCommitted _camera
~5

_camera camSetTarget tv
_camera camSetPos getpos campos11
_camera camSetFOV 1.000
_camera camCommit 5
@camCommitted _camera
~3

_camera camSetTarget h2
_camera camSetPos getpos campos12
_camera camSetFOV 1.000
_camera camCommit 0
@camCommitted _camera
~10

_camera camSetTarget a1
_camera camSetPos getpos campos13
_camera camSetFOV 1.000
_camera camCommit 0
@camCommitted _camera
~10

_camera camSetTarget of
_camera camSetPos getpos campos10
_camera camSetFOV 1.000
_camera camCommit 0
@camCommitted _camera
~6


player cameraEffect ["zoomin","back"]
~5
_camera cameraeffect ["terminate", "back"]
~5
camdestroy _camera
exit

« Last Edit: 07 Apr 2004, 18:24:52 by TERA_Forrest »

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:Camera Special Effects
« Reply #1 on: 07 Apr 2004, 23:05:43 »
okay..i can help with 2 things..the tv set and the text....first the tv set...you call it with following command:

TitleObj ["Tvset","Plain"]

and to deactivate the tvset:

TitleObj ["Default","Plain"]

for the tesxt messages use this:

titletext ["your text here", "PLAIN DOWN", 3]

this shows the message at bottom of the screen, for messages in the middle just remove DOWN.
the "3" does fade the text in, in this case fade in 3 seconds...if you dont want a fade in just remove it.

If the messages stays too long on screen for your purposes, you can delete them with an "empty" titletext line like this

titletext [" ", "PLAIN DOWN",]

hope this helps you

TERA_Forrest

  • Guest
Re:Camera Special Effects
« Reply #2 on: 08 Apr 2004, 04:41:16 »
the text works great!  But the "tv" effect keeps getting an error.  Can u break it down and be a little more specific or check the "script" u wrote?  I also need to know where to put it.  Thank u for all the help  ;)

xenofanes

  • Guest
Re:Camera Special Effects
« Reply #3 on: 08 Apr 2004, 09:27:28 »
TitleObj and TitleText cannot be shown at the same time as far as I know. Instead of TitleText use RscTitles. If you don't know how to use RscTitles read my Font/Text-tutorial which you can find in the editors depot under tutorials or at my site http://www20.brinkster.com/xenofanes/. A little commercial  ;D
« Last Edit: 08 Apr 2004, 09:28:53 by xenofanes »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Camera Special Effects
« Reply #4 on: 08 Apr 2004, 21:03:35 »
Try:

cutObj ["TVSet", "plain"]


Planck
I know a little about a lot, and a lot about a little.

TERA_Forrest

  • Guest
Re:Camera Special Effects
« Reply #5 on: 09 Apr 2004, 06:57:08 »
it works! now, how do i turn it off, cause at the end of the sequence its still there even when i'm running around.  ???

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:Camera Special Effects
« Reply #6 on: 09 Apr 2004, 16:29:01 »
did you tried

cutObj ["default", "plain"]

??

TERA_Forrest

  • Guest
Re:Camera Special Effects
« Reply #7 on: 09 Apr 2004, 17:09:28 »
yup, all i got was an error message, tv screen was still there

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Camera Special Effects
« Reply #8 on: 10 Apr 2004, 04:23:32 »
To remove the TV screen try:

cutRsc ["default","plain"]

That should turn it off ok.


Planck
I know a little about a lot, and a lot about a little.

TERA_Forrest

  • Guest
Re:Camera Special Effects
« Reply #9 on: 22 Apr 2004, 19:57:59 »
thanks guys, works :)