Home   Help Search Login Register  

Author Topic: wat da hell is goin on here  (Read 664 times)

0 Members and 1 Guest are viewing this topic.

Dubieman

  • Guest
wat da hell is goin on here
« on: 24 Jun 2004, 00:09:37 »
Well I have made one intro before and it was okay, not great. My problem now is NONE of my camera scripts are being recognized. Nothing nadda, I'm trying to make another now to get better but it won't frickin work in the first place. Hopefully this is something stupid and not a major problem.

I have my mission called Nocturnal. I go into the intro part right? Then I put a spetz natz down and a car. The spetz natz is named playe and the car is called car. I am a civ off to the side. I put in the spetz natz's init field after "removeallweapons this"    [] exec "intro.sqs"

Okay so I think I'm okay so far. My script for the camera is like this...
******************************************

titlecut [" ","BLACK IN",5]
~5

enableradio false

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

_cam camsettarget car
_cam camsetrelpos [34,15,7]
_cam camcommit 0


~5

_cam camsettarget car
_cam camsetrelpos [4,4,4]
_cam camcommit 5

exit

********************************************

Its not done so don't try and pick apart the end part. Just tell me if the top is right. The problem is that it doesn't work. No errors and no camera at A1 over the ocean. I can tell the black in comes since the screen quickly goes to fade into the reg screen from black.

I'm not sure what's going on, I made a intro before and it worked, I'm not sure why this one is screwing with me.

Help is appreciated... :P

Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:wat da hell is goin on here
« Reply #1 on: 24 Jun 2004, 00:15:57 »
Quote
cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]

you forgot the underscore before cam; it should read:

Quote
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]
« Last Edit: 24 Jun 2004, 00:17:29 by .pablo. »

Dubieman

  • Guest
Re:wat da hell is goin on here
« Reply #2 on: 25 Jun 2004, 00:05:12 »
Well that was simple, I can't beleive I overlooked that. Thanks... ;)

I feel stupid..... :-[ :P

Gooner861

  • Guest
Re:wat da hell is goin on here
« Reply #3 on: 25 Jun 2004, 13:06:44 »
Believe me i've dun that hundreds of times.  :'(  ;D

Dubieman

  • Guest
Re:wat da hell is goin on here
« Reply #4 on: 25 Jun 2004, 14:54:19 »
Yeah true true Gooner. ;)

Anyways my intro is coming along pretty good now for my standards. I've only made three camera scripts, this is my third.  :o :P

To my two problems.

1.)Here's a piece of my intro. I wanted to black out for like 3 secs or whatever it says on there and black in to my next scene half way across the island.
*****************************************
_cam camsettarget pig3
_cam camsetrelpos [-8,-6,6]
_cam camsetFOV 0.5
_cam camcommit 0
@camCommitted _cam
~12
TitleText ["","Plain Down",1]
TitleCut ["A few hours later...","BLACK OUT",3]
~4
TitleCut ["","BLACK IN",1]
~2
_cam camsettarget playe
_cam camsetrelpos [12,0,6]
_cam camsetFOV 0.7
_cam camcommit 0
@camCommitted _cam
*****************************************
The trouble is that it blacks out and in like I want it to, there's enough time to read the text, but when it blacks in the last scene hasn't ended yet. I want it to black in to the next scene, the one targeting playe. Instead its still on pig3.

2.) More of quick Q. For my playe guy, I figured that if he was the player, the face thing would match up, yay. So I went through it. He wouldn't get in the damn car. I double checked the waypoints and nothing. Hmm, so the player can't get into cars automatically, like I have to use the action menu for me? The AI has no trouble at all. I'm just wondering, I'm gonna keep an AI in there. :P

Thanks in advance... :)
« Last Edit: 25 Jun 2004, 14:57:08 by GuiltyRoachKilla »

Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:wat da hell is goin on here
« Reply #5 on: 25 Jun 2004, 16:40:38 »
1: the reason it is blacking into the old scene is because you don't change the camera until after it blacks in; therefore i would change this:

Quote
TitleCut ["A few hours later...","BLACK OUT",3]
~4
TitleCut ["","BLACK IN",1]
~2
_cam camsettarget playe
_cam camsetrelpos [12,0,6]
_cam camsetFOV 0.7
_cam camcommit 0
@camCommitted _cam

to this:

Quote
TitleCut ["A few hours later...","BLACK OUT",3]
~4
_cam camsettarget playe
_cam camsetrelpos [12,0,6]
_cam camsetFOV 0.7
_cam camcommit 0
@camCommitted _cam

TitleCut ["","BLACK IN",1]
~2



2: i dont understand what you're asking
« Last Edit: 25 Jun 2004, 16:41:35 by .pablo. »

Gooner861

  • Guest
Re:wat da hell is goin on here
« Reply #6 on: 25 Jun 2004, 19:39:49 »
Just wondering GRK, u shud maybe try using camera.sqs to make ur cutscenes. I learnt how to use it and its amazing wot u can make with it.

But if ur comfortable using that method stay with it as u can also make decent scenes with that.

Good luck

Gooner  ;D

Dubieman

  • Guest
Re:wat da hell is goin on here
« Reply #7 on: 25 Jun 2004, 21:04:20 »
Ahh okay then, this isn't camera.sqs? :-\ I'm using it for my intro. These pieces are not full scripts, they are pieces as I don't want to post a two page script up here.

I read the tuts on it and I'm just learning it, rotating and zooming are in the works.

I gave up editor driven scenes a few weeks ago, its such a pain in the @ss to have 50 triggers with delays....

Unless what I'm doing isn't camera.sqs, but something else I'm not aware of... :P

@pablo, thanks that will probably work, can't test it right now.

As for my other Q.  In my intro I made the spetz natz guy, made him player controlled and named him playe.
Then when ordered into the car via waypoint he didn't get in. If he isn't player controlled he gets right in. Not that the player has much control, just the action menu. :P

Gooner861

  • Guest
Re:wat da hell is goin on here
« Reply #8 on: 25 Jun 2004, 22:27:20 »
Have u read messiah's camera.sqs ova at the editors depot? Its wot i used, nice and easy to understand.


Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:wat da hell is goin on here
« Reply #9 on: 26 Jun 2004, 02:50:43 »
Quote
Ahh okay then, this isn't camera.sqs?

go into the editor, make a soldier for the player to be, and put this in his init:

this exec "camera.sqs"

that will let you get camera shots much easier


Quote
As for my other Q.  In my intro I made the spetz natz guy, made him player controlled and named him playe.
Then when ordered into the car via waypoint he didn't get in. If he isn't player controlled he gets right in. Not that the player has much control, just the action menu

so then dont make him player controlled...

Dubieman

  • Guest
Re:wat da hell is goin on here
« Reply #10 on: 06 Jul 2004, 03:55:59 »
Alright now I'm confused.... :P  Just got back from  a weeks R&R and well, I have to catch up....

I'll look everything over again, and try and dignify a reply sooner or later.... :)


@pablo

I know, I'll make it not player controlled, I was just askin to see if its a bug or something like that.  ::)

Dubieman

  • Guest
Re:wat da hell is goin on here
« Reply #11 on: 07 Jul 2004, 01:03:39 »
Alright I went through Messiah's tut again and well it made sense. I'll have to try it after Nocturnal is finished.

When I read it before I dismissed it as the same as Snypir's tut and took little things out of it since I didn't fully understand everything then. This new stuff (for me) sounds good.

It's a shame I have my intro 70% done already by the "old" way. I figure to finish it the way I began and everything else by messiah's stuff or something.


Thanks for opening up my eyes.... ::) ;D