crazyeddie Posted May 19, 2010 Posted May 19, 2010 Anyone else tried this. I have been adding various aircraft, Tomcatz F4's, Beczl's Mig 21, the Grippen and a few others. They all look great in game and fly around nicely but do nothing else, no aggression, they just fly up to the enemy and get shot down. Cannot get them to shoot back or attack ground targets at all ... very strange.
VireVolte_tigrou Posted May 19, 2010 Posted May 19, 2010 I think you should wait for "official" conversion from authors...
crazyeddie Posted May 19, 2010 Author Posted May 19, 2010 Cheers Tigrou, I guess you are right about that, I'm just trying to get to grips with the structure of the game to see how it can be improved, scenery, new planes etc. It's a bit too damn complicated for my humble brain ...
Robin_Hood Posted May 20, 2010 Posted May 20, 2010 Did you try adding them as entirely new airplane slots, or replace existing ones ? Because by replacing, it should work (and certainely will with official versinos). I know people are working to see if it's possible to add completely new slots (with new CLSID) (and I think Tigrou is one of them, by the way), but I don't knowif they found something interesting ;) 2nd French Fighter Squadron
Michelange Posted May 20, 2010 Posted May 20, 2010 I know people are working to see if it's possible to add completely new slots (with new CLSID) (and I think Tigrou is one of them, by the way), but I don't knowif they found something interesting Yes we found some solutions, but impossible to add à new FM. There is also a solution to add new planes but we must overlay the 3D models. That's usefull for single/two seeters for example (Pink_Tigrou's Gripen, Futur Mig-29 ?) EVAC : French fighter school on LockOn: Flaming Cliffs Moding tutorials at C6
VireVolte_tigrou Posted May 20, 2010 Posted May 20, 2010 With MichelAnge, we tried several things unsuccessfully. There are actually 57 plane IDs and the game crashes when adding a 58th entry, and we did not find any tip to fix this. BUT, it is possible to duplicate slot, with new CLSID, but with same ID. This keeps the same 3D model, same FM, same cockpit BUT you have a new plane.lua file, where you can adjust payloads, flare/chaff number, fuel load, plane name, etc... This is actually what is done with F-16A/F-16 MLU for exemple. There are four lua files, but only two IDs. By the way, if you need some help, dear crazyeddie, I think you should explain how you made your conversion. :) Edit : oops, cross posting ! :D
RvEYoda Posted May 20, 2010 Posted May 20, 2010 With MichelAnge, we tried several things unsuccessfully. There are actually 57 plane IDs and the game crashes when adding a 58th entry, and we did not find any tip to fix this. Did you ask ED devs about this? I am not sure what their stance is on this, but might be worth a try? :) S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'
crazyeddie Posted May 20, 2010 Author Posted May 20, 2010 Sorry guys, been out of the loop all day. I replaced the Mig 29K with the Gripen, not a good match because the jet exhausts are completely different. Replaced the Mig 23 MLD with the Mig 21 and that looks good and the F5 with Tomcatz F4's. Slight alignment problem with the wheels on the ground but not too bad. All I did was replace existing Shapes files with the new ones, changed the skins files to show the actual model I had replaced and change the pylon/loadouts and weights/speed data in the Lua. Everything fits in the right place, pylons are correct etc etc. That all works fine but they do nothing except fly around and get shot to pieces, won't fight back, won't attack anything, won't drop bombs. I have tried all sorts of things to make it work, nothing works so I assume it is something new or different in LFC2 that I have not figured out. Logic says that should work, it does in BS and Lomac, but not in LFC2. Stumped of Devon England !
VireVolte_tigrou Posted May 20, 2010 Posted May 20, 2010 Please have a look at this : http://forums.eagle.ru/showpost.php?p=871930&postcount=36 Sure the truth is out there... ;)
jalebru Posted May 21, 2010 Posted May 21, 2010 if you are having trouble breaking the AI when changing planes in different plane slots, check the first line of the plane.lua file. return plane("{C075771D-EDE1-42C7-8E81-130B60500584}", "F/A-18C", _("F/A-18F"), If you change the first name in this line to something other then the default plane name, it will break the AI. [sIGPIC][/sIGPIC]
scorpion80 Posted May 21, 2010 Posted May 21, 2010 I'd like to have an answer from an ED's member. If they can't / don't want to insert new airplanes in lomac FC2, please tell us. Many thanks :) [sIGPIC]https://forums.eagle.ru/signaturepics/sigpic62322_8.gif[/sIGPIC]
crazyeddie Posted May 21, 2010 Author Posted May 21, 2010 if you are having trouble breaking the AI when changing planes in different plane slots, check the first line of the plane.lua file. return plane("{C075771D-EDE1-42C7-8E81-130B60500584}", "F/A-18C", _("F/A-18F"), If you change the first name in this line to something other then the default plane name, it will break the AI. Jalebru Many thanks mate, there was I looking for a complicated answer and it was that simple. Problem solved, thanks again. Eddie
Michelange Posted May 22, 2010 Posted May 22, 2010 I'd like to have an answer from an ED's member. If they can't / don't want to insert new airplanes in lomac FC2, please tell us. Yes would be interesting to know if we can add a new plane with FM and 3D. EVAC : French fighter school on LockOn: Flaming Cliffs Moding tutorials at C6
crazyeddie Posted May 22, 2010 Author Posted May 22, 2010 ED have NEVER responded to that question in the past, so not likely to now either. VERY protective of their game, as they have every right to be of course, but it does stifle a whole heap of quality that is out there, stuff that can only enhance the game and make it even more popular. I don't get that approach ...
VireVolte_tigrou Posted May 27, 2010 Posted May 27, 2010 if you are having trouble breaking the AI when changing planes in different plane slots, check the first line of the plane.lua file. return plane("{C075771D-EDE1-42C7-8E81-130B60500584}", "F/A-18C", _("F/A-18F"), If you change the first name in this line to something other then the default plane name, it will break the AI. This first name is used in game for labels. If you want to change it and let AI fighting, you'll have to modify /Scripts/Database/WsTypesTree.lua file too.
Recommended Posts