Jump to content
Sign in to follow this  
Monty CZ

[CameraData] in avionics ini

Recommended Posts

Hello all, I found that SE-5a has [CameraData] section

in its avionics ini.

[CameraData]

CameraFOV=10.0

CameraPosition=0.0,-0.23,0.72

CameraAngles=0.0,5.0,0.0

 

I need to use it for aiming in my AC-119K but I cant use it with any succes.

Do anybody have an idea where could be the problem?

Thanx Monty

Share this post


Link to post
Share on other sites

Hey Monty CZ

 

since we aren't allowed to post in the KB i will reply down here :wink:

 

I’m sorta using it in my Voisin (still WIP) :blush:

Its been alittle while since I set it up but I think it goes like this

 

A mesh for the screen

A blank (white) BMP mapped to the screen mesh (I think the camera actually projects on this one…)

A transparent TGA with a reticule overlay

 

Voisin3_AVIONICS.INI

 

[TVDisplayData]

TVDisplayTextureSize=256 //resolution of the tga overlay (doesn’t need to be the same as the tga)

ApplyFilter=FALSE // fuzzy glitch filter (I think)

OverlayTexture=bombsightoverlay.tga //transparent TGA with a reticule, overlay not mapped in MAX

 

[CameraData]

CameraFOV=35.0 //zoom level, you will have to play I can’t remember what + and – do…

CameraPosition=0.430,1.58,0.00 // position of the lens (doesn’t relate to the screen …can be any where)

CameraAngles=0.0,-68.0,-0.0 // angle of lens

And in the cockpit.ini

 

[bombSight]

Type=TV_SCOPE

NodeName=bombsights // screen mesh mapped with a small white (blank) bmp

 

And I’m using a custom view in the VIEWLIST.INI (optional) to get my pilots head over the sight

 

[View031]

ViewName=bombssightView

ViewClassName=NarrowCockpitViewClass

UpdateAlways=FALSE

ViewGotoControl=GOTO_COCKPIT_BOMBSIGHT_VIEW //constant for the keyboard map

CycleNextControl=

CyclePrevControl=

ObjectFrom=SearchAircraft

AngleOffsets=-0.0,-85.0,0.0 // angle of eye position

PositionOffsets=0.434,0.079,0.00 // eye position

 

 

In the keyboard map.ini

GOTO_COCKPIT_GUNSIGHT_VIEW=F3

GOTO_COCKPIT_BOMBSIGHT_VIEW=SHIFT+F3

GOTO_COCKPIT_UP_VIEW=SHIFT+F1

 

hope that helps :yes:

Share this post


Link to post
Share on other sites

What about something like form the stock "DTV" entries?

 

[TVDisplayData]

UseRadarTexture=FALSE

ApplyFilter=TRUE

FilterMaterial=DTVFilterMaterial

 

[DTVFilterMaterial]

DepthBufferCheck=FALSE

DepthBufferWrite=FALSE

RenderedInOrder=FALSE

AlphaTestEnabled=FALSE

CullMode=NO_CULL

LightEnabled=FALSE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

FogEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=0.000000

PriorityLevel=1

BlendOp=MODULATE

NumTextureStages=1

TextureStage[01].TextureName=GreenTVFilter.bmp

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=FALSE

TextureStage[01].StageColorOp=TEXTURE

TextureStage[01].StageAlphaOp=DIFFUSE

 

You'd probably still want to add a radar of some kind; I'm pretty sure all the C-series transports had some kind of "weather radar" or ground mapping capabilites

 

Wrench

kevin stein

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..