Home   Help Search Login Register  

Author Topic: Camera scripting  (Read 738 times)

0 Members and 1 Guest are viewing this topic.

Offline limmy3

  • Members
  • *
  • OFP crazy!
Camera scripting
« on: 11 Sep 2005, 23:56:23 »
Hi,
I made the intro, outro-win and outro-loose by camera scripting.
The cameras work as I wished to but...
Just after loading the Unit itself is shown for seconds, then the black in comes and the scene starts.
How can I stop that the unit is displayed first? I mean starting the scene with the black in when the camera is flying directly to the scene start.
Does someone understand that?  ???
I was looking for this command but did not find it yet.
Thanks for answering  :D
« Last Edit: 11 Sep 2005, 23:57:06 by limmy3 »
The only necessary for triumph of evil is for good men to do nothing.

Voron357

  • Guest
Re:Camera scripting
« Reply #1 on: 12 Sep 2005, 00:44:08 »
If I have correctly understood you, and with English language at me a trouble, you need to create a file in a folder of your mission with the name "initintro.sqs" (it for an initial roller). In this file write :

cuttext ["","black in ", 5]

Also look that has turned out.

Offline crave22

  • Members
  • *
  • Wheeeeeee!!!!!!
    • OpSomme
Re:Camera scripting
« Reply #2 on: 12 Sep 2005, 01:26:36 »
First of all, how did you do the scripting? Did you do it by putting the commands in the "on Activation" of triggers or by putting it into a file and calling up the file as a script during the mission?

If it's the second one I can't really help, but if it's the first one...
In the init line of your character put in the titleCut instead of in a trigger. The init line is instant while a trigger takes a moment to activate. Always works for me. ;)

Hope it helped! ;D

By the way, this will probably get moved to Sound and Cutscenes. :)

*EDIT* Forgot to mention. I might be able to help with the second one. Instead of putting (for example) This exec "intro.sqs" into a trigger, put it in a unit's init line. If you already did, then sorry, can't help ya. I know poo about cam scripting with sqs files. ;)

(heck, I know poo about cam scripting in general!)
« Last Edit: 12 Sep 2005, 01:30:18 by crave22 »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Camera scripting
« Reply #3 on: 12 Sep 2005, 17:44:14 »
Quote
put it in a unit's init line.
Correct.  When the mission starts, the game executes all the stuff in units' init lines before doing the triggers.

Alternatively, call the camera script from initIntro.sqs for the Intro and init.sqs for the mission itself.
« Last Edit: 12 Sep 2005, 17:46:07 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline limmy3

  • Members
  • *
  • OFP crazy!
Re:Camera scripting
« Reply #4 on: 15 Sep 2005, 20:07:22 »
If I have correctly understood you, and with English language at me a trouble, you need to create a file in a folder of your mission with the name "initintro.sqs" (it for an initial roller). In this file write :

cuttext ["","black in ", 5]

Also look that has turned out.

Thank you this was part of the answer I also put it in the unit's init line.  :D
The only necessary for triumph of evil is for good men to do nothing.