Author Topic: Camera Control  (Read 308 times)

Legacy_Sintrea

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
Camera Control
« on: September 14, 2012, 10:42:38 pm »


               Hello all
I am currently working on a scary nwn module. 
Trouble being is making a claustraphobic enviroment is hard when the player can just zoom out as they please.
Is there a way to control the camera, limit the zooming out or even the angle and such?
And this is while the player is playing, not in cutscene mode.
Thanks
               
               

               
            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Camera Control
« Reply #1 on: September 15, 2012, 12:21:47 am »


               The Lexicon documents the functions that control the camera. What you'd likely be looking at are LockCameraDistance() and LockCameraPitch(). Also, Gestalt's Cutscene Scripting System contains a Fixed Camera, which lets you lock the camera at a specific spot without interrupting play. The effect looks rather like a security camera following the player's movements. Very nifty, IMO.
               
               

               
            

Legacy_Fester Pot

  • Hero Member
  • *****
  • Posts: 1698
  • Karma: +0/-0
Camera Control
« Reply #2 on: September 15, 2012, 03:18:21 am »


               There was a game on the Nintendo 64 I think? Not a Nintendo player but a friend had this horror-like zombie-ish game for it that used a locked camera. So you'd be looking down a corridor but the camera would never shift as you went down it. I recall it being in a mansion or something. Due to the fixed camera, the graphics were able to be rendered on a higher scale. One of the Resident Evil games perhaps. *shrugs*

Anyhow, I've always wanted to do something like this in NWN but figure it would ****** people off not being able to turn this way and that like they're used to, especially if that's what they're able to do everywhere else in the module.

Neat feature for NWN though Sintrea. Hope it works out for you.

FP!