Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Heretic's Flex Cam Tutorial (Read 1048 times)
Jan 15th, 2007 at 9:27am

Clipper   Offline
Global Moderator
Clearly Canadian

Posts: 8861
*****
 
Made with the Camera SDK, my "Flex Cam" is a modded default spot cam.
It might be enough till something better comes out, but actually, if I can fix some minor quirks, you won't need anything else to get the most wicked angles in your screenshots.

For three example screenies, see: http://www.simviation.com/cgi-bin/yabb2/YaBB.pl?num=1168632704/0#0

Disclaimer: This is a work-in-progress version and might not be perfect!

Eager to read on? Good!

What it can:
My flex cam does all the usual spot view things (pan, zoom,etc...), I've just added the adjustable eyepoint and made the ability to rotate the camera.


Editing work:

- Open your cameras.cfg in "C:\Documents and Settings\[Your logon name]\Application data\Microsoft\FSX"
- Add these lines to the bottom of the file

Code:
[CameraDefinition.xxx]
Title=Flex Cam
Guid={BCA3FDD1-FB83-4BBA-8407-4922A7F0D00A}
Description=Spot
Origin=Center
SnapPbhAdjust=Swivel
SnapPbhReturn=False
PanPbhAdjust=Swivel
PanPbhReturn=False
Track=None
ShowAxis=No
AllowZoom=Yes
InitialZoom=0.5
SmoothZoomTime=1.0
ShowWeather=Yes
XyzAdjust=TRUE
Transition=No
ShowLensFlare=TRUE
Category=Custom
ClipMode=Minimum
PitchPanRate=40
HeadingPanRate=80
PanAcceleratorTime=0
InitialXyz=-15.0, 1.0, 0.0
ZoomPanScalar = 1.0
HotKeySelect= 



- Replace the "xxx" with the next corresponding number in line ("011", if your cameras.cfg hasn't already been modified).

- That's it so far - close and save.


In-game settings:

In the "Keyboard assignments" dialog, assign keys to the folowing events:

- Eyepoint adjustment (left, right, up, down, front, back, reset)
- Tilt left/right

Example:
I've assigned the panning to the numpad with "Num Lock" engaged. If I disengeage "Num Lock", I can adjust the eyepoint (Numpad keys: 4,6 (left,right); 8,2 (front/back); +,- (up,down); 5 (reset)) and tilt the view (Numpad keys: 1,3 (left,right)).


In-Game:

You can access the Flex Cam via the "views" selection menu (right click anywhere); it's got its own entry.


Optional:

If you don't use the 2D panel at all, or rather seldom, you can use its hotkey (F10 by default) for my Flex Cam.
Here is how it's done:

- In the camera.cfg go to the entry for the 2D panel view (the first one)
- The last line reads "HotKeySelect=2"
- Delete the "2"
- Add the "2" to the corresponding line in the entry for my Flex Cam
- Close and save

Now you can access my camera via the F10 key.


Issues:

Since the camera would start out right in the middle of the external model, I had to adjust its start location to the left. This is independent of the model size, so you're gonna start out right on (or in) the wing of a 747 while the eyepoint will be quite a few feet away from the wingtip of a Cessna.
Anyways, together with the slow eyepoint adjustment speed, this is kind of a PITA, but I hope I can find a solution for at least that one.

Now go and have fun. And always remember: Vertigo is bliss. Grin

Björn
 

...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print