-
Posts
494 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by d0ppler
-
cannot reproduce and missing track file Seeing my wingman contacts
d0ppler replied to d0ppler's topic in DCS: F-16C Viper
Thank you so much for your reply. Is this how it is IRL or only DCS? -
Thanks for your answer. Makes sense. I’m not the author of that campaign.
-
Formation trainer - show off your score!
d0ppler replied to d0ppler's topic in Screenshots and Videos
Nice! Go through all the triggers to make sure your Mirage is getting every trigger the F-5 (or one of the other) has. Otherwise it won't work. null Here's my record -
Me and my AI wingman are on a CAP mission. No awacs, so we rely on what we see on our own radars. Then my wingman shouts out a contact. Why doesn't that contact appear on my FCR and HSD through L16? Because if I ask my wingman to "engage bandits", then it pops up. Is there something I'm missing? Is it possible if I push button X or Y?
-
https://www.digitalcombatsimulator.com/en/files/3327920/
-
ED, I'm begging you, could you please make a deal with the creators of CAM, so those aircrafts are available straight from the bat in the mission editor? These planes adds another dimension to mission making, and when I create missions, I hate to have extra requirements for my mission to work. If the skins/brands adds a problem, then I'm fine with just generic skins, but please make the standard passenger jets available as standard.
-
Civil Aircraft Mod EULA? Can I use that mod in a Payware Campaign?
d0ppler replied to d0ppler's topic in Mission Editor
Thanks -
Get clock bearing to unit B relative from unit A
d0ppler replied to d0ppler's topic in Mission Editor
Thanks! Really appreciate it! -
Trigger for when a specific unit shoots down another specific unit?
d0ppler replied to d0ppler's topic in Mission Editor
Thanks! -
I can't seem to find any solutions to this when I search, but my apologies if it has been up before. I'm trying to get the clock bearing to a unit from my player unit's standpoint. I've divided this problem up in several "sub problems" : 1. I need to know the heading of my player (check) 2. I need to know the x/y pos on both my units (check) 3. I need to calculate the angle between those positions (check) 4. I need to be smart in order to put these things into a smart math formula so I can convert this into 1 to 12 (not gonna happen, I'm not smart enough) local function getAngleDeg(p1, p2) return math.atan2(p2.y - p1.y, p2.x - p1.x) * 180 / math.pi; end b747 = Unit.getByName("b747") player = Unit.getByName("player") player_hdg_degrees = mist.getHeading(player, false) * 180 / math.pi; angle = getAngleDeg(player:getPoint(), b747:getPoint()) trigger.action.outText("Plr hdg : " .. player_hdg .. "\nAngle : " .. angle, 1, true) I'm using the mist library, so maybe we have some tricks there? Regards, d0ppler
-
Any advice for mitigating the stupidness of my wingmen?
d0ppler replied to d0ppler's topic in Mission Editor
Thanks for your replies! It makes sense! -
I'm working on a mission where sometimes me as the player and my AI wingman needs to refuel in the air. I have a tanker that flies a simple racetrack in the center of the map. For the most part my wingman can do his refueling without acting like a monkey, but sometimes, especially when the tanker flies straight at us, my ACE skilled wingman flies straight into my tanker making a nice mid air explosion taking obviously the tanker as well as himself down to the fishes. Are there any tricks/features I can do in my mission editor I can set on either my wingman or the tanker to mitigate this mid-air crash?
-
Trigger for when a specific unit shoots down another specific unit?
d0ppler replied to d0ppler's topic in Mission Editor
Thank you for pointing that out! Here's what it looks like now, and seems to work. fratricide = {} function fratricide:onEvent(event) local _initname = '' if event.id == world.event.S_EVENT_HIT then _initname = event.initiator:getName() if event.target:getCoalition() and _initname == 'Player1' then if event.initiator:getCoalition() == event.target:getCoalition() then -- you have screwed up trigger.action.setUserFlag('505', true) end end end end world.addEventHandler(fratricide) -
Trigger for when a specific unit shoots down another specific unit?
d0ppler replied to d0ppler's topic in Mission Editor
I've literally made my first LUA script from scratch! It works, and it looks like this (It's enough to hit a friendly guy to not get mission success, and S_EVENT_HIT served perfectly) fratricide = {} function fratricide:onEvent(event) local _initname = '' if event.id == world.event.S_EVENT_HIT then _initname = event.initiator:getName() if event.initiator:getCoalition() == event.target:getCoalition() then -- you have screwed up trigger.action.setUserFlag('9', true) -- this flag gets true if misconduct of ROE as well. Mission won't be completed trigger.action.outText(_initname .. ' has shot at one of his own', 20) end end end world.addEventHandler(fratricide) -
Trigger for when a specific unit shoots down another specific unit?
d0ppler replied to d0ppler's topic in Mission Editor
Thanks! I'll try myself first, but please feel free to help me out when you have any spare time I've barely touched lua scripting, but I see now that I must learn at least the basics. -
YAY! I got it to work! Just removed the groupID parameter! EPLRS = { id = 'EPLRS', params = { value = 1 } } You got me with a couple of minutes Thanks anyway!
-
Exactly how do I enable EPLRS on the KC-135 with lua scripting? It's not possible straight from the bat in the mission editor. I don't know if it's a "bug", but I believe the KC-135 should be able to link up with the other planes through L16 irl. On the picture you'll see the script I've been trying to use, and I suspect I'm doing this COMPLETELY wrong EPLRS = { id = 'EPLRS', params = { value = boolean, groupId = number, } } groupId? The closest thing I could come up with was UNIT ID. Is that correct? Source : https://wiki.hoggitworld.com/view/DCS_command_eplrs
-
Sorry for necroing, but is this still not implemented? Nothing happens when I press this button in A2A mode in the current version of OB.
-
Thanks for your brilliant reply, Northstar!
-
https://www.f-16.net/f-16_armament_article12.html Here we can for example read that the Chiles Block 50 can use them. Why shouldn't "our" version not handle it?
-
So.. any solution? I'm experiencing the exact same problem. 1.5 years after it was reported.