Jump to content

pappavis

Members
  • Posts

    654
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by pappavis

  1. *shemelss plug* the 159th were doing trainging yesterday, here are sum screenies. 159th_Lonewolf being tracked by my Su-25T 159th_Lonewolf disregarded the traffic officer orders, he parked where he wanted :pilotfly:. we re recruiting som come on over to our website for a test flight. The strike wing flies Su-25T's while fighterwing operates Su-33 from airbase Krymsk.
  2. All you need to do to get the language of your choice is to copy a few files into the FUI directory. I tried a translation once to Afrikaans (Republic of South Africa) which worked fine on the russian version of FC which i got from the wife of my brother.
  3. Gaaf, duitse lugmag in Suid-Afrika :)
  4. In a perfect world, Armed Assault would feature LO: FC flyables.
  5. I have a Saitek game commander, works great :). Yes, it does show up as a new game controller in Coonfiguration --> Game controllers.
  6. Its been quiet on this thread so i thought, let me post another South African Airforce Mirage F1 picture :D
  7. These would be good questions to have answers too.
  8. Yes, i am software developer with dotnet 1.1 :icon_syda. My machine have both 1.1 and 2.0beta installed.
  9. It doesnt work, there is an exception error: :mad: Zie het einde van dit bericht voor meer informatie over het aanroepen van JIT-foutopsporing (Just In Time) in plaats van dit dialoogvenster. ************** Tekst van uitzondering ************** System.Runtime.InteropServices.SEHException: Een extern onderdeel heeft een uitzondering veroorzaakt. at _com_issue_error(Int32 ) at _com_ptr_t<_com_IIID<IApplication,&_GUID_04a5ec8f_4878_4356_a3e1_58eb9531238d> >.->(_com_ptr_t<_com_IIID<IApplication,&_GUID_04a5ec8f_4878_4356_a3e1_58eb9531238d> >* ) at LireObjets(TextBox textBox, CheckedListBox checkedListBox) at ImpExpGrpLO.Form1.button2_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Geladen assembly's ************** mscorlib Assembly-versie: 1.0.5000.0 Win32-versie: 1.1.4322.2032 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ----------------------------------------
  10. Hallo everyone, Anyone who have made a mission for lockon in the missioneditor will know that to make such a misison one have to have very very much patience. I am working on a tool to solve that issue. Objective of my tool: Enable mission designers to copy units inclusive of their flight routes, attack points etc. so as to prevent repetitive manual labour mission edititng taks. Take this scenario of a 169th_dedicated server for example: * A red vs Blue online mission consisting of red and blue air/ground units. * Various grond units for red side, ground units for blue side. * Air units for red, and blue, AI or human client players. * Blue flight departs from airbase sochi: 4*F15, 4*Su-25, 4*A10 --> red departs from Novorossisjks with a smililair configuration. The daunting task as curernt mission editor: * Create 4 F15 units, assign routes. etc. That in itself if done properly could take about 30 minutes of a misison designers time. * Now do the same for A10, Su-25 etc etc. * You end up begin busy maybe 4 hours to create such a mission. To most of us who have a fulltime job, a family etc thats quite a effort. No wonder people are reluctant to create new missions:mad:. My solution: A little c# windows forms application that: * Allows a user to open a lockon .mis mission file. * See a list of all individual flights/units of both ground, air, ship units. * Provide the user with a inputbox, to specify how many copies he want to make of the unit. * Allow the user to click a command button which wil create nn-number of copies of the selected unit. * Allow the user to save this modified mission as a new lockon .mis file in the lockon .mis-format so ast to play the mission in lockon. The difference will be: * As per the 169th example, the misison designer create ONE flight of F15 then in my app do duplicate 3 times, and the same for the flight of Su-25, Su-27 etc etc, or SAM units whatever you want. * Mission design time will be 30 minutes and not 4 or more hours. The technical implementation: * The code is written in Visual Studio.NET2003, programming language C#. * My problem: i read the .mis file, append the units , then write the file back to lockon.mis format, but lockon wont accept the file, it complans about bad file. * What i do to create the output file is: ---> read the source .mis file, translate XML part to XML. ---> Append the new units to the source XML. ---> Copy the first 1535 butes header into a storage byte array which is 1535 + size of new XML. ---> Write the complete byte array as binary stream to a file, with extension .mis. For example: Original total .mis filesize 23456 bytes XML for the new units: 1000 bytes New output file size: 24456 bytes. Now the problem is, when the file is wrriten back to disk, that some bytes of the header file are mysteriously modified (by C#???). I cant know HOW it happens! I think that that is the reason why lockon will not read my ffile, coz the C# dotnet compler messes around with the byte values. I made these code to: * read a example misison file ("Su-25 Night Strike.mis") as binary. * Get the first 1535 as binary header. * Get the XML from a mission file such as "Su-25 Night Strike.mis". * Append XML from a mission file to the header. * Return a byte array, to write to file using a System.IO.Binarywriter. Prob is the first 1535 bytes of the output bytes are not equal to "Su-25 Night Strike.mis". Any ideas? See here belwo the program code used to append bytes, and write it back to file. Send me a email if you want the complete source code, all weighing in at 1.8Mb. BTW, this post is related to this thread. #region Converts the XML missionfile to MIS. /// <summary> /// Converts the XML to lockon internal' MIS-fileformat. /// </summary> /// <param name="xDocToConvert">The xml missionfile source to convert.</param> /// <returns></returns> public byte[] GetXMLtoMIS(XmlDocument xDocToConvert) { byte[] bytMissionHeader = null; byte[] bytResult = null; try { string strBaseMissionName = AppDomain.CurrentDomain.BaseDirectory + @".\" + ConfigurationSettings.AppSettings["LockonMissionHeader"]; FileStream fs = new FileStream(strBaseMissionName, FileMode.Open); BinaryReader brInput1 = new BinaryReader(fs); //Open die voorbeeld lockon .mis-bestand, zoek naar <Lockon en vervangen met eigen misison XML. if(brInput1 != null) { bytMissionHeader = brInput1.ReadBytes(Convert.ToInt32(brInput1.BaseStream.Length)); int intMissionHeaderEndpos = int.Parse(ConfigurationSettings.AppSettings["MissionHeaderEndpos"]); byte[] bytMissionXML = Encoding.UTF8.GetBytes(xDocToConvert.OuterXml.Replace("<?xml version=\"1.0\" encoding=\"UTF-8\"?>", "")); //Recerveer een deel van geheugen, hier gaat de mission file tijdelijk in worden aangemaakt. byte[] bytTemp1 = new byte[intMissionHeaderEndpos + bytMissionXML.Length]; //kopieer mission header definite, van Eagle Dynamics. for(int intTeller = 0; intTeller < intMissionHeaderEndpos; intTeller++) { bytTemp1[intTeller] = bytMissionHeader[intTeller]; } //Plak de nieuwe door gebruiker gemaakt XML achter aan die header van ED missionfile. int tel2 = 0; for(int intTeller = intMissionHeaderEndpos + 1; intTeller < intMissionHeaderEndpos + bytMissionXML.Length; intTeller++) { bytTemp1[intTeller] = bytMissionXML[tel2]; tel2++; } bytResult = bytTemp1; } } catch(Exception ex) { throw new Exception(ex.Message + "; " + ex.StackTrace); } return bytResult; } #endregion This code writes a .mis file: public void WriteMISfile() { try { byte[] bytMIS = new clsMissionFile().GetXMLtoMIS(_xDocNewMission1); FileStream fs = new FileStream(objSaveMap.Filename, FileMode.OpenOrCreate); BinaryWriter bwOutMIS = new BinaryWriter(fs); if(bwOutMIS != null) { for(int intMisPos = 0 ; intMisPos < bytMIS.Length; intMisPos++) { bwOutMIS.Write(bytMIS[intMisPos]); } bwOutMIS.Close(); } } catch(Exception ex) { MessageBox.Show("Error: " + ex.Message + "; " + ex.StackTrace, _appNaam, MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } } PM me then i'll send you the complete source code, all about 1.8mb.
  11. I have no factual information available, though, the SAAF mirage F1's were capable of dropping laserguided munitions. Just not sure about the laser range finder. As a side note: The SAAF retrieved a few F1's from storage, then upgraded with MiG-29 engines, and the F1's were adapted to fire R-73's , one example was displayed at MAKS2001 :o.
  12. I hope nobody minds me posting this picture about the South African Airforce Mirage F1's :icon_supe. Its an old foto dating to about 1994. The SAAF have retired their F1's in 1997 :mad:.
  13. yes, this is it, :icon_supe, thanx! Gonna install it tonight on my new dedicated lo-mac machine.
  14. A year or so ago someone mentioned a opensource speech recognition system which uses the M$ Speech SDK. I had installed with lo-mac, used it a bit, upgraded to a new computer, forgot about it, and now cat find it anymore. Can anyone remember the name of that opensource speece recognition system?
  15. I have a Saitek Gamecommander, if thats what u mean? its a programma USB-keypad with 16 function keys, which in combination with 3 modes + shift can probable make 16*3*3 = 144 differnt unique keypress kombinations. Not quite enough for lo-mac though ;).
  16. Ironhand, how do one use Setka-mode? What are the purpoe of the grids in the setka-aimer thingy? An example (training)track for setka will be great.
  17. Ordanance carried by MirageF1's Knell-knell what type and versions of the Mirage F1 are you modelling? Will the weapons payloads be something like a 1970's payload? Will it be able to carry laserguided munitions? Will the air-to-air ordanance be of recent modern versions, or shortrange IR missiles the Matra R-550 Magics? Would it have South African V3B or V3C missiles? Could anyone make a South African Airforce skin, pllleeease? Would the F1 be able to mid air refuelling in lo-mac?
  18. As far as my insight into a mission file is: 1, 2, 3, 7 are all theoretically possible becos those are saved into the mission file :D. If ED could provide us with a .lua hook or something (or saved mission debriefing!) then a LUA script must be callable which could be used to apply weather, startuptimes etc changes to mission objects. Maybe ED could delight us with such a possibility in the 1.2 release?
  19. I've created a small proggy to help with mission creation, speicifically it can copy units so making a MP misison for 504 would become a matter of copy-paste. Problem is, my code in c# doesnt write the mission file back properly probably due to utf encoding issue. Havent figured it out yet. I posted the code in the forum too but no avail :rolleyes:. SUm1 help? anyways mebbe i look at it again soon.
  20. I think my brother bought a CD or something about them on his previous visit to Sank Petersburg, dunno fo sure though, of that artist on the BS demo videoclip. I'll post here on the forum when i know the song/artist' name.
  21. pappavis

    Su 27 skin

    just watch it, coz you loose the russian wingtip star emblems on the Su-33, Su-27 and Su-25. Recommended is to make a backup of NOMERA.TGA before applying this skin.
  22. You could try to make a copy of medium.scn, then rename it as low.scn if that is what your asking?
  23. any news..? 1.12a is out so plz dont let us wait any longer ;),
×
×
  • Create New...