Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: gevatter Lars on March 04, 2005, 06:30:03 pm

Title: Techroom with zoom?
Post by: gevatter Lars on March 04, 2005, 06:30:03 pm
Just got the idea cause I am trying to find out how to addjust the distance of the ships in the techroom....has anyone ever thought about a zoom function for the techroom?

Btw what do I have to edit to get ships closer/away from the cam in the techroom?
Wasn't it the $Detail distance:      stuff in the ships tbl?
Title: Techroom with zoom?
Post by: phreak on March 04, 2005, 08:20:27 pm
$Closeup_pos:           0.0, 0.0, -22
Title: Techroom with zoom?
Post by: StratComm on March 04, 2005, 08:36:18 pm
WMCoolmon's got a secret feature that is about ready to let you set this on the fly (or at least look at it).  But ultimately Phreak's right, it's Closeup_pos that sets the distance at which the object is rendered in the techroom viewport.
Title: Techroom with zoom?
Post by: WMCoolmon on March 05, 2005, 12:34:37 am
It's not so secret anymore, actually, I revealed the secret in one of my builds. ;) Press F3 in the main hall, or ~ and backspace ingame in a debug build to activate it.

$Detail distance sets the distance that different LODs are rendered.
Title: Techroom with zoom?
Post by: StratComm on March 05, 2005, 01:03:58 pm
I know it's been revealed, it's just so much more fun to refer to it as a secret. ;)  This particular use of the lab raises problems though, since I can't get it to enter a negative sign.
Title: Techroom with zoom?
Post by: WMCoolmon on March 05, 2005, 02:39:41 pm
Yeah, sorry, I set up a filter for numeric fields but forgot to add the '-' :p I just commited the fix to CVS.