Home   Help Search Login Register  

Author Topic: View to a Kill  (Read 1504 times)

0 Members and 1 Guest are viewing this topic.

kueter

  • Guest
View to a Kill
« on: 23 Jan 2004, 06:47:59 »
Howdy fellas,
            Any one know how to have a sniper view during a cutscene(like binocular view or tv view). ie a sniper targeting an officer?  :D

Thanks in advance!

Peace,
Kueter

PsyWarrior

  • Guest
Re:View to a Kill
« Reply #1 on: 23 Jan 2004, 17:25:52 »
Greetings Kueter

Yes, this is possible in OFP:R, but there is an easier way than using resources (only in Resistance though). There is a new camera command that lets you see through the "gunner" optics of a unit (the scope in the case of a sniper). Unfortunately, I can't remember the code at this time, and a quick look at the comref has not revealed it.

But before I expend too much effort, what version of OFP have you got?

-Supreme Commander PsyWarrior
-Psychic Productions
« Last Edit: 23 Jan 2004, 17:28:06 by PsyWarrior »

kueter

  • Guest
Re:View to a Kill
« Reply #2 on: 24 Jan 2004, 01:04:37 »
 ;) Thanks for the reply PsyWarrior.

I am currently running 1.91 and 1.95 res.

 :P

Offline alimag

  • Contributing Member
  • **
  • I'm a llama!
Re:View to a Kill
« Reply #3 on: 24 Jan 2004, 04:14:02 »
You're talking about the 'switchCamera' command PsyWarrior.

unit switchCamera "cameraMode"

Where cameraMode can be "internal", "external", "group", "gunner" and maybe something else that I cant remember now.

Cheers

PsyWarrior

  • Guest
Re:View to a Kill
« Reply #4 on: 24 Jan 2004, 15:08:08 »
That's the one.

It was listed in the ComRef, But it didn't say anything about the "gunner" CameraMode.

EDIT: No, I was looking at completely the wrong command  :-[

Problem Solved, hopefully.

-Supr. Cmdr. PsyWarrior
-Psychic Productions
« Last Edit: 24 Jan 2004, 15:09:13 by PsyWarrior »

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:View to a Kill
« Reply #5 on: 24 Jan 2004, 17:25:16 »
Problem Solved, hopefully.
I doubt it...
At least I didn't get it to work during a cut scene...  :(
Worked within game though...

If someone knows if/how this works in cutsecene I'd be very happy to know...   :P
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

O Neil

  • Guest
Re:View to a Kill
« Reply #6 on: 24 Jan 2004, 23:21:31 »
Hey

umm . . . soz, don't really know much about this, but to that Q how to use it, I think you shove it after setFOV. Not sure.

But what does ring a bell on this subject from somewhere else, is the camera
          "Optics" or just "Optic"

Can't remember, soz. Hope it helps ;)

(O'Niel Ryan

Offline Burn

  • Members
  • *
Re:View to a Kill
« Reply #7 on: 25 Jan 2004, 00:52:00 »
Read the Switchcamera Tutorial, by lilmat. ;)

PsyWarrior

  • Guest
Re:View to a Kill
« Reply #8 on: 25 Jan 2004, 22:28:12 »
Greetings

Just a note of interest: This effect can be seen in the OFP:R campaign intro, when the Resistance try to ambush Guba.

You could DePBO the campaign and see how BIS did it. I can't do this at this time, since I messed up my copy of OFP Mgr and on 28.8kb/s, it's going to be a while till I get a new copy...

But in all likelyhood, the tutorial will solve this problem (now where did I hear that recently...problem solved, hopefully...hmm)  ::)

-Supr. Cmdr. PsyWarrior

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:View to a Kill
« Reply #9 on: 25 Jan 2004, 23:03:38 »
Greetings

Just a note of interest: This effect can be seen in the OFP:R campaign intro, when the Resistance try to ambush Guba.

You could DePBO the campaign and see how BIS did it. I can't do this at this time, since I messed up my copy of OFP Mgr and on 28.8kb/s, it's going to be a while till I get a new copy...

But in all likelyhood, the tutorial will solve this problem (now where did I hear that recently...problem solved, hopefully...hmm)  ::)
Oh, I just had to...  ;D

Nope, BIS does it cutRsc... Here a quote from the actual intro code:
Quote
;Sniper optika
_camera camSetTarget [18148.12,-88672.24,-4468.43]
_camera camSetPos [2369.80,9967.60,0.25]
_camera camSetFOV 0.058
_camera camCommit 0
@camCommitted _camera
showCinemaBorder false
cutrsc ["Dragunov","plain down",1000]
ressniper setPos [2429.292,9640.549,-0.003]
ressniper setDir -12
ressniper dowatch [-15729.83,107930.91,3217.60]
ressniper setcaptive true
ressniper setunitpos "down"
rvsniper say "DX01v11"
~3
titleCut ["","BLACK OUT",0.1]
~0.1
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

kueter

  • Guest
Re:View to a Kill
« Reply #10 on: 26 Jan 2004, 01:26:17 »
Wow guys,
           Thanks for all your advice!  :D  Thanks Bizon, I just got the switchcamera.tut.  :P

Cheers,
Kueter