Jump to content

Badass1982

Members
  • Posts

    254
  • Joined

  • Last visited

Everything posted by Badass1982

  1. Random question. I've noticed that using RAT (I have all my units set to ContineJourney() ) but the ones that take off from the Stennis never return to it (in fact i dont even get any planes return to the stennis) obviously the airliners arent going to but some F14's or F18's should no??? Just not sure if that only works by forcing it with a SetDestination .....
  2. @Pikey , I appreciate the reply and will take on-board what you guys say (I've been using LUA for exactly 4 days and am not at all experienced in it) , give me a few days to process what you said above haha. In other news I was able to take much less elegant route to what I was trying to achieve. This is how I did it. In the ME I created a Late Activated group of tanks (could be any ground Unit though) and I placed it inside the red airbase's aerodrome that I wanted the blue players to be able to take over) I then created a trigger zone for each airbase that had red troops/Armour/defenses nearby and named it BTANKXXX where x is the base name. Being sure to include the actual red units inside the trigger zones. Then in the trigger options of the ME i set triggers to All of Coalition Out of Zone>> activate group>>>>BTANKXXX again where XXX is name of the ground forces group. It seems to work and with some quick testing when the red units get killed the blue ground units spawn and the base becomes blue. Obviously i would much prefer to have this handled via lua (and probably have choppers/transport planes fly to the base and drop off troops/armor) rather than setting it up in the ME , but my 4 day coding experience isn't quite there yet!!!! (can we even see the code that the ME generates when you set stuff up using it rather than the scripts??) As always thanks for creating MOOSE and keeping this community supported, you guys rock! Martin P.S. After having gone over and over the code you sent me Pikey and still not 100% understood it I think we mis-understood each other, or I'm just wrong, what i have is a bunch of red bases that id like to turn blue after the units/groups inside the DCS base radius have been destroyed, by spawning blue units upon the red units destruction in said airbase radius, preferably with a script. I'm not sure which parts of that script i should be changing to do this. The current bases I have set as red which id like to be able to turn to blue upon destruction of red forces are (Sochi, Gudauta, Sukhumi, Maykop, Mozdok, Nalchik, Beslan) It's highly likely that I screwed up the entire script , but heres what I changed: function checkred(ABname) local tmp = coalition.getAirbases(2) for i=1,#tmp do if tmp:getName() == ABname then return true end end end BtankCapture = SPAWN:New("BtankCapture"):InitLimit(4,0):SpawnScheduled(500,.2) BtankCapture:SpawnScheduleStop() SCHEDULER:New( nil, function() if checkred("Sochi, Gudauta, Sukhumi, Maykop, Mozdok, Nalchik, Beslan") then BtankCapture:SpawnScheduleStart() else BtankCapture:SpawnScheduleStop() end end, {}, 15, 30) Thanks again Martin
  3. Is it particularly difficult to automate who controls a base at a given time?? I'd like to be able to set up a script using moose so that if blue forces destroy all the red forces In a red airbase it triggers a chopper to spawn (don't care if it's in the air or not), fly to said ex-red airbase, land and drop off some troops thus turning the airbase blue) is this possible using moose and what would be the best way to go about it, just starting to learn MOOSE and thanks. Martin
  4. Scratch my last post I figured out using the airbase openbig command u can force large planes to park at bays that are big, Edit: Seems to still be an issue on some bigger planes on Persian Gulf , works great on the Caucaus map with the above!
  5. Small issue that I wanted to post, using this module I have some of the larger airliners crashing into certain parking spots then just staying there with like one wing. I'm a newb to MOOSE so I could be doing something wrong!
  6. @Parrotman go into the mission editor, click on the client plane of choice and in the drop down change it from Start from ramp cold to Start from Parking/runway/wherever hot. @surrexen I will double check (I may have been on clear field not Snowfox) but where i was landing there definitely hasn't been any friendly sams to protect you upon RTB. I'm planning to add a couple of scripts to your missions at some point (learning scripting myself atm albeit very slowly), first is a simple mission timer that lets the user know how long is left in the mission at 30,25,20,15,10,5,1 mins and at 30 secs before mission end, this also includes an auto mission restart after 5 hours (I then use a batch file to restart my servers physically every 10 hours). Also I intend to try and at the RAT module to these missions. Thanks for the hard work and keep it up dude! MM
  7. I noticed when I was retreating after a Ground Attack and literally about to land at either kobuleti or senaki the red for shot me down right as I touched down at a safe base. I have made some changes to the missions for myself but just a heads up the blue bases could do with some anti air defences.
  8. Sorry ignore my above post cos I figured out the way to do it, I was being an idiot and changing the speeds/altitudes on the way point settings and not the orbit settings. Thanks
  9. Is there a scripting related reason that me trying to change the Texaco and/or Shells altitudes and speeds doesn't work in Clear Field?
  10. Thought this was interesting https://github.com/walder/Skynet-IADS
  11. I dropped bombs on them lol. Big bomb squishy mens lol
  12. I WILL be but I'm skint at the moment, I think ED said they'd be announcing release dates for it soon.
  13. I think i have determined that somehow it is my batch files that are causing my servers ti drop out. If i load each instance just using a modified shortcut with switches all three servers stay up for 8 + hours if I run the following batch file they randomly drop out and sometimes fail to restart..... hmmm strange....: :loop timeout /t 0 >nul ::REM -- wait before launching instance 1 Start "" /high "E:\DCS\bin\DCS.exe" --norender --server -w Instance1 timeout /t 14400 ::REM -- amount of time for servers to run taskkill /f /im DCS.exe >nul timeout /t 25 >nul ::REM -- wait before relaunching servers goto loop When I say "modified shortcut" I mean a desktop shortcut (one for each instance) using the following in the "target" box of the shortcut properties: E:\DCS\bin\DCS.exe --norender --server -w Instance1 Thanks appreciate the help/advice.
  14. @BigNewy what am I looking for in the logs that would show an abnormal drop out of my server, Like if my servers are failing to restart on their own would their be a hint to that in my log files??? Thanks and once I've done some self testing I will get logs over to you.
  15. I doubt it given that my network hasn't changed , and for me it's not been fixed since it was broken a couple patches ago....
  16. I see most people are not having the issue any more I still am although it's less prevalent than before .
  17. Not sure what I've done but units (in this case it was sa10 launchers i had killed) are no longer staying dead in between restarts. I have sanitized the Ifs and IO's in missionscripting.lua in the scripts folder of my install, any ideas or suggestions to fix this??
  18. "Server browser Dropout" Ingame or website server browser or both?
  19. I'm still having a similar but different issue. My servers both show up (and also in the WebGUI) but after and undefined period of time, one of them will drop off the WebGUI , does the above apply to the WebGUI too are just the ingame browser!
  20. Nope not fixed. Now the servers show up by name in the remote web browser but when i click on them they both say offline. I can bring up both when loading the index.htm file (local webgui) on the server but it asks for the port (when i enter the webgui port for that instance the server loads as it should) EDIT: played around with my ports and it APPEARS they weren't forwarded correctly. everything working now.
  21. Well i think i fixed my issue. I had to remove the dedicatedserver.lua file from my three instances scripts folder in save games.
  22. So I am having a really weird issue with the Dedicated server and the WebGUI. Everything is working fine and all ports needed are opened etc , however whenever I actually launch my server (the dedicated app npt the actual client running as a server) my servers always show up in the webgui browser as in some sort of offline manual mode, as soon as I click the Server # xxxxxx name it lets me in and im able to start the server normally , howevever the server refuses to start up when i run the exe file it just puts itself into this sleep like state! Anyone got any ideas why? heres my auto exec and my serversettings/lua: cfg = { ["current"] = 0, ["missionList"] = { [1] = "C:\\Users\\MCMac\\Saved Games\\Missions\\Operation Clear Field v111.miz", [2] = "C:\\Users\\MCMac\\Saved Games\\Missions\\Operation Clear Field W-MODS v111.miz", }, -- end of ["missionList"] ["require_pure_textures"] = false, ["advanced"] = { ["allow_change_tailno"] = true, ["disable_events"] = false, ["allow_ownship_export"] = true, ["allow_object_export"] = true, ["pause_on_load"] = false, ["allow_sensor_export"] = true, ["event_Takeoff"] = true, ["pause_without_clients"] = false, ["client_outbound_limit"] = 0, ["client_inbound_limit"] = 0, ["server_can_screenshot"] = true, ["event_Role"] = true, ["allow_change_skin"] = true, ["event_Connect"] = true, ["event_Ejecting"] = true, ["event_Kill"] = true, ["event_Crash"] = true, ["resume_mode"] = 1, ["maxPing"] = 200, }, -- end of ["advanced"] ["port"] = "10308", ["listLoop"] = false, ["bind_address"] = "", ["isPublic"] = true, ["uri"] = "startServer", ["password"] = "", ["description"] = "", ["name"] = "MM SERVER SMACK OPERATION CLEAR FIELD", ["listShuffle"] = false, ["version"] = 1, ["require_pure_models"] = false, ["require_pure_clients"] = false, ["maxPlayers"] = "100", } -- end of cfg options.graphics.fullScreen = false options.graphics.width = 640 options.graphics.height = 480 options.graphics.maxfps = 20 options.graphics.render3D = false if not net then net = {} end net.download_speed = 131072000 net.upload_speed = 131072000 disable_write_track = true webgui_port = 8088 my switches im running the exe';s with are as follows: E:\DCS\bin\DCS.exe --norender --server -w Instance1 I have 3 instance but am only running 2 due to ED's temporary limitations
  23. This might be a completely ridiculous question to ask, but is it possible to make it so that when we completely clear all enemy forces form a base , that it then changes from red to blue or (blue to red) , so the faction that cleared the base can them use it to rearm/refule etc?. I'm not sure if this is currently possible but it would be super cool.
  24. I couldn't find a feature request area on my phone (on the forums at this time) but I was kinda hoping that it would be taken into consideration one day to make it so that , so long as the server has the skins installed , that the clients would then not need to also download EVERYONE'S skin that they desire to see (aside from the defaults) I have just got into skinning and love it but it's a pita havingvtonhave all squadron members have ALL the skins installed on their clients to be able to see them .
×
×
  • Create New...