Home   Help Search Login Register  

Author Topic: outro manipulation trouble + basic stuff  (Read 1830 times)

0 Members and 2 Guests are viewing this topic.

Dubieman

  • Guest
outro manipulation trouble + basic stuff
« on: 14 Jul 2004, 19:16:22 »
Hey there I was usin Snypirs camera cutscene thing for a little bit but the camera.sqs works loads better.

I have a Question though. What do you guys do when you're makin a cutscene or outro? I made a camera and set my shots in the empty town and then added people and stuff to it and I'm 1/4 the way through it. Is that how you people do it? :-\



First off I went into my outro for my mission and went to use the camera tool to look around and find good angles, but I cannot use the spacebar to target anything, it acts like the camera is over and sends me back to the third person view of my civvi. Is there a way around this?

Now I'm makin the outro under another mission name so I can target stuff and then I plan to copy/paste units and the script over to my real outro scene. :P

Secondly, my outro won't play though in this new mission folder under mission not outro or intro or anything since I want to use the spacebar.

I made the ppl and put in my guys init line
this exec "outro.sqs"
and all I get is a A1 gridsquare camera shot.

Here is the uncompleted script...

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

;=== 15:50:14sign
_camera camSetTarget [-46040.90,-80437.12,-8346.15]
_camera camSetPos [8176.71,3171.39,2.20]
_camera camSetFOV 0.398
_camera camCommit 0
@camCommitted _camera
~5
;=== 15:55:18 church
_camera camSetTarget [-41720.59,-83468.74,-1890.56]
_camera camSetPos [8182.25,3168.72,1.11]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5
;=== 15:56:18gate
_camera camSetTarget [103039.77,-28389.18,2448.87]
_camera camSetPos [8177.81,3159.48,1.08]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5
;=== 15:56:42bush
_camera camSetTarget [42724.70,-90574.68,4687.77]
_camera camSetPos [8188.46,3156.19,1.41]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5
;=== 15:57:08gate2
_camera camSetTarget [-50814.71,-77593.54,209.29]
_camera camSetPos [8194.47,3139.87,1.91]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5
;=== 15:57:48house1
_camera camSetTarget [-90340.00,-14042.52,209.34]
_camera camSetPos [8177.05,3114.26,1.47]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5
;=== 15:58:22window1
_camera camSetTarget [90429.65,-53758.67,209.65]
_camera camSetPos [8174.62,3110.25,1.47]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5
;=== 15:59:31heli1
_camera camSetTarget [103804.95,29416.10,-12914.13]
_camera camSetPos [8203.89,3092.79,8.97]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~5

I dunno what's going on.

Thanks for your help. :)

Gooner861

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #1 on: 14 Jul 2004, 23:07:12 »
Hi there GRK,

When i make my cutscenes i prefer to get all my units in place, with all the waypoints etc. Than i use the camera.sqs, find the angle i want and than put the camera where i want it and i paste it. I wud find it difficult to do my cutscenes in an empty area cos ur not gonna know where ur units are etc.

But woteva u find comfortable use it.

With ur problem i dnt really understand wot ur doin putting it under a different mission name. Wot i do is create my intro and outro's within the same mission and save it in the same folder.

Sorry i dnt really know wots wrong with it, heres part of an intro script that i used in my mission, if u can use that for guidance:

;=== 18:16:21
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"]
_camera camSetTarget [97656.91,45800.91,-12437.91]
_camera camSetPos [8533.19,2198.74,79.74]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
Titletext["Gooner861 presents","BLACK IN",10]

_camera camSetTarget [89693.27,-11112.47,51098.77]
_camera camSetPos [5020.26,3851.84,7.07]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~3

;=== 15:32:22
_camera camSetTarget [86431.63,60802.51,-11316.81]
_camera camSetPos [5022.60,3850.76,6.86]
_camera camSetFOV 0.700
_camera camCommit 4
@camCommitted _camera
~4

;=== 15:33:09
playMusic"Song5"
5 fademusic 2;
_camera camSetTarget [-91453.33,7490.20,-25752.14]
_camera camSetPos [5094.77,3882.20,6.21]
_camera camSetFOV 0.700
_camera camCommit 6
@camCommitted _camera
~3

;=== 15:36:53
_camera camSetTarget [103830.11,26.26,-15180.37]
_camera camSetPos [5070.44,3886.73,1.80]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~2

One thing i dnt get from urs is next to ur times u have things like "church" and "sign" which i dnt know why there their? Maybe that cud be a problem?

Good luck with it, hopefully sumone with more experience with it can help.

Gooner

EDIT:
Just noticed at the very beginning of ur script u have got "_cam" and than for the rest of the script u have "_camera" at the beginning of each line. Try changing one so they match.
« Last Edit: 14 Jul 2004, 23:08:56 by Gooner861 »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:outro manipulation trouble + basic stuff
« Reply #2 on: 14 Jul 2004, 23:36:32 »
[] exec "outro.sqs"

not

this exec etc...  you're getting confused with this exec "camera.sqs"

I'm not a great cutscene maker but you IMLE (in my limited experience) you have to create the whole scene, and get happy with it, before adding the camera.    Of course what actually happens is that both kinda go in parallel, but conceptually the scene comes first and the shooting second.     Alexander Korda didn't line up his shots on an actor-free set, now did he?
Plenty of reviewed ArmA missions for you to play

Skanderborgvej

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #3 on: 19 Jul 2004, 14:19:58 »
Gooner is correct, you started wrong, try changing your first two lines into:

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

You see? you started with "_cam" but continued the script with "_camera"

Gtrz  ;)
« Last Edit: 19 Jul 2004, 14:21:06 by Vlaamse Leeuw »

Dubieman

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #4 on: 19 Jul 2004, 15:01:02 »
Stupid me thanks for the correction, I get so messed up sometimes with all this camera stuff.
 :P
@Gooner: Since there is a ; at the start of the line, the game overlooks that part so I put in the name of the place where the camera is pointing so if there is a problem I know which piece of code to work on.

@Macguba: Thanks for the [] exec "outro.sqs" that might help me out.

Thanks all for helpin me out. ;)

I guess I'll try the waypoints trigs and ppl in the editor first then shoot it. I dunno what I was thinking before.

Maybe with Macguba's exec line the spacebar won't end the outro for me this time.
I'll explain the problem one more time actually. So in my mission I go and switch it to the outro win and good now a clean slate for the outro. Then I made my units, but maybe Macguba's code will work. :P  Anyways I used this exec "camera.sqs" and went to target something so I could rotate around it and such and the spacebar sent me to the third person view of my civvi. Like in an outro to a mission you hit any button to escape? :P


Gooner861

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #5 on: 19 Jul 2004, 15:19:05 »
Ok i get everything up until the bit about the spacebar  :) , wot u trying to do with the spacebar?  ;D I never use the spacebar  :-\  ;D

Gooner

Gooner861

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #6 on: 19 Jul 2004, 15:20:50 »
Oh no sorry i just read it through properly  ;D , how does ur scripting end for the outro? U got any end triggers?

Gooner

Dubieman

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #7 on: 19 Jul 2004, 15:53:11 »
Ohh yea I know I gotta use trigs to end it, that code/script isn't finished at all.  :P

Spacebar is for targeting but I dunno what's wrong with it. I still have to try Macguba's code to see if it works.
But that's the reason I was in a diff .sqm so I could use the spacebar decently and then apply it to my outro.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:outro manipulation trouble + basic stuff
« Reply #8 on: 19 Jul 2004, 16:03:53 »
spacebar is a bug i've just noticed in 1.96. I'm getting the same problems as well...

Basically space bar should force the camera to target the object or place its looking at (red box or yellow box) - unfortunatly every now and then, space bar quits the camera view - i'm not entirely sure why... it happens every once in a while, and i find quitting ofp and restarting solves it...

im going to check my setting now, but make sure the space bar is only directed to change ammo type in controls (default settings)
Proud Member of the Volunteer Commando Battalion

Dubieman

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #9 on: 19 Jul 2004, 16:42:03 »
That might work.

Although my problem never goes away but I'll check my settings to see.

thanks


ps oh yea changing the code doesn't work with helpin the spacebar matter...
« Last Edit: 19 Jul 2004, 16:42:56 by GuiltyRoachKilla »

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:outro manipulation trouble + basic stuff
« Reply #10 on: 19 Jul 2004, 17:30:28 »
well, i wrote the latest version of the tute back in version 1.75... the space bar bug is something i've only noticed recently... the only thing i've installed recently is ECP and FDF... if you have either one of those, prehaps we can come to a conclusion of what it may be...

i'll try and redefine my keys and see what happens.
Proud Member of the Volunteer Commando Battalion

Dubieman

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #11 on: 20 Jul 2004, 01:59:44 »
I have ECP and 1.96...

I'm not really hopin to uninstall either as I love them so much :-* and its kinda a pain to do... (not really, I'm just lazy)

I found the way around this, but its kinda messy. You make the outro or intro if that's the case on the same island except under a diff .sqm and when finished copy/paste everything over to the real outro or intro then apply the triggers and booleans whatever...

It seems like it'll work. I redefined my switch ammo button to solely spacebar and no luck. I dunno, this is my first camera.sqs "serious" job so targeting isn't to big with me... I dunno its very odd.
*************************************
Anyways now I have a new problem for you all. ;)

In the middle of my outro I have the character drop his gun since he has 5 rifles pointed at him. The code works great here.
Its just after the dialog, I want my three rifle toting guys named crony1, crony2, and crony3 to join the evil dude named "boss" and I also want the other other guy to join him, he's called "cap". Then I need a way to get them into the UH60 and fly away.

Problems I've encountered:

1.) waypoints need triggers with delays and that's rather err a long wait as the cutscene is rather long.

2.) I used boss domove g1 (a gamelogic) and he teleported or I think so, might have been a bad camera angle...

3.) I get errors with the join command...
Here's the nessacry part of the script....

Code: [Select]
;=== 13:39:00spetz
_camera camSetTarget [-91710.72,2046.88,24.22]
_camera camSetPos [8281.38,3098.48,1.60]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
titletext ["Okay, he can go. Where's my money though?","plain down",1]
~4
titletext ["I have half the Malden National Guard on my ass.","plain down",1]
cap join boss
~4
;=== 13:47:49
_camera camSetTarget [104954.39,-22165.91,4293.50]
_camera camSetPos [8292.18,3095.82,1.49]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
titletext ["Patience my friend. You'll get your money in time.","plain down",1]
~5
titletext ["As you know though, I'm a gangster, a thief, a mobster if you will.","plain down",1]
~4
titletext ["You should know better then to make a deal with me, drop you weapon now or you'll be dead on the spot!","plain down",1]
~5
;=== 13:51:19
_camera camSetTarget man
_camera camSetPos [8282.65,3098.01,1.30]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
titletext ["Fine. Don't worry though, thieves will get what they deserve in due time.","plain down",1]
man switchmove "HandGunPutDown"
~0.5
man removeweapon  "Skorpion"
man setbehaviour "SAFE"
~5
;=== 14:06:44
_camera camSetTarget [108172.23,-1515.03,-1576.72]
_camera camSetPos [8291.34,3095.62,1.50]
_camera camSetFOV 0.374
_camera camCommit 0
@camCommitted _camera
titletext ["Big words from a little man. Good luck Mr. Pilla, I hope you have fun here on Malden.","plain down",1]
~4
titletext ["And I wouldn't come around and bother me anymore. My men might be a little more trigger happy.","plain down",1]
~4
;here I want the boss to move towards the uh60
;and hopefully when going to g2 he orders his men into
; the chopper
crony1 join boss
crony2 join boss
crony3 join boss
boss domove g1
boss moveindriver uh
boss domove g2

Thanks in advance... :)

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:outro manipulation trouble + basic stuff
« Reply #12 on: 20 Jul 2004, 10:37:19 »
2. the correct synthax is:

unitname domove (getpos markername)


3. the correct synthax is:

[unitname, unitname,unitname... etc] join group unitname
Proud Member of the Volunteer Commando Battalion

Dubieman

  • Guest
Re:outro manipulation trouble + basic stuff
« Reply #13 on: 20 Jul 2004, 16:31:52 »
Hmmm,
makes sense.

I heard someone using a gamelogic before though....
I'll use a marker then.

Any luck with the spacebar deal? :P


PS: on the join thing
               [loon1, loon2] join bossy boss

Do you just put the unitname "boss" or the group "bossy"
or both?

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:outro manipulation trouble + basic stuff
« Reply #14 on: 21 Jul 2004, 00:27:47 »
lol, sorry, doesnt have to be a marker, i just call anything place to move to a marker.... it can be a gamelogic, i was just stating u got the synthax incorrect....

as for the group thing... basically, if you make them join a group, then it is:

[loon, loon, loon] join groupname

if its joining a group of a guy, but u havnt named his group yet, just use:

[loon, loon, loon] join group leadername

^^^^ the group part in that does not mean the groupname as i think u have misunderstood from my post. As for the space bar - no luck so far - i'm going to reinstal ofp anyways, so i'll report back.
Proud Member of the Volunteer Commando Battalion