Home   Help Search Login Register  

Author Topic: A favour to ask.  (Read 687 times)

0 Members and 1 Guest are viewing this topic.

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
A favour to ask.
« on: 26 Apr 2004, 17:51:16 »
Hi guys.
As my thread about my intro has not turned up any fruitful answers, I was wondering if someone could post me a sample intro camera script. NOT a cutscene script. I need it for the editor "intro". That way I can chop and change it for my own needs.
Cheers.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Loup-Garou

  • Guest
Re:A favour to ask.
« Reply #1 on: 27 Apr 2004, 10:08:41 »
Here's an example made by Macguba (don't forget to type [] exec "intro.sqs" in the init field of a unit, and to put a trigger : Type : End#1, Condition : true, Countdown : lengthofintro, lengthofintro, lengthofintro  ;D) :

; this is the camera script for the intro
; I'm not an expert on this kind of stuff so it isn't a particularly good intro
; however, it's better than nothing and demonstates some of the basics
; I really only created it to take a screenshot for the Overview pic


; lets get started

titlecut [" ","BLACK IN",3]

enableradio false

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


; and ... action!

_cam camsettarget logic1
_cam camsetrelpos [-80,100,7]
_cam camcommit 0
@camcommitted _cam

~2

titlecut ["Tutorial Mission","plain down",2]

~2

; start the camera moving

_cam camsettarget fire1
_cam camsetrelpos [-35,-25,5]
_cam camcommit 20
@camcommitted _cam


titlecut ["created by macguba","plain down",2]

_cam camsettarget fire1
_cam camsetrelpos [0,-62,3]
_cam camcommit 15
@camcommitted _cam


titlecut ["","plain down",2]

_cam camsettarget logic2
_cam camsetrelpos [7,-7,3]
_cam camcommit 6
@camcommitted _cam

~4


titlecut ["","BLACK OUT",2]

~2

; tidy up and exit

_cam cameraeffect ["terminate", "back"]
camdestroy _cam

enableRadio true

exit

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:A favour to ask.
« Reply #2 on: 27 Apr 2004, 20:04:48 »
ok, so whay when I do this, does it just cut back to the "player" when its finished?
It should go straight to the briefing screen shouldn't it?
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."