Jump to content

FC 2.0 Human Cockpit


Butcher59

Recommended Posts

I have personally been mostly interested in flying the KC-10 and E-3 (and for the other side, Il-78 and A-50) ... so far I have tried the KC-10.

 

This seems like a very, very neat development for organized events where your HVAA can act intelligently and actually help you out, and keep themselves out of trouble.

[sIGPIC][/sIGPIC]

Reminder: SAM = Speed Bump :D

I used to play flight sims like you, but then I took a slammer to the knee - Yoda

Link to comment
Share on other sites

Ok, doing a little testing I got it to run for Su-30, F-16A, FA-18C, Mirage, F-14 and the Tornado GR.4 eventually. As for Mirage, Tomcat and Tornado it didn't work with the filenames given in \Scripts\Databasedb_units_planes.lua for me. Instead I had to use these:

 

['mirage 2000c'] = _('Mirage'),

['f-14a'] = _('F-14'),

['Tornado GR.4'] = _('F-2'),

 

Mirage and Tornado don't show any artefacts when using F-15's CockpitLocalPoint. Tomcat does have clipping, because it's not far enough in the front. Haven't found an ideal coordinate for it yet. Should be somewhere around {8, 1.2, 0.0}.

 

You've made my day matey. Im flying Tornado now!

Gotta figure out bomb droping ;)


Edited by czarnyolek
Link to comment
Share on other sites

Is it possible to make step by step guide to "tornado flyable" for morons. thats for me ;)

This is how I did it:

 

 

1. X:\LockOn Flaming Cliffs 2\Scripts\Database\planes\Tornado_GR3.lua

Change HumanCockpit variable to yes

 

2. X:\LockOn Flaming Cliffs 2\Config\Input\Aircrafts\aircraftNames.lua

Add the following line before the last closing bracket:

['Tornado GR.4'] = _('F_2'),

 

3. X:\LockOn Flaming Cliffs 2\Scripts\Aircrafts\_Common\CustomHuman.lua

Add the following line after the one for the A-10.

CustomHumanData[PlaneType.F_2 ] = CWSType.iCWS_F_15

As Butcher explained you can also use any other available cockpit.

 

4. X:\LockOn Flaming Cliffs 2\Config\Input\Aircrafts\f-15c

copy this directory to

X:\LockOn Flaming Cliffs 2\Config\Input\Aircrafts\Tornado GR.4

 

5. x:\LockOn Flaming Cliffs 2\Config\View\server.lua

Here 7 new lines will suffice. I assume this is the first plane you turn into human controlled.

First you need to give the Tornado an index value. This is done in the first section called "PlaneIndex". So you need to to add the line iF_2 = 10, (don't forget the commas) right behind the KA-50's index.

Next section is called "PlaneIndexByType". Here you need to add the line [F_2] = PlaneIndex.iF_2, behind the KA-50.

And then you need to add the camera-instructions for the Tornado in the 5 block-like sections in this file. I simply copied the F-15 line of each block and added it at the end of the repsective block. Change F_15 to F_2 for the newly added lines obviously.

Example first block:

CockpitLocalPoint = {}
CockpitLocalPoint[PlaneIndex.iSu_27] = {8.15, 1.38, 0.0}
CockpitLocalPoint[PlaneIndex.iSu_33] = {8.35, 1.35, 0.0}
CockpitLocalPoint[PlaneIndex.iSu_25] = {3.5 , 0.4 , 0.0}
CockpitLocalPoint[PlaneIndex.iSu_39] = {3.406, 0.466, 0.0}
CockpitLocalPoint[PlaneIndex.iMiG_29] = {4.92, 1.35, 0.0}
CockpitLocalPoint[PlaneIndex.iMiG_29K] = {4.9, 1.254, 0.0}
CockpitLocalPoint[PlaneIndex.iA_10] = {3.991, 1.55, 0.0}
CockpitLocalPoint[PlaneIndex.[b]iF_15] = {6.5, 1.238, 0.0}[/b]
CockpitLocalPoint[PlaneIndex.iKA_50] = {3.188, 0.39, 0.0}
CockpitLocalPoint[PlaneIndex.[b]iF_2] = {6.5, 1.238, 0.0}[/b]

I think you get the idea.

 

6. X:\LockOn Flaming Cliffs 2\Config\View\SnapViews.lua

In step 5 you created an index value for the Tornado. In my example it was index number 10. For this index you need to add a new snap view. I copied the the entire "Snap[1]..."block and changed the 1 into a zero. It sucks to do it manually so just copy the code below and add it at the end of the file:

Snap[10][1] = {}
Snap[10][1]["y_trans"] = 0
Snap[10][1]["x_trans"] = 0
Snap[10][1]["hAngle"] = 0
Snap[10][1]["viewAngle"] = 71.824691772461
Snap[10][1]["vAngle"] = -32.458889007568
Snap[10][1]["rollAngle"] = 0
Snap[10][1]["z_trans"] = 0
Snap[10][2] = {}
Snap[10][2]["y_trans"] = 0
Snap[10][2]["x_trans"] = 0
Snap[10][2]["hAngle"] = 41.045925140381
Snap[10][2]["viewAngle"] = 33.361835479736
Snap[10][2]["vAngle"] = -40.805656433105
Snap[10][2]["rollAngle"] = 0
Snap[10][2]["z_trans"] = 0
Snap[10][3] = {}
Snap[10][3]["y_trans"] = 0
Snap[10][3]["x_trans"] = 0
Snap[10][3]["hAngle"] = 0
Snap[10][3]["viewAngle"] = 30.427543640137
Snap[10][3]["vAngle"] = -41.808967590332
Snap[10][3]["rollAngle"] = 0
Snap[10][3]["z_trans"] = 0
Snap[10][4] = {}
Snap[10][4]["y_trans"] = 0
Snap[10][4]["x_trans"] = 0
Snap[10][4]["hAngle"] = -32.597400665283
Snap[10][4]["viewAngle"] = 34.392349243164
Snap[10][4]["vAngle"] = -35.293746948242
Snap[10][4]["rollAngle"] = 0
Snap[10][4]["z_trans"] = 0
Snap[10][5] = {}
Snap[10][5]["y_trans"] = 0
Snap[10][5]["x_trans"] = 0
Snap[10][5]["hAngle"] = 129.01266479492
Snap[10][5]["viewAngle"] = 87.468338012695
Snap[10][5]["vAngle"] = 14.54797744751
Snap[10][5]["rollAngle"] = 0
Snap[10][5]["z_trans"] = 0
Snap[10][6] = {}
Snap[10][6]["y_trans"] = 0
Snap[10][6]["x_trans"] = 0
Snap[10][6]["hAngle"] = 0
Snap[10][6]["viewAngle"] = 43.977935791016
Snap[10][6]["vAngle"] = -4.9515771865845
Snap[10][6]["rollAngle"] = 0
Snap[10][6]["z_trans"] = 0
Snap[10][7] = {}
Snap[10][7]["y_trans"] = 0
Snap[10][7]["x_trans"] = 0
Snap[10][7]["hAngle"] = -129.01266479492
Snap[10][7]["viewAngle"] = 87.468338012695
Snap[10][7]["vAngle"] = 14.491871833801
Snap[10][7]["rollAngle"] = 0
Snap[10][7]["z_trans"] = 0
Snap[10][8] = {}
Snap[10][8]["y_trans"] = 0
Snap[10][8]["x_trans"] = 0
Snap[10][8]["hAngle"] = 82.862922668457
Snap[10][8]["viewAngle"] = 87.468338012695
Snap[10][8]["vAngle"] = -9.5
Snap[10][8]["rollAngle"] = 0
Snap[10][8]["z_trans"] = 0
Snap[10][9] = {}
Snap[10][9]["y_trans"] = 0
Snap[10][9]["x_trans"] = 0
Snap[10][9]["hAngle"] = 0
Snap[10][9]["viewAngle"] = 87.468338012695
Snap[10][9]["vAngle"] = 38.979362487793
Snap[10][9]["rollAngle"] = 0
Snap[10][9]["z_trans"] = 0
Snap[10][10] = {}
Snap[10][10]["y_trans"] = 0
Snap[10][10]["x_trans"] = 0
Snap[10][10]["hAngle"] = -82.461265563965
Snap[10][10]["viewAngle"] = 87.468338012695
Snap[10][10]["vAngle"] = -12.843997955322
Snap[10][10]["rollAngle"] = 0
Snap[10][10]["z_trans"] = 0
Snap[10][11] = {}
Snap[10][11]["y_trans"] = 0
Snap[10][11]["x_trans"] = 0
Snap[10][11]["hAngle"] = 15.618312835693
Snap[10][11]["viewAngle"] = 68.786628723145
Snap[10][11]["vAngle"] = 7.5224981307983
Snap[10][11]["rollAngle"] = 0
Snap[10][11]["z_trans"] = 0
Snap[10][12] = {}
Snap[10][12]["y_trans"] = 0
Snap[10][12]["x_trans"] = 0
Snap[10][12]["hAngle"] = -15.683433532715
Snap[10][12]["viewAngle"] = 69.165199279785
Snap[10][12]["vAngle"] = 8.5491504669189
Snap[10][12]["rollAngle"] = 0
Snap[10][12]["z_trans"] = 0
Snap[10][13] = {}
Snap[10][13]["y_trans"] = 0
Snap[10][13]["x_trans"] = 0
Snap[10][13]["hAngle"] = 0
Snap[10][13]["viewAngle"] = 87.468338012695
Snap[10][13]["vAngle"] = -9.5
Snap[10][13]["rollAngle"] = 0
Snap[10][13]["z_trans"] = 0

If you want to add more planes later keep in mind, that you shall not use index 11 and 12. Those are for the cockpit mirrors. So every further plane should have an index of 13 or higher.

 

Hope it helps.:joystick:

Link to comment
Share on other sites

I did'nt do the snapview and it all works fine. However using F_15 icws does not let You use bombs so i used a_10 instead. You gotta remember thou to copy into confi/input/aircrafts/Tornado GR.4 folder files from a-10, not any other plane.

Its funtastic. My wife hates this game already ;)

Link to comment
Share on other sites

Hahaha, don't make yourself unhappy man. ;)

 

I didn't test any weapon usage yet, but I was already expecting it being impossible to use bombs with F-15 cockpit.

 

Tomorrow I'll try to find out if there is any way to access wing sweep for the planes that have it. Obviously that's impossible with the stock input-commands we proposed in this thread. But as the AI can do it there might be some way to have it in this custom modded FC2 too.

Link to comment
Share on other sites

Nice pics.

 

About the sweeping wings I found out, that you can use the "folding wings" command for it. It is not present in every input scheme. For testing I copied it from the Su-33 into the Tomcat's keyboard lua. Indeed it does sweep the wings. But it only works on the ground, because it's the command that lets the Su-33 fold it's wings on the deck of a carrier.

Link to comment
Share on other sites

Nice pics.

 

About the sweeping wings I found out, that you can use the "folding wings" command for it. It is not present in every input scheme. For testing I copied it from the Su-33 into the Tomcat's keyboard lua. Indeed it does sweep the wings. But it only works on the ground, because it's the command that lets the Su-33 fold it's wings on the deck of a carrier.

 

Very nice =) hm but I think its not the right input. Or can you fly the tornado with wings are moved back? or flys it like the su33 with folded wings? If its flying we must find a way to say him that he can fold wings in the air too =) that would be very nice =)

 

But I think its a nother argument for wing moving that useing the KI only at the moment. So maybe we have to add this argument for player. Remember the F14 Mod there you can sweep the wings... its using the right argument...

 

 

EDIT: How do you add the key? For me its not working :( can you explain it?


Edited by little-Dog

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Or can you fly the tornado with wings are moved back?

Tried it with Tomcat but it wouldn't lift. At the end of the runway I was going 320 knots or something and Betty yelling at me to "gear up" but I couldn't get airborne. I left a nice crater behind me lol.

 

One would have to find out where exactly the limitations are implemented. I assume there might be some setting, that removes large amounts of lift when wings are folded. This is probably the wrong place to look for a solution.

 

Looking at the AI flying those planes with sweeping wings they seem to automatically use the sweep depending on airspeed. If we'd know what triggers it maybe we could apply it somehow. But so far I have no clue where to even look for it.

Link to comment
Share on other sites

Check out .lua script in mig-21 mod. It goes to export folder. It uses various arguments, like if speed over 2000 then cut off engine - something like that. But i dont think wing sweep argument is accessible for users, it is probably hard coded.

Link to comment
Share on other sites

Check out .lua script in mig-21 mod. It goes to export folder. It uses various arguments, like if speed over 2000 then cut off engine - something like that. But i dont think wing sweep argument is accessible for users, it is probably hard coded.

 

Hm Im not shure... in the 3ds may kit from ED you will find the argument for wing sweeping... they still use it in the f14 mod. So it must be possible.

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

hmm ok. A friend will take a look to 3dsmax is there is a wing sweep argument in the tornado activ. So maybe it will help us.

 

 

What do you think about an more aircrafts flyable MOD?

 

I´m working on the files at the moment. I have enable the Harrier and I found there is a F111 in FC2 too so I will activate it too =)

 

The only thing is there is a lot of work in find out the cockpit position for each new aircraft and test if its working all fine. And edit , delete or add some keys. For example remove the eject key for the A-50 and C-17 becouse they dont have it and if you use it your lock on will crash.

 

So is there somebody who will help me with this project? Testing new aircrafts, add and remove some keys we dont need or we need. And find the right cockpit positions for each aircraft. And maybe find somthing to make the wing sweep possible. And at the end make a Mod for Modman or if its not working on mod man make an installer.

 

Please write me an pm if youre interestet in make this project possible.

 

 

here are some pictures from flying the harrier :D

 

http://img268.imageshack.us/i/screenshot003ih.jpg/

http://img40.imageshack.us/i/screenshot002zj.jpg/

http://img40.imageshack.us/i/screenshot001la.jpg/

http://img121.imageshack.us/i/screenshot000ow.jpg/

 

New Flyable Planes List at the moment:

A-50

BAE Harrier (is added now to USA)

C-17

C-130

F-4E Phantom

F-5 Tiger

F-16A (maybe will remove it becouse it crashes on full pull at takeoff // or find a solution to fix it)

F-16C (same as F16A)

F-18A (will remove it, becouse they have no damage model so you cant shoot him down // or find a solution to fix it)

F-18C (same as F-18A)

Mig 23 MLD (cant sweep the wings at the moment)

Mig-27 (cant sweep the wings at the moment)

Mirage 2000 (maybe remove it becouse Aileron not working visuall // or find a solution to fix it)

Su-17M4 (cant sweep the wings at the moment)

Su-30

Su-39 (Su25tm)

Tornado Gr.4 (cant sweep the wings at the moment)

Tornado IDS (cant sweep the wings at the moment)

Yak-40

 

Which aircraft do you want more?

 

Kc-10 and IL-76? Refueling can be possible. Will test it tonight.


Edited by little-Dog

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

hmm ok. A friend will take a look to 3dsmax is there is a wing sweep argument in the tornado activ. So maybe it will help us.

 

 

What do you think about an more aircrafts flyable MOD?

 

I´m working on the files at the moment. I have enable the Harrier and I found there is a F111 in FC2 too so I will activate it too =)

 

The only thing is there is a lot of work in find out the cockpit position for each new aircraft and test if its working all fine. And edit , delete or add some keys. For example remove the eject key for the A-50 and C-17 becouse they dont have it and if you use it your lock on will crash.

 

So is there somebody who will help me with this project? Testing new aircrafts, add and remove some keys we dont need or we need. And find the right cockpit positions for each aircraft. And maybe find somthing to make the wing sweep possible. And at the end make a Mod for Modman or if its not working on mod man make an installer.

 

Please write me an pm if youre interestet in make this project possible.

 

 

here are some pictures from flying the harrier :D

 

http://img268.imageshack.us/i/screenshot003ih.jpg/

http://img40.imageshack.us/i/screenshot002zj.jpg/

http://img40.imageshack.us/i/screenshot001la.jpg/

http://img121.imageshack.us/i/screenshot000ow.jpg/

 

New Flyable Planes List at the moment:

A-50

BAE Harrier (is added now to USA)

C-17

C-130

F-4E Phantom

F-5 Tiger

F-16A (maybe will remove it becouse it crashes on full pull at takeoff // or find a solution to fix it)

F-16C (same as F16A)

F-18A (will remove it, becouse they have no damage model so you cant shoot him down // or find a solution to fix it)

F-18C (same as F-18A)

Mig 23 MLD (cant sweep the wings at the moment)

Mig-27 (cant sweep the wings at the moment)

Mirage 2000 (maybe remove it becouse Aileron not working visuall // or find a solution to fix it)

Su-17M4 (cant sweep the wings at the moment)

Su-30

Su-39 (Su25tm)

Tornado Gr.4 (cant sweep the wings at the moment)

Tornado IDS (cant sweep the wings at the moment)

Yak-40

 

Which aircraft do you want more?

 

Kc-10 and IL-76? Refueling can be possible. Will test it tonight.

 

that would be grate!!!! Cant wait to drop some bombs whit Harrier.


Edited by Teknetinium

Teknetinium 2017.jpg
                        51st PVO Discord SATAC YouTube
 

Link to comment
Share on other sites

I tried the E-2C Hawkeye and F/A-18A yesterday. Obviously the cockpits were well out of position but I also found that none of the controls worked.

 

However it also affected my Su-33 so I guess that was an error in the coding on my part.

Eagles may soar, but weasels don't get sucked into jet engines.

Link to comment
Share on other sites

Make sure you copy and paste the filenames correctly - in particular in the input folder, the aircraft folder name should be copied out of the LUA file and pasted. At least that was my experience.

[sIGPIC][/sIGPIC]

Reminder: SAM = Speed Bump :D

I used to play flight sims like you, but then I took a slammer to the knee - Yoda

Link to comment
Share on other sites

So Im working with a nother guy now on the more aircrafts flyable MOD =)

 

I think the first release will be on the weekend ;)

 

If you have some working cockpit positions for some aircrafts please send it me per pm so i have not so much work to find out the right place for each new aircraft. THX

  • Like 2

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

So little-Dog, looked at your Harrier shots... You can actually use it in a VTOL capability? Was this achieved with flaps? Damn you now I'm going to have to play around with this even more...

Eagles may soar, but weasels don't get sucked into jet engines.

Link to comment
Share on other sites

Ok guys here is the first alpha version. The cockpit positions are not fixed now. But some Planes are Flyable now and the Harrier is aktiv.

 

You must install it Manually so make a backup of your Config and Scriptsd folder and put the files in the .rar file to the same postions to your lock on as in the rar.

 

http://rapidshare.com/files/373147538/LockOn_FC2_more_flyable_Aircrafts_MOD_0.9.rar.html

 

only 9 times downloadable... so if its posible some other guys can reupload it again :D

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

  • Recently Browsing   0 members

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