Jump to content

Cockpit Hud (Blackshark/A-10C) and hopefully soon fc2


trigen

Recommended Posts

Just wanted to let you guys in on a little secret i've been working on the last few days

 

I'l let you in on the specifics later, for Blackshark and A10 its a simple operation so you can use any custom pit you want, you would have to use the a10 or black shark HUD/mfd however (for now) until someone writes a new cockpit dll

 

As for Flaming cliffs 2, whilst i know what gouverns the Hud and mfd's etc i'm unsure as to what kind of geometry is used for the plane or 2d coordinates that the game uses. the option calculate S, T, SxT is 2d coordinates and i'm guessing SxT is S * T (lomutils) , i'l have to read more on that.

 

I have tried quite a few combinations using .lom however and i'm starting to fear that without .cmd tools Fc2 is out of reach, well thats until i find out how to use the KA-50 pit thats already there for the rest of the planes. IF anyone can get the ka-50 working pit like custom human in fc2 do let me know so it saves me some time.

 

Here's the black shark pic in any case. (just to illustrate)

screenshot006jl.jpg

 

Uploaded with ImageShack.us

 

More will follow

  • Like 1

1080 ti, i7700k 5ghz, 16gb 3600 cl14 ddr4 oc

Link to comment
Share on other sites

Without .CMD tools you can't have the default HUD's from FC2 aircraft in a new .LOM cockpit, you'll have to build a whole new dll and scripts from scratch like the BS and A-10C. The methods for drawing the HUD/MFD's on the placeholder objects in a .CMD model just won't work, believe me I've been trying for over a year now... The way the HUD/MFD's work in .CMD files is actually extremely simple. You just draw 2 flat planes where you want them to be, give one the name ILS-PLASHKA for the HUD, and the MFD plane you name MFD-PLASHKA, and the game draws the displays there. (I'd give anything for a set of .CMD export plugins...)

 

This is a big step in the right direction though, and I'll be glad to help you out anyway I can (put 3 new cockpits into FC2 already so I've got some experience ;)). Go ahead and add me on MSN if you want and we'll chat. B17tony@aol.com


Edited by Blaze

i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10

 

"There will always be people with a false sense of entitlement.

You can want it, you can ask for it, but you don't automatically deserve it. "

Link to comment
Share on other sites

This would be perfect for cockpit builders... have the structure and HUD only!

 

is it possible like in the pic above to have the base 3d structure(A-10), but not the actually 3d cockpit? Still need the HUD and MFD info though.


Edited by Flim
Link to comment
Share on other sites

Ok lets get down to business here.

 

 

For FC2 what i'm trying to do right now is to hex edit out the 3d data so that only the hud mfd etc remains, we'll see how that goes. Second option, edit scripts and plane data so the ka 50 cockpit/ heli hud etc is used for the default planes in fc2 and go from there, most commands etc can be found using a hex editor or looking trough the script files.

 

 

@ Gadroc,

Thats not a problem at all, you can have any kind of 3d data you want on screen, thats simply the .lom and you can create a model of any look and export it using the ED tools given. (cant use the original pit however as it cant be converted back to editor format) i've had pits in Blackshark and A-10

 

The mfd's and huds can be moved around using 3 point helpers in 3ds max with a given name.

 

Structure:

 

MFD-Center

 

MFD-DOWN MFD-RIGHT

 

It took me a while to find those pointers hexing the pit files but in the end they where there staring me in the face.

 

They can be found in this file at the bottom.

 

A-10

\DCS A-10C Beta\Scripts\Aircrafts\A-10C\Cockpit\Device_init.lua

Example

PNT-MFCD-L-CENTER","PNT-MFCD-L-DOWN","PNT-MFCD-L-RIGHT"

 

Pit Arguments and other things of interests :

Same as above : mainpanel_init.lua

 

 

Blackshark

D:\Games\Ka-50\Scripts\Aircrafts\Ka-50\Cockpit\Device_init.lua

 

Pit Arguments and other things of interests :

Same as above : mainpanel_init.lua

 

 

This should get you going.

 

And please dont use this information for profitable gains. (without permission from ED at the very least)

 

 

Now i'm also looking into the HUD programming itself and how to do this in C++ or C#

 

So lets have some fun with this.

 

Good luck

Trigen

1080 ti, i7700k 5ghz, 16gb 3600 cl14 ddr4 oc

Link to comment
Share on other sites

LOL, this is separate form our software ( Helios )

 

My Intent would to be have a HUD only view, but add some of the cockpit structure back into the view for some visual reference. Right now, it is a little tough in HUD only veiw because we cannot see any of the aircraft( wings, tail, canopy frame etc...

Link to comment
Share on other sites

Ill see if i cant throw togheter a reference pit in the morning so we can have a look and hopefully put a smile on more than one pit builder out there.

 

It wont be to pretty of course but it will give a general idea

1080 ti, i7700k 5ghz, 16gb 3600 cl14 ddr4 oc

Link to comment
Share on other sites

  • 2 months later...

We are still trying, but it's not as easy as you think.

i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10

 

"There will always be people with a false sense of entitlement.

You can want it, you can ask for it, but you don't automatically deserve it. "

Link to comment
Share on other sites

That gives you a HUD-only view but you can't see the rest of the aircraft. They want a HUD no-cockpit view but still have the aircraft visible when they look around.

i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10

 

"There will always be people with a false sense of entitlement.

You can want it, you can ask for it, but you don't automatically deserve it. "

Link to comment
Share on other sites

That gives you a HUD-only view but you can't see the rest of the aircraft. They want a HUD no-cockpit view but still have the aircraft visible when they look around.

 

 

Exactly! would be a huge mod and many folks are going to use it!

 

Come on Blaze, I could have built a full cockpit by now... Real! LOL:lol:

Link to comment
Share on other sites

All it takes is for one person to stumble on the right thing and away you go. Nice to see an intense group looking at the same issue at the same time. hopefully this will bare fruit. Good luck guy's, if it is findable you fellows can find it, I am sure. Just a matter of time. cheers.

 

rattler

Link to comment
Share on other sites

A hud only pit with the aircraft outline is a 5 minute job. Its however preferred to have some of the pit outline as well at least on the sides and thats about an hour.

 

But ye i've been slacking on this one as i've been a little fed up on the modding these days. its generally just setting up the pointers in an empty space (for the hud, rest is better to do in lua, its a simple matter.)

 

This does not include flaming cliffs 2, only Black shark and A10.

 

I'll sort it tomorrow as i just came home from 7 day boat trip, 36h on 6 hours sleep all week. tired!

1080 ti, i7700k 5ghz, 16gb 3600 cl14 ddr4 oc

Link to comment
Share on other sites

Doing some testing to get the HUD as close to perfect as possible right now, should have a test up in an hour or two, takes a little time as a10 loads somewhat slow.

1080 ti, i7700k 5ghz, 16gb 3600 cl14 ddr4 oc

Link to comment
Share on other sites

Ok

 

pitview.jpg

 

Uploaded with ImageShack.us

 

Here's a WIP test for you guys, the HUD is a little below where it should be but its not a big deal since there's no geometry there anyways. Also the waypoints may be slightly off but not by much, i'l continue to work on that.

 

All in all it should be perfectly flyable and its a WIP so i'll fine tune it.

 

Please let me know what parts of the pit you would like there, currently there's no pit in and you can see trough the floor, i can put any part you want in there but its a bit of texture work so it will take a day or two, without texture, 1 minute.

 

Tested with guns and rockets, yet to test maveric's etc, gotta run out now so i'l do that when i get back home

 

Install :

Throw it into Eagle Dynamics\DCS A-10C\Bazar\A-10C\Model\Shape\

And dont forget to backup the original

 

Enjoy

 

Ps

I added the MFd's to the pit but you can turn them off in the lua files, i'll get back on that

A10C-CPT.rar

1080 ti, i7700k 5ghz, 16gb 3600 cl14 ddr4 oc

Link to comment
Share on other sites

Mfd's is just removing render.purpose.GENERAL in the MFCD_init.lua

 

I left it in the pit for the option of turning it on and off.

 

As for the ayes pit, for the moment its not possible to get rid of the cannon etc as its a part of the a10 model and not the pit, so removing that would remove it from the plane. (i dont have a sollution but perhaps someone else.)

 

I'll sort a quick test for Flims request


Edited by trigen

1080 ti, i7700k 5ghz, 16gb 3600 cl14 ddr4 oc

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...