-
Posts
92 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Nix Mills
-
Easy-to-use Lua Console now included in DCS-BIOS
Nix Mills replied to FSFIan's topic in Mission Editor
@Rudel_chwThank you so much for taking the time to write all this up, Eduardo. I can see that the missing link on mine is the hook file, which isn't there, and therefore there is no mention of it in the log file either. I'll try and reinstall and figure out why it never created a hook. -
Easy-to-use Lua Console now included in DCS-BIOS
Nix Mills replied to FSFIan's topic in Mission Editor
Thank you all for this post. I have followed all the instructions but I seem unable to actually connect to DCS. I'm getting a green light on connection to Virtual Cockpit and Systray Settings Lua Console, but no table to tick in DCS Connection even though I have added the BIOS script line to Export.lua. When attempting to execute return list_cockpit_params() in the Hub for Mission (running an Instant Mission, not from a mission from ME), I simply get the error response that it could not send snippet to DCS within 1 second. Does anyone know how to overcome this problem? Cheers Nix null null -
Hi all I am trying to create a mission where a building has to be destroyed with a 2,000 lbs guided bomb, but where you'd first go "roof knocking" by detonating a Maverick over the building to warn off nearby civilians. Only problem is, this three storey building gets destroyed by the impact of the Maverick. And it has to be a Map Object, because there are no multi-storey residential or commercial buildings among the static objects. So I'm wondering... Would it be possible to make a script that increases the "life" points of a Map Object, or to make it "immortal" like you can do with units? Or would it somehow be possible to make a zone within which only certain weapons have effect? Any help with this would be so much appreciated - I've spent many hours fiddling with this already.
- 1 reply
-
- scenery
- lua script
-
(and 4 more)
Tagged with:
-
Hi @Alerax Sorry for the late reply. That was a tough one. There doesn't appear to be a 'get' function for onboard / board / side / tail number. I found a few clues in the DCS World scripting file Scripts/Speech/common.lua in the lines under USNAVYPlayerAircraftCallsign. Here is a little script that looks up the three digits in your side number and prints them in a message. Each digit is multiplied by 10 and rounded down as they're otherwise some odd decimal numbers. Let's say your unit name is Aerial-1-1, which we will refer to as "player". local player = Unit.getByName('Aerial-1-1') local sidenumber = '' .. math.floor(10*player:getDrawArgumentValue(442)) .. math.floor(10*player:getDrawArgumentValue(31)) .. math.floor(10*player:getDrawArgumentValue(32)) trigger.action.outText('Player number is:' .. sidenumber, 30) Hope that helps you or anyone else who is looking for help on this. Nix
-
+1
-
When taking off from the carrier, and after making their breaking turn, AI aircraft go into a steep climb with burner until they reach 10,000 ft. Even your wingman will do this, irrespective of what you're doing, which of course makes them expend a lot of fuel right from the start (especially for the F/A-18C). Real life Case I procedures (good visibility, daytime) require departing aircraft to, after the clearing turn, to proceed on a parallel course to the carrier (BRC) at <300 kts and <500 ft until 7 miles out. Real life Case III procedures (low visibility, fog and/or night) require departing aircraft to not perform a clearing turn (as each departs with at least 30 sec intervals) to proceed on a straight course and a steady climb at <300 kts until 7 miles out. (After that they'll arc towards their first waypoint maintaining their speed and climb until 10 miles out, plus there are some radio procedures for this, but all that is not quite as important for this purpose). My wish for this list is to include this AI behaviour for Case I/III so that they don't burn right up to 10,000 ft. Love your work.
-
AI air-to-air refueling seems to work alright now but after completing refueling, the AI seems to want to return to the carrier. I'm trying to create a mission that requires flying deep into Syria with two F/A-18C launching from a carrier. I have set up the wingman as a separate group so that in can fly as my lead and attack its own targets. The steps I have up are as follow: - upon entering zone, orbiting KC-135 pushes to next waypoint -- it then flies in a straight line - at waypoint, AI gets Perform Task -> Refueling -- AI cathes up with KC-135 and starts refueling - ON REFUEL, AI inside the tanker's moving zone, it sends a message that the AI has started refueling -- this works like a charm - ONE REFUEL STOP, AI inside the tanker's small moving zone, it sends a message that the AI has stopped refueling and AI TASK PUSH to follow tanker -- AI breaks away, message appears and AI heads back to carrier I have tried giving additional orders, such as AI TASK PUSH to follow play or head to next waypoint, but to no avail. Gosh - these quirks are really frustrating me. Does anyone have suggestions to how to get this to work? Edit/update: After trying a few other approaches, it appears that all the AI's waypoints disappeared after completing refueling.
-
I'm having the same issue. I've been trying to create a mission where the player and wingman in Hornets (technically another group so as to make it lead) refuel on their way back over Syria. From reading the posts above, I've also been in v.2.7, using KC-135 flying in a race-track orbit, refuelling one at a time from the left basket and both carrying an external fuel tank. I have tried using 'Push AI Task' to next waypoint or follow, and stop refuelling task, but the AI Hornet is stuck refuelling.
-
I also have that experience. I've been trying to create a mission where the wingman is technically another group, because I wanted the wingman to be lead. At the refuelling stage, both player and wingman are low on fuel (<4000 lbs). I set the wingman to refuel first and it is supposed to display a message when the AI finishes refueling (On Refuel Stop script), but it doesn't finish and just keeps refuelling. I've tried issuing 'Push AI Task' to make it move to next waypoint, follow the player or stop refuelling, but it doesn't work.
-
Syria is a great map with lots of little POIs to check out. However, on N 35°56'7.23" E 37°57'6.53" an uneven pyramid has risen out of the ground. That is probably a bug.