OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: nogreymatter on 04 Nov 2005, 03:18:30

Title: Getting camera positions.
Post by: nogreymatter on 04 Nov 2005, 03:18:30
Hello I'm new here (actually signed up a while ago but just fixed the log in problem), but I have made missions for I don't know how long. However I was, and still am, not good at cutseens. I hope this isn't to much of a noob question but for some reason I can't get the camera position ingame (by pressing ctrl, which is my keyboard fire button), and paste the coordinates to notepad for a camera position. Can anybody help me?

I have OFP:GOTY ver. 1.91

Thanks
Title: Re:Getting camera positions.
Post by: Tyger on 04 Nov 2005, 04:06:06
See Mesiah's Camera.sqs Tutorial  here (http://www.ofpec.com/editors/resource_view.php?id=557). That should help you ;)

Maybe I should read your post first  :P

Did you execute
Code: [Select]
this exec "camera.sqs"in the init line of a game logic, trigger or unit?

And WELCOME TO THE FORUMS!
Title: Re:Getting camera positions.
Post by: nogreymatter on 04 Nov 2005, 23:37:29
Yes.

For some reason it worked one time, but not anymore.
Now when ever I alt-tab out of game to past the coordinates, nothing happens.

I did read Mesiah's camera tutorial, thats were I got this from.
Title: Re:Getting camera positions.
Post by: Tyger on 05 Nov 2005, 03:09:48
hmm. That is odd...

What is your OS? Linux? Mac? XP?
That could be part of the problem....
Title: Re:Getting camera positions.
Post by: nogreymatter on 08 Nov 2005, 23:21:02
I have Windows Media Center Edition.

Sorry it took me a while to reply back.
Title: Re:Getting camera positions.
Post by: bedges on 09 Nov 2005, 19:46:28
as a matter of interest, which part of it isn't working? does the camera.sqs script work (i.e. the mission begins and there's a nice camera angle displayed) or is it just the capturing of the camera info and transferring it to notepad?
Title: Re:Getting camera positions.
Post by: nogreymatter on 09 Nov 2005, 22:42:52
I can't capture the camera info (i.e. angle) and transfer it to notepad.

Thats the only problem I have.
Title: Re:Getting camera positions.
Post by: Pilot on 09 Nov 2005, 23:47:07
The tut Tyger linked to will solve your problem. ;)

When you have the angle you want, press the "ctrl" key.  Then, alt-tab out of OFP and open up Notepad.  Click edit-paste, or press Ctrl-V

-Pilot
Title: Re:Getting camera positions.
Post by: bedges on 09 Nov 2005, 23:52:15
mhmm. read his first post and you'll see that's precisely what he's having problems with  :P

the only thing i can suggest is that the ctrl key is not bound to the same thing. have you tried resetting to default keys?

other than that, when you say it worked once upon a time, what have you changed since then? new pc components?

i confess i'm stumped  :-\
Title: Re:Getting camera positions.
Post by: Pilot on 09 Nov 2005, 23:55:32
*reads first post*
...
*feels stupid*

Try both left Ctrl and right Ctrl.  Maybe one works and the other doesn't?

-Pilot
Title: Re:Getting camera positions.
Post by: Planck on 09 Nov 2005, 23:57:37
Only thing I can think of is 'Ctrl' is bound to more than one thing.

And one of them is taking priority over the other.


Planck
Title: Re:Getting camera positions.
Post by: nogreymatter on 11 Nov 2005, 03:12:11
It might be bound to something else but I doubt it. Umm I added some fonts and after that id didn't work, but I had to reformat my comp a few days ago so those fonts were erased. I'll check the keys tommarow.

Once again thanks for you help.
Title: Re:Getting camera positions.
Post by: nogreymatter on 18 Nov 2005, 00:42:47
Well Cntrl isn't locked to anything else, and I still can't figure out whats worng.
Not only that but now my horizon is dark blue. I think its because I installed my driver update for my video card.

Damn what else can go wrong?
Title: Re:Getting camera positions.
Post by: Tyger on 18 Nov 2005, 01:48:50
Have you tried adjusting your Operation Flashpoint settings via the .exe file or what ever?
Title: Re:Getting camera positions.
Post by: Trapper on 18 Nov 2005, 12:20:03
My simple solution for the camera positions:

- Create a second user profile, and don't change any key binding.

- Copy your missions to this profile.

- Work with second profile to collect the camera positions. Now every camera.sqs key binding works like it should.

- After collecting the camera positions continue the work with your first profile.

EDIT: I never knew it's possible to directly past the position in Windows. I've always copied the position from the "clipboard.txt" file in the flashpoint root, which is created/updated everytime CTRL is pressed.
Title: Re:Getting camera positions.
Post by: nogreymatter on 19 Nov 2005, 19:05:24
I will try that trapper, thanks.
Any suggestions on any specific video setting I should change? Benchmarks or something?
Title: Re:Getting camera positions.
Post by: nogreymatter on 20 Nov 2005, 02:07:36
Could my video problem be because I can't turn on W-Buffer?
Title: Re:Getting camera positions.
Post by: bedges on 20 Nov 2005, 11:42:31
well, that's sort of beyond the scope of this site, i'm afraid. editing questions? we can answer them before you've even finished asking. technical advice, we don't do.

however, you may be able to find something at the avon lady's site (http://www.theavonlady.org/theofpfaq/), and failing that, go straight to the source and ask bis (http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi) themselves. you're bound to come up with the answer sooner or later.

good luck :)
Title: Re:Getting camera positions.
Post by: nogreymatter on 20 Nov 2005, 21:22:24
Thanks.
Title: Re:Getting camera positions.
Post by: nogreymatter on 20 Nov 2005, 22:02:13
Well my video works again, aparently a new driver just came out.
Trapper were can I find that clipboard file in the root of Operation Flashpoint?