New Scenario for Testing - Operation El Dorado Canyon, 1986
Moderator: MOD_Command
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
Kushan,
thanks for making this scenario, however, routing per mission planner seems to be borked. Also, it's not entirely clear if having the tankers as part of the targeting missions is working? I've gotten is so that I can get the tasked missions to route properly, but only after the F-111's are in route and then it gets weird with routing going back on itself. I'm having a heck of time to get the route planner to properly route based on targeting information, maybe I'm doing something incorrectly.
If I plan from the outset (single tasking missions with tankers), the F-111's and accompanying tankers don't route and just loiter above the airbases, period. If I setup the routes as support and then bunch them into the four planned waypoints, it kinda works, but then I got to setup targeting information for the bombers and it routes from England???? which totally screws up the inbound bombing runs. Am I missing something here?
thanks for making this scenario, however, routing per mission planner seems to be borked. Also, it's not entirely clear if having the tankers as part of the targeting missions is working? I've gotten is so that I can get the tasked missions to route properly, but only after the F-111's are in route and then it gets weird with routing going back on itself. I'm having a heck of time to get the route planner to properly route based on targeting information, maybe I'm doing something incorrectly.
If I plan from the outset (single tasking missions with tankers), the F-111's and accompanying tankers don't route and just loiter above the airbases, period. If I setup the routes as support and then bunch them into the four planned waypoints, it kinda works, but then I got to setup targeting information for the bombers and it routes from England???? which totally screws up the inbound bombing runs. Am I missing something here?
- BeirutDude
- Posts: 2811
- Joined: Sat Apr 27, 2013 9:44 am
- Location: Jacksonville, FL, USA
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
Kushan,
thanks for making this scenario, however, routing per mission planner seems to be borked. Also, it's not entirely clear if having the tankers as part of the targeting missions is working? I've gotten is so that I can get the tasked missions to route properly, but only after the F-111's are in route and then it gets weird with routing going back on itself. I'm having a heck of time to get the route planner to properly route based on targeting information, maybe I'm doing something incorrectly.
If I plan from the outset (single tasking missions with tankers), the F-111's and accompanying tankers don't route and just loiter above the airbases, period. If I setup the routes as support and then bunch them into the four planned waypoints, it kinda works, but then I got to setup targeting information for the bombers and it routes from England???? which totally screws up the inbound bombing runs. Am I missing something here?
Unfortunately I don't have time to play test it again, and this one takes a lot of time due to the amount of micromanaging you have to do (and that isn't a criticism of the scenario this was one of the most complex missions of the Cold War Period). What I did for the transit was create "Support Missions" with Parallel tracks going through the Straits to off northern Tunisia. On each "Track" I assigned 1-2 KC-135s, 1-2 KC-10, 2-3 F-111s and 0-1 EF-111 (more or less). That way each Mission had dedicated tankers and it made sorting the refueling soooooooooo much easier. As I recall I think I set up 6 support missions. One word of warning when tanking make sure everyone drops to about 350 knots or things get really strung out. You'll find you spend a lot of time managing air speed!!!! Dont worry about targeting until you get off of Tunisia! Use a support mission to get you in range and then "Shift+F1" to set you targets. Also watch altitude on ingress the aircraft seem to ant to pop up (its an A/I thing not the scenario).
"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
Don't try to set up a strike mission from the UK to Libya. Get the USAF strike force down to Libya first. When they arrive around Sicily then give them targeting orders or assign them to a strike mission. I did my last play through similar to BeirutDude.
Since this is the thread for the CMANO version, I'm going to assume your using it. I suggest going and downloading the CMO variant HERE. Even if you don't have CMO. I included a PDF in the zip file that has some suggestions on how to manage things.
Planning on doing a Let's Play/tutorial video this week.
Since this is the thread for the CMANO version, I'm going to assume your using it. I suggest going and downloading the CMO variant HERE. Even if you don't have CMO. I included a PDF in the zip file that has some suggestions on how to manage things.
Planning on doing a Let's Play/tutorial video this week.
- BeirutDude
- Posts: 2811
- Joined: Sat Apr 27, 2013 9:44 am
- Location: Jacksonville, FL, USA
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
I might steal some of your Lua coding for the radars if you don't mind.
"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
ORIGINAL: BeirutDude
I might steal some of your Lua coding for the radars if you don't mind.
I don't mind. Make sure you get it from the CMO version. I didn't implement it into the one for CMANO.
- BeirutDude
- Posts: 2811
- Joined: Sat Apr 27, 2013 9:44 am
- Location: Jacksonville, FL, USA
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
Just tested the Lua code with four Cheese Boards in CMO, works great!!!!!!!
"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
- BeirutDude
- Posts: 2811
- Joined: Sat Apr 27, 2013 9:44 am
- Location: Jacksonville, FL, USA
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
Thanks Kushan04! Thanks to your script most of the Russian Radars in my "Putins War In the Jaws of the Bear 2022" scenario now activate-deactivate with a 15 second period (which I may adjust).
[&o] [&o] [&o] [&o]
Also the reason I did that scenario was this scenario. It got me thinking about a SEAD strike on the Kola Peninsula based out of Iceland.
[&o] [&o] [&o] [&o]
Also the reason I did that scenario was this scenario. It got me thinking about a SEAD strike on the Kola Peninsula based out of Iceland.
"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
Real thanks goes to Apache. I had an idea, and a bad script but he rewrote it to the one I used here. Very versatile script, I've used modified versions of it throughout the scenario.
I look forward to playing it.
I look forward to playing it.
- BeirutDude
- Posts: 2811
- Joined: Sat Apr 27, 2013 9:44 am
- Location: Jacksonville, FL, USA
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
It inspired me to try to learn more Lua, but the stuff I found online really put me off! After a 1/2 hour I was so frustrated I gave up!
I need Lua for old fart morons!
I need Lua for old fart morons!
"Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem."
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
PRESIDENT RONALD REAGAN, 1985
I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
Hi, I'm not sure if this is the best thread to report a problem with this scenario, but every time I start it (in CMO), I'm getting this Lua error:
"Lua script execution error: [string "Game_Setup"]:224: attempt to compare nil with number"
It is displayed right after unpausing CMO, at the same time as "Special messages" window with weather forcast.
I'm not sure if this is harmful and has any impact on the scenario as I just started looking at it. I've a copy of this scenario from the Community Scenario Pack 043.
"Lua script execution error: [string "Game_Setup"]:224: attempt to compare nil with number"
It is displayed right after unpausing CMO, at the same time as "Special messages" window with weather forcast.
I'm not sure if this is harmful and has any impact on the scenario as I just started looking at it. I've a copy of this scenario from the Community Scenario Pack 043.
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
ORIGINAL: stolowski
Hi, I'm not sure if this is the best thread to report a problem with this scenario, but every time I start it (in CMO), I'm getting this Lua error:
"Lua script execution error: [string "Game_Setup"]:224: attempt to compare nil with number"
It is displayed right after unpausing CMO, at the same time as "Special messages" window with weather forcast.
I'm not sure if this is harmful and has any impact on the scenario as I just started looking at it. I've a copy of this scenario from the Community Scenario Pack 043.
Sorry Stolowski, I've got no clue whats going on. I just ran all 3 copies of the same scenario (my dev version, Steam, and the one from the CSP zip) and they all work fine. Please make sure your version of CMO is updated to at least the latest official patch.
Devs say it all the time; please upload a save game. Its hard to diagnose issues without one.
Its not harmful, all it means is a script didn't run. Likely one of the scenario features I scripted in isn't going to work but it'll still be playable. Its not something that's going to crash your PC.
Please try the version from THIS thread. Its the same as the CSP/Steam. Let me know if you have the same issue.
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
ORIGINAL: Kushan04
Sorry Stolowski, I've got no clue whats going on. I just ran all 3 copies of the same scenario (my dev version, Steam, and the one from the CSP zip) and they all work fine. Please make sure your version of CMO is updated to at least the latest official patch.
Devs say it all the time; please upload a save game. Its hard to diagnose issues without one.
Its not harmful, all it means is a script didn't run. Likely one of the scenario features I scripted in isn't going to work but it'll still be playable. Its not something that's going to crash your PC.
Please try the version from THIS thread. Its the same as the CSP/Steam. Let me know if you have the same issue.
Kushan04: I think the problem was caused by the fact that I was trying to load your scenario after playing some other scenario (I finished one of the Silent Service missions, then returned to the Start Menu, and tried to start Operation El Dorado Canyon); I tried a few times (without quitting CMO), and it was failing like that every time right after loading (after un-pausing). Perhaps CMO didn't reinitialize something correctly after finishing my previous game; I've just now tried by starting CMO and your scenario loaded just fine with no error!
I guess it was a bug/glitch of CMO, most likely something very elusive because I've never experienced it before in 300+ hours with CMO. And by the way I'm running the current stable 1.02.114714, steam version.
Thanks
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
That'll do it. CMO doesn't clear out lua variables when you load a new scenario after having run previous one. You have to close the game and restart or the scenario designer has to specifically set there value to 0. Normally not a problem because most designers use there own variables but I used a lot of Apaches scripts with some minor changes to values. The variable names where all left unchanged. In short, the weather script was holding over values from one of his scenarios.
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
Hi Kushan, I have the same error message at the beginning of your scenario. I looked at the lua code and it looks like there is a small typo in the variable name in the "Game_Setup" script. Name of the local variable is "BenghasziSHORAD" (with the letter "S" in addition) and in the IF statement the name of the variable "BenghaziSHORAD" is used. When I delete the letter "S", everything works fine. Thanks.


- Attachments
-
- OPElDorado.jpg (33.83 KiB) Viewed 539 times
RE: New Scenario for Testing - Operation El Dorado Canyon, 1986
ORIGINAL: mikkey
Hi Kushan, I have the same error message at the beginning of your scenario. I looked at the lua code and it looks like there is a small typo in the variable name in the "Game_Setup" script. Name of the local variable is "BenghasziSHORAD" (with the letter "S" in addition) and in the IF statement the name of the variable "BenghaziSHORAD" is used. When I delete the letter "S", everything works fine. Thanks.
Thanks mikkey, fixed. I'll push an update to Steam and the other thread in a few days. I'm going to make some minor changes to the scoring.


