Jump to content

SNAFU

Members
  • Posts

    772
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by SNAFU

  1. I uploaded another one of my attempts on skinning. This time based on the camo of the German Air Force (Bundes Luftwaffe), which inherited the MiGs of the East German Airforce after the collapse of the USSR. Feedback -positive or negative, as long as it is constructive - appreciated. Copy the folder into: DCS World/CoreMods/aircraft/MiG-21BIS/Liveries/MiG-21Bis Filed download here: http://www.digitalcombatsimulator.com/en/files/1397453/
  2. Jepp, I guess it is the same reason the F series received the rounding. It is a design compromise between production and design. Basically an elliptical wing is the perfect wing planform to minimize induced drag, but it is much more difficult to produce. The Spitfire has an almost perfect wing in this regard, but the production problems in the beginning delayed the total output considerably, as far as I remember.
  3. In my experience the late activated groups have the same impact on performance as the other groups, but only from my feeling, not from dedicated testing. You might test this by adding really a lot of units in the mission and check the FPS. For 1000 units (simply copy and paste them) you should easily compare the results. There is still the option to set the group AI to off via triggers at the same time. Didn´t have much experience with this... With AI off the units are static but visible, if you combine this with advanced triggers and make them visible, you have the similar results as late activated groups, but maybe not the performance hit.
  4. Great! Looking forwar for playing this missions. Thank you! :thumbup:
  5. Na, erstmal wird wohl die F-14 oder Mirage in Dienst gestellt, bevor dann irgendwann in 2-3 Jahren die F/A-18C aus dem Hanger rollt. Und ich denke dann wirden alle aktiven Geschwader umstellen. :pilotfly:
  6. Yes, editing the mission file in the miz file and saving a new miz file, as you probably know. There's no way that I know of currently using the DCS Scripting engine. Exactly. Ok sounds good, If you get it implemented in the script, please share your results. I'll take a look, I think I have some script lying around that shows how to get it easily Ok. AFAIK you can get the countryID as an integer easily, but coalition.addGroup() doesn´t accept integer in my tests. MIST DBs only have the nations as lower case strings, which doesn´t help either. I could create a table an assign the number of every country (return of getCountryID() ) to a parameter accepted by coalition.addGroup(), but for my purpose that is an effort not worth the results, since I don´t see difference anyway, as long as the group is on the right coalition side. ;)
  7. I started a new thread to post the "finished" (whatever that means) script. Please check here if interested: http://forums.eagle.ru/showpost.php?p=2359440&postcount=1
  8. Inspired by MBot`s great Dynamic Campaign for the MiG-21Bis, I took his approach to save intermediate situations and wrote a more general script. Attached below you find a lua-script file, which gives a unit with the name defined in line 5 - here called "Script Manager" - the option (accessible via the F-10 radio option) to save an actual situation on the map into a file with the name defined in line 6 - here called "Intermediate_savefile.lua". The file will be stored in the DCS World folder and contain the position, movement and composition of all ground- and ship groups present at the moment the status was saved. The weather, time, resources, planes, helicopter and static objects are not considered by this script and will not be stored in the file. Upon loading the status with the F-10 Option menu, all active ground- and ship groups will be deleted from the actual map and the groups stored in the save-file, are generated on the last stored position and continue to move as last saved. You can define groups of ships or ground units, which shall not be removed during the loading of the previous file, by adding the groupnames to the table "TemplateGroupExcludedFromRemoval" in the script. Please note that units, which AI were deactivated by the advanced ME options will be generated with active AI. To keep the script simple, generated units only have the nationality "Russian" for red coalition and "USA" for blue coalition. The individual nationality of ground- or ship groups are not stored, only their coalition. The skins and type shall remain the same as before. Units IDs are not stored either and randomised upon generation. So if triggers or other scripts depend on fixed unit IDs, this might break them. I tested this script in single-player environment only and not by all thinkable constellations, so if you face problems, please report back. In order to get this script working you need a MIST function library initialised and you need to modify the default DCS World the following. 1. Go to the folder "DCS World\Scripts" 2. Open the file "MissionScripting.lua" with notepad++ or Notepad 3. Add in line 17 and 18 the "--" infront of the sanitizeModule-functions, so that the content of the file looks as following: --Initialization script for the Mission lua Environment (SSE) dofile('Scripts/ScriptingSystem.lua') --Sanitize Mission Scripting environment --This makes unavailable some unsecure functions. --Mission downloaded from server to client may contain potentialy harmful lua code that may use these functions. --You can remove the code below and make availble these functions at your own risk. local function sanitizeModule(name) _G[name] = nil package.loaded[name] = nil end do sanitizeModule('os') --sanitizeModule('io') --sanitizeModule('lfs') require = nil loadlib = nil end 4. Save changes done to "MissionScripting.lua" 5. Open DCS World ME Mission 6. Initialize MIST in the Triggerpage 7. Initialize MIST3_5_SaveSituation_v1.lua script via a trigger or advance waypoint action of a unit´s first waypoint -> Do Script File 8. Add a client plane/ helicopter with the unit name "Script Manager" Attention: Be advised that this modified "MissionScripting.lua" gives DCS World the rights to write on your PC/ Server. Potentially harmful scripts in missions downloaded from sources you don´t know might be hazard when played. Update 07/10/15: This version uploaded here has some issue with dynamically generated AI waypoints. After removing the waypoints from the savefile it is doing what it is supposed to do and we currently use it in an internal vJaBoG32 Campaign. After reloading, the ground commander has to issue new orders to the generated groups, but the saving position and composition of all AI ground groups is working fine. MIST3_5_SaveSituation_v1.lua
  9. Ian's and Xcom's work is great. Mbots way for the DC is more suitable for my needs, since it doesn´t need the Mission Planner tool. I have little time at hands in the moment, but when I get something useful done in this general direction, I`ll surely post it here.
  10. Die Funktionalität und Optik der Multiplayer Serverliste ist wirklich in den 90er stecken geblieben. Allerdings gibt es eigentlich nur 2 Arten von DCS Online Spieler: -Typus 1: Schwerpunkt im kurzen Kick des PvP Gameplays. Kriterium möglichst voller Server damit man nicht lange nach Zielen suchen muß und akzeptabler Ping, alles andere ist Nebensache. Hier gibt es nur 2-3 Server die akzeptable Spielerzahlen haben und wo die in der Liste sind, weiß man recht schnell. -Typus 2: Schwerpunkt liegt im kurzen Eintauchen in das Rollenspiel "Pilot" möglichst so real wie es geht und das mit Gleichgesinnten. Kriterium liegt hier an einem geschlossenen Server umd Typus 1 fernzuhalten und mit stimmige Ambiente. Diese Spieler sind in einer Gruppe und bleiben auch da, haben somit ihre Server-IP fest gespeichert und brauchen kein Menü. So gesehen, beschweren sich viele schon sehr lange, aber Priorität hat es für die kleine Online-Spielerschaft nicht.
  11. You can´t. Turn the nose to bring the gate over the target.
  12. SNAFU

    RTB action

    Not directly a RTB task, but if you reset the tasking, than the AI RTB to the closest friendly airfield: function Controller.resetTask(Controller self)
  13. Thanks for reporting, Grimes. ...and my fault with the wrong forum section, but I was a little in a hurry and just noticed, the moment I pressed "post quick reply".
  14. For me it doesn´t work anymore. Also others using this event-function. GAU-8 shots still appear in the event log, but dropping bombs doesn´t.
  15. I have notice that in the actual version of DCS 1.2.15 the event world.event.S_EVENT_SHOT will not be triggered, if a player drops a bomb. Testing on a dedicated server, hosting in MP and playing in SP, it was not logged in the event log you can pull up in game in SP. AI shots get logged and trigger the event. Did I miss something? Is this a bug or intention?
  16. Thanks a lot for the hint. That was the cause. ...one step further... :pilotfly:
  17. 1. I am trying to create a small script, which allows the player to write the current situation of on the map into a file via the F-10 menu. 2. I am trying to enable the player to spawn all the units at the same position and in the same composition they were, when the file in 1. was created. Here I use the function loadfile(). That`s were I currently stuck. I oriented on MBots DC for the MiG-21Bis, but somehow I cannot get my head around, how to use the loadfile() and the table within the created file. MissionScripting.lua is modified accordingly and attached is the script I have so far. Basically a unit called "Script Manager" gets an F-10 option to save and reload a status. Currently the script stops in line 99. Maybe someone can point me into the right direction how to get access to the table saved in the file "JaBoG32Template_savefile"?
  18. No issues in 1.973beta? That`s good. Thanks for the info. Currently some squadmembers have a lot of issues with 1.973beta, so we stay with 1.955
  19. FYI: In version 1.955 I do not get contact with red EWR system for GCI, while flying the MiG-21Bis. When I disable the lua-entry in export.lua, EWR answers again. AWACS and other planes do not seem to have the issue.
  20. Found the cause: Aries Radio 1.955 entry in lua.export. When I disable the entry in the lua-export I get contact with EWR...
  21. Previously I had the issue, that blue aircraft couldn´t get connected with EWR systems acting as GCI. Only AWACS worked for blue MiGs. Now I have the issue that red MiG-21Bis cannot get any response from from EWR systems as before. Actual built:1.2.15.37241 I played MBots great DC missions last weekend without issues, today I updated the updater that`s all i changed, but cannot connect to GCI in any mission I tested (several). Is there anyone else having this problem?
  22. Somehow I do not get into contact with GCI. I am in mission 2 and not EWR were destroyed sofar and frequencies remain unchanged? Does anybody know what I am doing wrong? PS: Nevermind, this does not seem to be mission related. I do not get any contact with GCI in any other missions, only AWACS works.
×
×
  • Create New...