Jump to content

Lineaxe

Members
  • Posts

    235
  • Joined

  • Last visited

Everything posted by Lineaxe

  1. ya , i was looking into UML converters for Lua as I want to rewrite all the sortie sub-missions by using more lua class structure. Much code was cut/pasted while I was learning Lua and experimenting with the MOOSE samples they have put out. Some was cut/pasted as temp code only to fix-over errors such as downed helicopters not ever dying so they can respawn. That Code looks ugly,but it's meant to be dumped when DCS gets to repairing that particular problem. Also I want to better learn the code to control the lifecycles of all the vehicles I create/destroy and so on. Working steadily but surely on that one
  2. good idea . That will confirm if it is in the software inside my machine or somehow my lua code now blocks that option in the F18?
  3. oh did i send it twice , ACK ,sorry Anyhow there is a huge amount of Lua code in this mission and tracks will not record properly. I have not been able to use them .
  4. I have everything set up MASTER ARMS ON ,SELECTED A/G . Clicked MAVS to start the countdown ... NOTHING . tried turning everything off and on again . and nothing . It stays in standby mode.
  5. I have everything set up MASTER ARMS ON ,SELECTED A/G . Clicked MAVS to start the countdown ... NOTHING . tried turning everything off and on again . and nothing . It stays in standby mode.
  6. wow , heh , I will help where I can. (I have programmed in C, C++ and C# and many other languages in the past ~ in c++ since Borland 3.1 came out.). I am thinking that the STATIC name is no longer recognized with the newer DCS engine due to some kind of filenaming type of problem. The mission and its associated code had compiled and ran up to last November using that particular version of the DCS engine. At that point I could work on the mission and save it and successfully get a working updated copy of my mission. But Now I can't make any saves to the mission using the mission editor without that error coming up. This DCS stuff is very complicated . Note: I have been using "Agile modeling" style when writing the Lua code , with code in place that works, but some of it will require rewriting in the future. Well, while I was writing the code for the mission I was learning a lot of Lua from the Lua development website and had not gotten to creating up any classes yet Also some of the existing code still needs to be modified so the vehicles are created ,used & destroyed with the proper methods. It seems, deep in the documentation somewheres, there is a method that I still need to implement. This mission has already been uploaded, two versions can be found, day and night time. "ChopU-multi" & "ChopU-Nightmulti". The only difference in them is the time clock change. Mission Background: The mission has transport and Lift sorties for 3 of the 5 different Helicopters (Choppers) that are Flyable AND sorties for them to engage the enemy. F18s can be flown to defend the skies and Seas around AL Dhafra and two types of A -10 Warthogs can be employed to wipe out the Tanks and ground targets. F18s also have some longer-ranged Sorties. I believe that is the version (the current one ) I am trying to update. ~ I had taken a break from programming in Lua for a bit and just came back to it recently. No doubt about it, this DCS stuff is tough to troubleshoot. The docs are huge and still don't cover troubleshooting errors like this which crop up in the DCS.log and kill the code.
  7. After about 8 months I am trying to update my Mission using the mission editor. To test the PROBLEM I am doing a very small change to one of the aircraft. When I save and run, the mission works ok in Single player mode but comes up with the error in quotes. Deleting the actual static and replacing it does nothing to get rid of this FATAL error. I use the Static inside the lua code and think that just getting rid of it and using something else as a Radio Tower won't fix the overall problem. Worse, I fear even more FATAL errors of this type will come up and stop the code from working. I have spent much time writing and testing this mission and have plans to rewrite much of the code for the sorties with classes etc in the future. But I am now overall stuck since I can't even get the newer dcs engine to find a simple Static that is definitely inside of the mission. Never had that error come up and don't know what to do to get past it. Overall, even simple changes using mission editor cant be saved and played as a multiplayer game without this ERROR message
  8. yup I am getting it too. I guess I don't have to repair anything and it's maybe a bug they will fix up?
  9. Hi Flappie , it is 4 vehicles that have been getting stuck , the M1 Abrams and the Bradley and the 2 Trucks get stuck in all of those places. The town is Shiraz . Oh and I just went into my mission file and got all the images (24) converted to 8 bit Indexed using Gimp . That reduced the overall file size of Chop-U to almost half its size , only 17 Mb now . Switched the Su bombers to a 30 and a 33 to see how well they bomb Cheers , and thanks for looking into this , once this problem goes away the tank battles can get pretty funky ...
  10. Hi Flappie , well I am releasing CHOP-U 2.5 in a week and it will definitely have the Tanks running . The file size is around 30 megabytes . Tracks cannot even be created due to the lua code inside of the mission. The only way to check it out is to get a copy and download it from DCS. I should mention that the Tank Battle that I have written (at Shiraz) has landmines on the roads and in the minefield near enemy section of the town & bombers that come attack when enemy groups start to get killed off. But the tanks have ALWAYS gotten stuck inside of building that AI drove them into . in bushes, trees and on top of those piles placed inside the cities. AND THEY NEVER MOVE after that. Sometimes the AI can free them , othertimes , they NEVER have been able to move . So you drive the tank around for 10 or 15 minutes or so just have it get stuck way in enemy turf NEVER to MOVE again. This picture is from my current game where that has just happened (once again )
  11. Heh , nice to be followed , but what does that exactly mean anyhow I am wondering?  Does that mean my posts are getting watched for future messages?

  12. The Tanks get stuck in shrubs trees and other places . IT STOPS THE TANK FROM EVER MOVING AGAIN. why not just KILL it off if it's gonna do that. Save us the GRIEF of trying to untrap the poor Tank. Drive a Tank for quite a distance only to have it hit a tree/ shrub and get stuck there FOREVER??? this BUG is ruins the game play for sure please ,please send a fix in soon ....
  13. I am currently changing my code over to this process: Using the me and under ADVANCED WAYPOINT ACTIONS I have added the HOLD action . Now I want to include a STOP condition under the DUR sets of fields. After checking on the DUR check box I want to input some values . There are 4 fields filled in with . 0 : 15 : 0: / 0 . Now is this 15 seconds , 15 minutes , 15 hours ? I tried looking up 'filled in' examples on the internet ,but , heh, I am thinking that it means 15 minutes for the tests ahead . Not used to seeing time Set up in this format. Anyhow I have got the tanks to go inside of the rearming zone and then Stop for 1 minute. Once the group has Stopped I hope that the AI will start up the rearming process and then release the Group back to its next waypoint after they are armed. Now , how would I know if they get rearmed I wonder?? ... Only way is to go in and find out. I guess the AI tanks on my team would also rearm automatically like this. I will keep posts on anything I learn while testing the AI Rearming process out ...
  14. Hmm I guess I should include a script that stops any AI tanks motion near the URAL 4320t for like 7 minutes or so before going to its next waypoint. Maybe they will automatically rearm during that time ... I have seen messages of like 420 seconds come up when I drive up and rearm a tank.
  15. I guess I ask the good questions since no-one really knows how to do it . Now ,where or who do I go to next I wonder to find out more?
  16. I have included your AirGroundAttackScript.lua code into my mission project. I am testing out the script with two single unit SU-25 groups which are loaded with 2x air to ground missiles. Both groups are late activated and their names get added a numbered extenstion "SuMo24#001" in order to be recognized by lua code and moose engine. When I run the mission I find sometimes ONLY the first bomber will drop bombs on the target . A lot of the times they both just fly over it and go back home to land. And when it drops bombs it ignores the target and drops them on whatever tanks it can find in the vicinity . I really need a script that will actually attack the group it is designated to attack ONLY. Anyhow included here is a copy of the AirGroundAttackTask function and it args , and then my modified copy that I am using inside the mission
  17. Anyhow back on the topic Well I wiped out a bunch of xbox and the wireless controller settings and reloaded the saved profiles I had stored for Combined Arms and the General Profile. I keep on playing with them with no luck in rotating the turret with anything but the mouse (default) and the Playstations Touch pad.... Now I have, in the past, managed to figure out how to get the Playstation's Right Joystick working like what it should be doing. But no luck now. If anyone has an idea ... If I find out what I had done to make it work I will post it right here for anyone else that might get stuck down the road
  18. Hmm, bell icon does show up any new posts to my topic,but now there is nothing showing any of the other posts that I have written in the past. I can't even search for posts by my name anymore and find them. SO , something has happened ... I guess some updating to the website software is underway. Not sure if I should even mention anything as a bug until get get their latest version of the web software up and running. I don't mind giving them feedback when stuff goes funny. I Still got a bug report to send about the choppers getting shot down to earth and then not dying. They have a subroutine written that is supposed to take care of the situation but doesn't. I wrote some software to kill them off after they stop moving for a length of time and have been using that. But I should send that bug report back to them. After all, they did fix the static property test problem after I reported it. (I am thinking that they get feedback from others on stuff like this)
  19. latest version upgrate in dcs engine has wiped all the settings for tanks that I used to have . Two days later and I still can't get the right joystick to center the tank or rotate it. yeep , I am right in the middle of testing code using the tanks and then WHAM , the upgrade wiped out all my settings and I can't get it to do what it used to do. that is move the turret around from a few different perspectives . It moves it around and centers it now ONLY when I put into the view with the circle that shows that I am in 'scope' mode . All the other perspectives have stopped rotating the turret around. I am Using the Playstation controller and DS4WINDOWS . Hmm, What happen to forums.dc.world ? I used to be able to filter by just content I was involved in and now that option has gone and I can't even do a search for the topic by my name so that I can quickly go there .
  20. I am adding in a TANK sortie into CHOP-U mission. All my controllable tanks can get rearmed when I request it . I have waypoints set up around enemy rearming/refueling Trucks. I am thinking I need them to stop at a waypoint inside the radius of the rearming truck ( a URAL 4320t )and have them wait there for a bit of time ? or can I pass through the waypoint slowly and have it rearm them? Not sure how to get the AI to do that . Anyone have any ideas?
  21. Well, heheh, when I am experimenting I really shouldn't post bug reports ... In this (failed) experiment in order to keep the games overall groups down I decided to try to dedicate these Jets to doing both EWR and errr ... bombing run tasks . Both using the MOOSE code . Now , it seems that I had to add in a couple more Jets and separate the tasks . Bug issue figured out , it was one of mine . And now the Jets are dropping bombs as well . So , they take off straight down the runway and will bomb at the other end ...
  22. Hi Flappie, These two Jet Groups are part of a much larger project (Chop-U) I am working on. I have written a Sortie (Tank-U) where the SU-27s get called into action every time I kill off 2 enemy groups of Tanks with my (drivable) Tank. Anyhow, this Sortie is based up at Shiraz and the Jets take off at Lar . I have changed the code around a bit and now a 2nd jet gets spawned now for the first one that crashed (002) . The only way for me to show you this is with a video . I could also update the Copy of Chop-U that is available for download if needed for testing. Hmm, I guess I could create a separate mission with just these two Jet Groups taking off. But at the moment they are part of the CHOP-U mission. ( In this Sortie there is an enemy Minefield populated with a random amount of Mines and also some Roads and Bridges get random Mining as well. Flying a Chinook over the area for a couple of minutes will uncover the mines and they can be seen using F10). ** I have been testing away on this Tanks Sortie for the last 4 months to the point it is challenging. Me and my bro like driving the Tanks using the Sony PlayStation controller) Heh, so far settings for these two Jet Groups aren't even really working yet for the MOOSE code used in the bombing of my 2 Tank Groups , I have just put this code in and am testing away on it. But that is another issue that I should be able to tackle
  23. Well the first Group fails to take off correctly, it turns at an angle at start of runway and crashes very slowly into the trees beside the runway. The 2nd group take off with no problem. They are both set up identically. I tried removing the first group from ME , then copying the 2nd working group and renaming it the same as the original first group. Still does the same thing. Absolutely no Idea why it would do this. And I sure don't know how to fix it . The Airport is Lar. The Su-27s are late activated.
×
×
  • Create New...