Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Lepanto on February 24, 2014, 11:45:41 pm

Title: How to Adjust the Chase Cam for Larger Ships
Post by: Lepanto on February 24, 2014, 11:45:41 pm
I'm working on a mission where the player commands a destroyer. Unfortunately, flying such a large ship makes the chase cam zoom WAY back, so that fighters are reduced to about a few pixels in size, and no ship looks visually impressive anymore.

How, if it is possible, does one make the standard chase cam perspective zoom in or out (not using the cutscene camera, because that erases the HUD)?
Title: Re: How to Adjust the Chase Cam for Larger Ships
Post by: General Battuta on February 25, 2014, 12:04:59 am
Isn't the camera's position tied to model traits (radius? or is the camera position its own setting?) that can be adjusted in PCS2?
Title: Re: How to Adjust the Chase Cam for Larger Ships
Post by: Droid803 on February 25, 2014, 12:12:28 am
I think it's related to the zoom distance that you set for the techroom (in the ships.tbl)
If not, it's related to the model radius that can be set in PCS2.
Title: Re: How to Adjust the Chase Cam for Larger Ships
Post by: Crybertrance on February 25, 2014, 01:04:58 pm
It depends on the model radius...  :yes:
Title: Re: How to Adjust the Chase Cam for Larger Ships
Post by: Lepanto on February 25, 2014, 04:41:23 pm
Thanks guys, changing the radius worked!  :)
Title: Re: How to Adjust the Chase Cam for Larger Ships
Post by: niffiwan on February 25, 2014, 07:27:29 pm
I have this gut feel that changing the radius could affect other stuff in subtle ways.  e.g. radius used to be used to calculate the distance at which shockwave damage was scaled & applied.  I think it may also be currently used in collision detection, so.... YMMV, maybe it won't affect your mission adversely, maybe it will (not that you seem to have any other option at the moment :()
Title: Re: How to Adjust the Chase Cam for Larger Ships
Post by: Droid803 on February 25, 2014, 07:29:14 pm
Then maybe the chase cam shouldn't be hardcoded to be tied to the radius :P
Title: Re: How to Adjust the Chase Cam for Larger Ships
Post by: niffiwan on February 25, 2014, 07:39:55 pm
Indeed!!! Some coder should fix that!!

:nervous:

/me flees
Title: Re: How to Adjust the Chase Cam for Larger Ships
Post by: General Battuta on February 26, 2014, 12:17:00 am
Radius is also tied to the way AI guard behavior targeting the model works.