Jump to content

Wrecking Crew

Members
  • Posts

    2006
  • Joined

  • Last visited

Everything posted by Wrecking Crew

  1. What would this code look like to get a Group patrol instead of a Unit? Different? Thanks, WC
  2. I was thinking of adding a Radio command to show the status, too. It wouldn't be hard to do, I'll put one in this Back Of The Hand mission for showing the status, but prolly not for disabling the repeating messages. Right now the repeating status message comes on every 23 minutes, until one of the two objectives is destroyed, then the interval is every 17 minutes. I have added more flag logic to reduce the length; it was quite a block of text at first, still is... Another idea is to break that stuff up. Hmmm, it would be neat to use a text-to-voice converter and have the JSTARS send an audio message. I use broadcast messages to inform players of on-going mission success. If there are more than two objectives, I'll use Boolean logic to message that this or that objective is still left, so someone doesn't go flying off to a destroyed target. I've never thought of carrying results over to the restart. When Blue or Red wins a mission, I'll start a countdown from 15-5 minutes before the mission reloads. Messages countdown every few minutes, until 5 minutes when a message will appear each minute. These messages let everyone know the restart is coming, and to say who won (Red or Blue) and who needs to go back home to their mommies. WC
  3. From a vehicle that you are in control of, bring up binoculars and you can pop smoke around you. I'll use that to mark my own position for the pilots above. WC
  4. As long as there are plenty of airbases to base out of I'll be fine with the 'location'. I'll prolly just continue on with two made up opponents, like the Red Democratic Republic and the Blue Liberation Front. This guy might just end up as the rouge colonel --> WC
  5. Ah! There you are... I hope you get it fixed soon! WC
  6. hee hee thanks, wanted to be sure it wasn't *me*, but geez spent a lot of time today. WC
  7. The reason this has come up for me -- A AI aircraft has to get some place, but if it is destroyed then the mission is compromised. If this a/c is destroyed then an Is Dead Flag will be set to True. Consider that the AI a/c lands and taxis to its parking slot. Twenty or thirty minutes later the a/c is automatically deactivated and that triggers the a/c Is Dead flag which is incorrect. To insure that an a/c has completed its objective I will deactivate it and set a Deactivation Flag that prevents the Is Dead Flag from triggering. WC
  8. Hmmm, maybe that will help with cleanups. Any change with Deactivated Groups are Dead? (I'm of the opinion that Deactivated should not be the same as Dead.) WC
  9. Hi, found this new problem -- Clients get disconnected and cannot rejoin when the following script executes from a Do Script File action. The new Mist v3.5.37 did not solve the problem. What the script does: When a Huey lands then a Stinger Team is deployed ~30 seconds after landing. The script is triggered through regular events that determine when the Huey is landed. It clones a Stinger Team and places the team on the map at the location of the Huey landing. An AI Huey (HGrp11) will land at about 10:23 into the mission, or Client Hueys can be used. The script runs fine in singleplayer. In multiplayer a window pops open and closes too fast to read it and then a disconnect window appears. As a Client I could not re-join the server until the mission was stopped and restarted on the server. I used Witchcraft to execute the script locally and that works OK, except for a nil value return on getting the unitNameHelicopterPlayer at the end -- since that is a MP Player (Client) Name I did test commenting those lines out but in MP the disconnect still happens. local grpNameHelicopter = 'UH-1H 03 FARP London' local grpNameTeam = 'BLF VGrp90 Stinger' local unitNameHelicopter = Group.getByName(grpNameHelicopter):getUnit(1):getName() local basePos = mist.getLeadPos(grpNameHelicopter) local baseHeadingRad = mist.getHeading(Unit.getByName(unitNameHelicopter)) local baseHeadingDeg = baseHeadingRad * 180 / math.pi local newGroupTeam = mist.getGroupData(grpNameTeam) local newCoords = { [1] = { x = basePos.x + ((75 * math.cos(baseHeadingDeg)) - (0 * math.sin(baseHeadingDeg))), y = basePos.z + ((75 * math.sin(baseHeadingDeg)) + (0 * math.cos(baseHeadingDeg))), heading = baseHeadingDeg, }, [2] = { x = basePos.x + ((-75 * math.cos(baseHeadingDeg)) - (75 * math.sin(baseHeadingDeg))), y = basePos.z + ((-75 * math.sin(baseHeadingDeg)) + (75 * math.cos(baseHeadingDeg))), heading = baseHeadingDeg + 40, }, [3] = { x = basePos.x + ((-75 * math.cos(baseHeadingDeg)) - (-75 * math.sin(baseHeadingDeg))), y = basePos.z + ((-75 * math.sin(baseHeadingDeg)) + (-75 * math.cos(baseHeadingDeg))), heading = baseHeadingDeg - 40, } } for i = 1, #newGroupTeam.units do newGroupTeam.units[i].x = newCoords[i].x newGroupTeam.units[i].y = newCoords[i].y newGroupTeam.units[i].heading = newCoords[i].heading end newGroupTeam.clone = true mist.dynAdd(newGroupTeam) local unitNameHelicopterPlayer = Group.getByName(grpNameHelicopter):getUnit(1):getPlayerName() trigger.action.outText(unitNameHelicopterPlayer .. ' just dropped off a Stinger team!', 20) The mission is attached. This mission was working a few months ago on a downlevel DCSW version. Watch the Blue Huey HGrp11 for ~10 minutes or fly the Client Huey 03 and take off and go land it to generate the error. WC
  10. Does the waypoint path have to intersect at some point to close the shape? WC
  11. Check down in the Sim Topics section in the Missions and Multiplayer sub-forums. Also bring up the Multiplayer side of DCSW and look for servers that include the MiG-21. Some servers are locked but will give a link to a site for logon info and TS. Or, join an open server and chat up the folks in there to see if they are using a TS server. Welcome to the DCS World! WC
  12. I had the impression that a launch detection is based upon the rocket motor flare. That's why we get a launch detection from ground based anti-tank missiles and other a/c Mavericks. ? WC
  13. I'd define it as looking for the intersection of two lines. Maybe, yes, two A-10Cs could work together where each draws its line, and then one A-10C sends two SPIs along its line to the other, who plots that line and looks for the intersection. WC
  14. A Static Object structure? I think you will need a script to do that. A regular structure can be deactivated. WC
  15. Best brush up on your geometry, too! :smartass:
  16. Keep the audio files as small as possible so you don't inflate the size of the .miz too much. WC
  17. I was that way, too, but couldn't hold back any longer! :)
  18. I think that the unit that defines the 'polygon' should not be a regular, active unit in the mission. I think it should be set to Late Activation and never activated. Maybe a one unit group... Disclaimer: I've not used this feature. WC
  19. The units that show Heading = zero can be units within a group where the other units do show the proper heading that they were rotated to. I will prolly do some Witchcraft placements tonight on a new mission. Next time I see this, I'll post the miz. FYI, Ian, I got the LUA Console to work. Great stuff. WC
  20. Check this link to my TrackIR profile for DCSW. It's a few years old but I still use it. http://simhq.com/forum/ubbthreads.php/topics/3171177/DCS_A10C_Warthog_--_A_TrackIR_#Post3171177 WC
  21. That is correct, the threat circles are always on in the ME. WC
  22. There is about a 7° offset. I've seen this when testing, when I place a flightpath in the ME and then compare the actual direction of flight. WC
  23. Not with regular events, no. WC
  24. Hi Slipp, Say, I was just mentioning in another thread that Ships have issues. I have a ship-based mission where an A-10C is needed to fly up close to ID the ships (it's at night, dark) and the issue is that the ship will disappear from the surface of the sea. This doesn't only happen at night. I have verification from another forum member who has seen this, too. Sorry to rain on your new mission... I hope it is fixed soon, if not already. http://forums.eagle.ru/showthread.php?t=118525 http://forums.eagle.ru/showthread.php?t=118681 WC
×
×
  • Create New...