Jump to content

Recommended Posts

Posted

Hey Guys

 

I was hoping someone could contact me or post here. I have been all over this forum and I cant seem to find other then bits an pieces of HOW to add a F-15 or SU25T cockpit to an AI aircraft to make flyable. For the most part the guide that's downloadable in the mods section is outdated and cant be used to create this, due to the time it was written and all of the updates that are out now. I kept my install at 1.5.4 just an FYI

 

Anyway I have an aircraft that Id like to see if I can get it flyable for my private use. I'm just trying to see if I can do it for fun. I have the model completed for AI as of now but would just like to make it flyable like operational gears, lights, canopy that type of thing. Did anyone make a tutorial out there floating around. I would appreciate it very much if I could get some feedback or answer form some of the more experienced people here.

Posted

I'm not sure a guide was ever written specifically for that, although I recommend adding a _1 in the thread just below this which says "does anyone want a guide".

 

However... Go download one of Markindel's flyable mods and look at the structure. Copy it, changing the parts inside the files to point to what you want. You will get 75% of your question from that. When you get stuck on the last hurdles then get a more specific question. You are looking at the modname.lua first, look at what shapes and textures it points to. So for example, replace the shapes with an existing shape from the DCSW install. When it gets to weapons, it gets way more complicated. Again, look at something already done, copy it and see if it works. Check the logs when it doesnt. Log gives you a little clue, act on the clue and try again. Unfortuantely one guide wont answer all your questions because every mod is unique, unless you just rip and replace the EDM and textures. and if you do that is knocks on to having to change the location of the cockpit etc. HTH, im not even understanding it myself, just ripping it apart and doing Blackbox troubleshooting.

___________________________________________________________________________

SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *

Posted

there are a few scripts here or posts which still are up to date and can be used

 

And for the cockpit, it's just a guess, but i'd say it has something to do with the "old = (a number)"

  • 2 weeks later...
Posted

Cockpit swap tutorial

 

Cockpit swap tutorial.

 

To change the F-35 from the F-15C to Su-33 cockpit

 

First open the F-35 lua file.

 

Study the paths indicated in the top lines before (declare load out).

 

You can see that the sim should mount, or open, these locations to begin creating or "building" the aircraft.

 

This concept is important to remember.

 

This lua is in fact the file that describes the aircraft.

 

 

Now open the entry lua in the F-35 folder then navigate to the FC3 folder.

 

Open the entry lua here as well and scroll to the bottom of both entry files.

 

Start with the F-35 entry.

 

You can see lines 42 to 47 define the F-15 flight model. We will not use this so place two dashes at the beginning of each line. The line should turn green showing it can not be seen by the simulator when read.

 

Now, remembering the earlier concept of path defining creation,

study the F-35 lua. Lets go through the lines and describe their meaning.

 

Remember, this file tells the simulator how to "enter" the aircraft into the sim whereas the F-35.lua tells the simulator how to "build" the aircraft.

 

mount_vfs_texture_path (current_mod_path.."/Skins/1/ME")

 

 

This line is used for the GUI to load main, background and briefing screens.

 

You may see a line like below for this function.

 

( mount_vfs_texture_path (current_mod_path.."/Theme/ME")

 

The next line,

 

mount_vfs_texture_path (current_mod_path.."/Cockpit/Resources/Model/Textures/F-35-CPT-TEXTURES")

 

indicates the path to the texture file for the cockpit. These files are copied from the FC3 cockpit folders and to the F-35 folders and renamed to the aircraft. So if you want the SU-33 cockpit, you copy the Su-33 cockpit texture file from the FC3 folder and rename it F-35-CPT-TEXTURES.

 

Do the same for the next line only use the model files.

 

mount_vfs_model_path (current_mod_path.."/Cockpit/Resources/Model/Shape")

 

The next section concerns the F-15 FM.

As we will not use this, place two dashed lines at the beginning of each of these lines so they turn green.

Should look like this,

 

-- local cfg_path = current_mod_path .. "/FM/F15/config.lua"

-- dofile(cfg_path)

-- F15FM[1] = self_ID

-- F15FM[2] = 'F15'

-- F15FM.config_path = cfg_path

-- F15FM.old = 6

 

The next four lines tell the sim to run these files and set up the view system.

 

dofile(current_mod_path.."/Views.lua")

dofile(current_mod_path.."/F-35.lua")

dofile(current_mod_path.."/smoke.lua")

make_view_settings('F-35', ViewSettings, SnapViews)

 

These can be left alone for now.

 

The final line,

 

make_flyable('F-35', 'Mods/aircrafts/Flaming Cliffs/Cockpit/KneeboardRight/', {'F-35', nil, old = 6}, current_mod_path..'/comm.lua')

 

Tells the sim to make the aircraft flyable and which cockpit to use.

 

Notice this section,

 

{'F-35', nil, old = 6}

 

This indicates which cockpit the F-35 will use.

The number old = 6 is key.

 

the definitions are,

 

{nil, old = 3} means su-27

 

{nil, old = 2} means mig-29

 

{nil, old = 4} means su-33

 

{nil, old = 6} means f-15c

 

{nil, old =17} means A-10A

 

{nil, old = 16} means su-25

 

The number here should match the cockpit you have chosen.

 

So for the SU-33, you would enter ( old = 4 ), matching the texture and shape files you picked earlier.

 

If you study the FC3 entry file, you will see this indicated.

 

That is it!

 

A similar method can be used for all aircraft that use FC3 cockpits.

The entry files mat be slightly different but the concept is the same.

 

Check to be sure there are no missing commas and the file is formatted correctly. One small error will prevent the aircraft from showing up.

 

I hope this helps.

 

Any questions, please ask.

 

Thanks and Happy modding!

 

Hawkeye

  • Like 1

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Posted

Hawk

Thanks for sharing this info. I will have some questions Im sure. Maybe you should make this its own thread. I bookmarked it already though...

 

Any advanced info you can add would be helpful if there's is any.

Posted (edited)

Hawkeye

Any chance you can take the VSN F16 and give them F-15 Cockpits. There are 4 models in the mod. The first f-16A has A-10 cockpit and the last model has the Su-27 cockpit the 2 in the middle have the F-15 cockpit already.

I would be grateful.

I did read your how to but I couldn't get it the cockpit to show up correctly when I did it. I was missing something and could figure it out.

 

Thanks man

Edited by uscstaylor
Posted

Yeah I tried that windows command file before but when I clicked on it and the command file added the functions I tried to start my computer before and it wouldn't load the game. I don't want to go through that again. I have windows 10 and I think there is something that that file does to the system structure, either way I was just hoping that hawk or somebody could change it for me. I am still trying to learn how to do it my self but I'm finding out quick that each mod had different file structure and loading conditions. So no 2 mods are identical. The next plane I'm going to try to switch cockpit in is the harrier. I like the F-15 cockpit for U.S. based pilots is very easy to use.

  • 4 weeks later...
Posted

Raggio that is not currently possible. Nevada and the Caucasus use entirely different terrain engines. ED is in the proces of upgrading the Caucasus terrain to the new engine allowing you to play both (and all future) maps in a single client.

Check my F-15C guide

  • 4 years later...
  • Recently Browsing   0 members

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