Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Project Blue Camera Controls

Author
Message
raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 18th Jan 2011 04:06
I am looking to make a script in which the player will enter a zone. At that point the camera will break away from the player, fly to a spot on the map (to show a good path to take, an enemy, etc), then return back to the player (either by reversing path or instantaneously). I am however still wrapping my head around the whole scripting thing. So that being said here is my horrible script so far that does absolutely nothing. What I'm looking for is either an example to follow or a push in the right direction. Thanks Guys.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 18th Jan 2011 23:18
When you want the camera to be viewed, you need to use "viewcam=flycam". Then to return to the player camera, use "viewcam=0" (That's a zero, not an O )

Also, the camera positions must be in UNITS, not in segments. Take the segment you want the camera to be in and multiply by 100 to get units. You may have to subtract 50 from that to put the camera in the center of the segment.


Hope that helps nudge you in the right direction.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 19th Jan 2011 00:23
Thanks Plystire. I still need the makecamera command correct?
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 21st Jan 2011 07:16
Yes, the "makecamera" command creates the camera, which needs to be done before it can be used, but only needs to be done once.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 22nd Jan 2011 00:21
Thanks, Buddy. I'm starting to get it work. Quite a way to go though to get the full effect I'm looking for. But this has at least got the camera to show.

Login to post a reply

Server time is: 2024-11-24 13:33:23
Your offset time is: 2024-11-24 13:33:23