Mav Posted December 8, 2014 Share Posted December 8, 2014 I have a flyable F/A-18C mod and in the editor the aircraft comes up highlighted and says I have the option to be the pilot for it. However, when the game loads the aircraft is controlled by AI, no option to fly, no cockpit or anything. Any ideas how this could be fixed? Thanks! Link to comment Share on other sites More sharing options...
totoaero Posted December 9, 2014 Share Posted December 9, 2014 (edited) Since last update most of my were unflyable. The problem comes from "entry.lua". There is two things (in red) to changes : do NOT use a self ID to declare a plane. And i have to change the line "Make flyable" Here is what i have done for L-39 : declare_plugin("L-39_SVS", { installed = true, -- if false that will be place holder , or advertising dirName = current_mod_path, version = "1.2.12", state = "installed", info = _("L-39 de la Silverstar par Totoaero."), Skins = { { name = _("L-39_SVS"), dir = "Theme" }, }, Missions = { { name = _("L-39_SVS"), dir = "Missions", }, }, LogBook = { { name = _("L-39_SVS"), type = "L-39_SVS", }, }, InputProfiles = { ["L-39_SVS"] = current_mod_path .. '/Input/L-39_SVS', }, }) ---------------------------------------------------------------------------------------- make_flyable('L-39_SVS', current_mod_path..'/Cockpit/',nil, current_mod_path..'/comm.lua') dofile(current_mod_path..'/L-39SVS.lua') dofile(current_mod_path.."/Views.lua") make_view_settings('L-39_SVS', ViewSettings, SnapViews) ---------------------------------------------------------------------------------------- plugin_done() Edited December 9, 2014 by totoaero [sIGPIC]http://image.noelshack.com/fichiers/2014/40/1412402491-signature-bjt.jpg[/sIGPIC] Link to comment Share on other sites More sharing options...
john_X Posted December 9, 2014 Share Posted December 9, 2014 @totoaero - can you share the entire entry.lua file? Link to comment Share on other sites More sharing options...
Urban072 Posted December 9, 2014 Share Posted December 9, 2014 anyone able to fix that giant modset from the S77th that popped up around here some time ago? :music_whistling: Link to comment Share on other sites More sharing options...
totoaero Posted December 9, 2014 Share Posted December 9, 2014 @john x : all the entry.lua is in my previous message. @urban072 : which planes are concerns ? [sIGPIC]http://image.noelshack.com/fichiers/2014/40/1412402491-signature-bjt.jpg[/sIGPIC] Link to comment Share on other sites More sharing options...
Urban072 Posted December 9, 2014 Share Posted December 9, 2014 (edited) @john x : all the entry.lua is in my previous message. @urban072 : which planes are concerns ? In the S77th Pack, Eurofighter, F14D, FA-18D (Su27 Pit w/ Su25T avionics), JAS 39, Rafale, F4E, FA18C (Su27 Pit w/ Su33 avionics) Will edit this if there are any more broken ones that I discover. EDIT: It's pretty much all of the flyables I have, including MiG 31 and F-15E outside of the S77th pack. Edited December 9, 2014 by Urban072 Link to comment Share on other sites More sharing options...
totoaero Posted December 10, 2014 Share Posted December 10, 2014 If it's the Rafale as i have found : this is the entry. lua (insert all the follwing line in the entry.lua) : declare_plugin("Rafale_M", { installed = true, -- if false that will be place holder , or advertising dirName = current_mod_path, version = "1.2.12", state = "installed", info = _("."), --binaries = { 'FC3', }, InputProfiles = { ["Rafale_M"] = current_mod_path .. '/Input', }, --Skins = -- { -- { -- name = _("Rafale"), -- dir = "Theme" -- }, -- }, Missions = { { name = _("Rafale M"), dir = "Missions", }, }, LogBook = { { name = _("Rafale"), type = "Rafale", }, }, } ) ---------------------------------------------------------------------------------------- make_flyable('Rafale_M', current_mod_path..'/Cockpit/',nil, current_mod_path..'/comm.lua') dofile(current_mod_path..'/Rafale_M.lua') make_view_settings('Rafale_M', ViewSettings, SnapViews) plugin_done()-- finish declaration , clear temporal data [sIGPIC]http://image.noelshack.com/fichiers/2014/40/1412402491-signature-bjt.jpg[/sIGPIC] Link to comment Share on other sites More sharing options...
Stratos Posted December 10, 2014 Share Posted December 10, 2014 Any chance of a flyable Hind using the Ka-50 cockpit please? I don't understand anything in russian except Davai Davai! Link to comment Share on other sites More sharing options...
Urban072 Posted December 10, 2014 Share Posted December 10, 2014 Managed to fix the F14D, FA18D, FA18C, Gripen and F4E. When I try to fly the Eurofighter as well as others the game just crashes out, tried fixing these with no success :( Link to comment Share on other sites More sharing options...
totoaero Posted December 10, 2014 Share Posted December 10, 2014 Does the Rafale work ? [sIGPIC]http://image.noelshack.com/fichiers/2014/40/1412402491-signature-bjt.jpg[/sIGPIC] Link to comment Share on other sites More sharing options...
Urban072 Posted December 10, 2014 Share Posted December 10, 2014 Does the Rafale work ? Yeah :) Thanks to the lua that you posted before, I also went through and fixed a few others :) However, other flyables will just CTD. Link to comment Share on other sites More sharing options...
limoncino Posted December 10, 2014 Share Posted December 10, 2014 Using your instructions I can't use F-14D as player. What can I do?:helpsmilie: Link to comment Share on other sites More sharing options...
Mav Posted December 10, 2014 Author Share Posted December 10, 2014 Thank you, figured that out like an hour after I posted this, should have let everyone know. Thank you again! Link to comment Share on other sites More sharing options...
totoaero Posted December 11, 2014 Share Posted December 11, 2014 @limoncino : can you show us the entry.lua of the F-14D ? [sIGPIC]http://image.noelshack.com/fichiers/2014/40/1412402491-signature-bjt.jpg[/sIGPIC] Link to comment Share on other sites More sharing options...
limoncino Posted December 11, 2014 Share Posted December 11, 2014 @limoncino : can you show us the entry.lua of the F-14D ? local self_ID = "F-14D VSN Tomcat by " declare_plugin(self_ID, { installed = true, -- if false that will be place holder , or advertising dirName = current_mod_path, version = "1.2.8.08su", state = "installed", info = _("Die Grumman F-14 Tomcat ist ein ueberschallschnelles, zweistrahliges, mit Schwenkfluegeln ausgestattetes zweisitziges Kampfflugzeug, das fuer die United States Navy entwickelt und ab 1974 eingesetzt wurde. Ihre primaeren Aufgaben bei der US Navy waren die des Luftueberlegenheitsjaegers, Aufklaerers und der Flottenverteidigung. Spaeter wurden noch rudimentaere Luft-Boden-Faehigkeiten eingeruestet. Die letzte Tomcat wurde von der US Navy am 22. September 2006 ausser Dienst gestellt. Heute fliegt nur noch die iranische Luftwaffe das Flugzeug."), binaries = { 'FC3', }, Skins = { { name = _("F-14D VSN"), dir = "Theme" }, }, Missions = { { name = _("F-14D VSN"), dir = "Missions", }, }, LogBook = { { name = _("F-14D VSN"), type = "F-14D VSN", }, }, InputProfiles = { ["F-14D VSN"] = current_mod_path .. '/Input', }, }) --------------------------------------------------------------------------------------- make_flyable('F-14D VSN', nil,{self_ID,'F-14D VSN',old = 4}, current_mod_path..'/comm.lua') dofile(current_mod_path..'/F-14D VSN.lua') make_view_settings('F-14D VSN', ViewSettings, SnapViews) --make_flyable('F-14D VSN', current_mod_path..'/Cockpit/KneeboardLeft/',{self_ID,'F-14D VSN',old = 4}, current_mod_path..'/comm.lua') plugin_done()-- finish declaration , clear temporal data I don't know why planes like Rafale or Corsair work and I can't fly F-18 and F-14D. Link to comment Share on other sites More sharing options...
Urban072 Posted December 11, 2014 Share Posted December 11, 2014 I've already sorted the entry.lua for the Super Tomcat, I will attach it in this post.entry.lua Link to comment Share on other sites More sharing options...
limoncino Posted December 11, 2014 Share Posted December 11, 2014 I've already sorted the entry.lua for the Super Tomcat, I will attach it in this post. It doesn't work, I don't know why. I use 1.2.11 version, maybe this? Link to comment Share on other sites More sharing options...
totoaero Posted December 11, 2014 Share Posted December 11, 2014 I think the entry.lua given by urban072 works for 1.2.12 change this line : make_flyable('F-14D VSN', current_mod_path..'/Cockpit/',nil, current_mod_path..'/comm.lua') with make_flyable('F-14D VSN', nil, {self_ID,'FC3',old = 16}, current_mod_path..'/comm.lua') It may work but i'm not sure. I have taken this line from a personal mod that work in 1.2.11 with the same cockpit as F-14D. [sIGPIC]http://image.noelshack.com/fichiers/2014/40/1412402491-signature-bjt.jpg[/sIGPIC] Link to comment Share on other sites More sharing options...
Urban072 Posted December 11, 2014 Share Posted December 11, 2014 I think the entry.lua given by urban072 works for 1.2.12 change this line : make_flyable('F-14D VSN', current_mod_path..'/Cockpit/',nil, current_mod_path..'/comm.lua') with make_flyable('F-14D VSN', nil, {self_ID,'FC3',old = 16}, current_mod_path..'/comm.lua') It may work but i'm not sure. I have taken this line from a personal mod that work in 1.2.11 with the same cockpit as F-14D. It works for me anyways, it's based on the same way you fixed the Rafale. I did this to a few others of the S77th collection :) Link to comment Share on other sites More sharing options...
limoncino Posted December 12, 2014 Share Posted December 12, 2014 It doesn't work. I can't make F-14D flyable. Thank you.:cry: Link to comment Share on other sites More sharing options...
Stratos Posted December 16, 2014 Share Posted December 16, 2014 What about the Hind? Anyone got it flyable somehow? I don't understand anything in russian except Davai Davai! Link to comment Share on other sites More sharing options...
aqswde Posted December 23, 2014 Share Posted December 23, 2014 @totoaero,I use harrier mod,make_flyable use self_ID,aircraft is controlled by AI,but use nil then error:can't open debriefing.please help! sry,my English bad Link to comment Share on other sites More sharing options...
Kiwiknight Posted January 13, 2015 Share Posted January 13, 2015 (edited) I found how to fly the F-14D, change this line in the entry.lua: make_flyable('F-14D VSN', current_mod_path..'/Cockpit/',nil, current_mod_path..'/comm.lua') with this: make_flyable('F-14D VSN', current_mod_path..'/Cockpit/KneeboardLeft/', {nil, old = 4}, current_mod_path..'/Comm.lua') Edited January 13, 2015 by Kiwiknight Link to comment Share on other sites More sharing options...
razo+r Posted January 13, 2015 Share Posted January 13, 2015 But you know that There are updated mods The Same like those Link to comment Share on other sites More sharing options...
aqswde Posted January 18, 2015 Share Posted January 18, 2015 I passed the test,only used mig29 cockpit,Should be written as {nil, old = 2 or 32} Other reports an error Link to comment Share on other sites More sharing options...
Recommended Posts