• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Combat Systems Officer Console

Messages
5
Country
us-colorado
Good morning everyone!

I have been searching for Tacpack-enabled medium to heavy bombers for a while, and have been unsuccessful so far. Not wanting to stop at just requesting that someone else convert a bomber to be used with Tacpack, I decided to work on my own conversion.

With that in mind, I decided to create a generic (but B-1B and B-52 inspired) Combat Systems Officer control panel with the capability to select Tacpack weapons, find targets, and deploy countermeasures.

The panel, to give you an idea:
0_CSOC.jpg


I'm about 3900 lines of code in so far, and have what I believe to be a working test version. However, this is my first attempt at gauge programming, and I haven't been able to get the gauge to show up in FSX. I have been testing it with both freeware and payware versions of B-1B's, but all I have managed is to get a large black window to show up. Is anyone familiar with this error?

Here is the beginning of my .xml file and panel.cfg entry I have been using:

<SimBase.Document
Type="AceXML"
version="1,0"
id="ELECTRICAL_PANEL">
<Descr>AceXML Document</Descr>
<Filename>CSOC.xml</Filename>
<Gauge Name="CSOC" Author="Steven Almer">
<FloatPosition>0.000,0.000</FloatPosition>
<Size>1280,768</Size>
<Image id="0_CSOC.bmp" Name="0_CSOC.bmp">
<Transparent>False</Transparent>
</Image>

[Window04]
Background_color=2,2,2
size_mm=1028,768
position=0
visible=1
ident=ELECTRICAL_PANEL

gauge00=CSOC!CSOC, 0,0

Thanks in advance,

Steve
 
Hello Steve

I am sorry; don't know nothing about FSX. I am here to admire your clean and neat graphic design, congratulations!

Regarding your problem, I am sure that help is comming. If I may, many times is useful to attach a copy of your gauge code (if this not represent
a problem for you, of course). In this way, would be easier for experts to read it and find the bug.

Be patient, I guarantee you will overcome this issue.

Best regards,
Sergio.
:)
 
Sergio,

Thank you very much for your kind words! And good idea, I'll post my code at the end of this message.
And thank you for the advice Naruto-kun. I'll take the wiki into account.

For anyone curious, here is my xml code, converted to a pdf to fit here. I have some experience with C++, but this is my first attempt at xml programming, so I'm sure there are some rookie mistakes.

Thank you!

Steven
 

Attachments

Hello SDAlmer

First of all, your welcome! At first glance, I see a potential error which could be trigger some issues; not sure if this is true for XML gauges in FSX/P3D.

In FS9 schema, when you add a commentary in your gauge, make sure to start it as <!-- and when you finish, be sure to end it using -->
Using this style, you are able to write your thoughts in "multiline" enviromet.

Example 1: For a single row
<!-- Anything you need to write here -->

Example 2: taking advantage of multilines
<!-- Anything you need to comment here
commentary 1 .................................................... etc.
commentary 2 .................................................... etc.
.
.
.
-->

Now... within a code segment:
HTML:
<!-- Example 1: For a single row -->

<!-- Anything you need to comment here -->

<!--Example 2: taking advantage of multilines-->
<!-- Anything you need to comment here
       commentary 1 .................................................... etc.
       commentary 2 .................................................... etc.
       .
       .
       .
       End.
-->

Cheers,
Sergio.
 
Errata
I saw this:

HTML:
<Comment>
****************************************************************
CHK Preflight
****************************************************************
</Comment>

I assume this is how it's done in FSX/P3D. Sorry for the intrusion.
 
The specific part of the wiki link I posted is the one that will help you catch errors in the first place.
 
Steve,

Very cool -- So using this panel you will be able to designate GPS coordinates for standoff weaps like the Harpoon?
 
Thank you all for your input! I'm examining and testing each individual block of code in FSX at the moment, and I'll share the progress.

Very cool -- So using this panel you will be able to designate GPS coordinates for standoff weaps like the Harpoon?

Thank you! And that's the idea! The first aircraft I'm programming this for is the B-1B, (which hasn't ever carried Harpoons as far as I know), but I'll make a P-3C or P-8A specific panel as soon as I have a working gauge.
 
I think there is a naval version of the Harpoon and there is SLAM-ER version or something like that (Standoff Land Attack Missile?). USAF bombers might carry that SLAM, not sure. I think the upgraded B-52 variants did/do.

Or maybe this is all outdated info -- looks like it is. Now I see something about an AGM-158 Joint Air-Surface Standoff Missile. Looks like a drone. Anyway it isn't modelled in TacPack so probably a little beside the point.

So what is modelled? I do see the AGM-154C, also a standoff weapon. That would fit nicely on your B-1B and B-52 when you get to that point.
 
Last edited:
The weapons I have programmed in so far are the Mk82, Mk84, GBU-31, CBU-87, and AGM-154. I'm still working on integrating some of the delivery options that the AGM-154 has, like approach angle and heading, and I'm sure the AGM-84 is pretty similar in its programming.
 
CBUs aren't supported by TACPACK yet. Impact angle isn't supported yet either. Approach heading can be done using waypoint lists for the Harpoon in TACPACK but I don't think for the SLAM-ER has it according to the documentation. Neither do any of the other GPS guided weapons. Best contact VRS in the SDK forum to ask for such options.

https://forums.vrsimulations.com/forums/phpBB3/viewforum.php?f=88
 
Hello Everybody.

@SDAlmer, is your project advancing ? Do you need beta tester with other plane ? I like to use Dino F-14D.

Best regards.
Gilles
 
SDAlmer

I have also have been looking for a Tacpack capable gauge to Use with bombing aircraft when I stumbled upon this thread. Your gauge looks great. I believe such a tool would be very much appreciated by the military sim community. How are you progressing?
 
Hello everyone,

I figured I should probably explain my situation, so as not to leave everyone hanging. Around this time last year my laptop crashed and I lost all the files related to this project, retaining only what I had posted to this page (which really only amounted to the gauge background, as the code I posted was pretty early and not yet working). I was frustrated with losing all my work and didn't come back to the project for a long time, but I've since restarted it.

Currently, I'm working on remaking all the images that are used for the screens, the buttons, and the indications. I've also started work on the xml code again, figuring out where the posted code left off and what will be needed to move forward.

At the moment most of my time is being spent on college, so progress won't be as fast as I would prefer, but I do want to keep this moving.
Thank you all for your patience and interest!

Steve
 
Back
Top