[WAD] V 1.11 (B825) Issue at Scenario Load
Moderator: MOD_Command
[WAD] V 1.11 (B825) Issue at Scenario Load
I've got a scenario I've been working on for a while, and I just updated to V1.11 this afternoon. WOW, this is fast. Just blazing. Nice work.
I am having one issue at Scenario Load. The whole scenario is predicated on NATO and USSR not being hostile until something causes the fight later in the scenario... they're set to "Unfriendly" at the start. The problem: as soon as it's loaded, I get "Side 'USSR' is now considered HOSTILE". I get this when either loading/starting fresh (latest version of scenario attached) or when loading a save game from play-testing last weekend.
There's no exclusion zones on any side, so I don't think that can be it.
I do have one Event that's meant to trigger late in the game that will cause NATO to start considering USSR forces HOSTILE. The Action is a simple Lua script: ScenEdit_SetSidePosture('NATO', 'USSR', "H")
The Triggers for that event are either a P-3 or an EP-3 getting shot down. It shouldn't be triggered by Scenario Load.
Would someone mind taking a look? I feel like I'm missing something, but I'm at a loss. Attached ZIP contains both the latest version of the scenario, and a savegame from last weekend.
Thanks!
I am having one issue at Scenario Load. The whole scenario is predicated on NATO and USSR not being hostile until something causes the fight later in the scenario... they're set to "Unfriendly" at the start. The problem: as soon as it's loaded, I get "Side 'USSR' is now considered HOSTILE". I get this when either loading/starting fresh (latest version of scenario attached) or when loading a save game from play-testing last weekend.
There's no exclusion zones on any side, so I don't think that can be it.
I do have one Event that's meant to trigger late in the game that will cause NATO to start considering USSR forces HOSTILE. The Action is a simple Lua script: ScenEdit_SetSidePosture('NATO', 'USSR', "H")
The Triggers for that event are either a P-3 or an EP-3 getting shot down. It shouldn't be triggered by Scenario Load.
Would someone mind taking a look? I feel like I'm missing something, but I'm at a loss. Attached ZIP contains both the latest version of the scenario, and a savegame from last weekend.
Thanks!
- Attachments
-
- TheMatch..leIssue.zip
- (607.6 KiB) Downloaded 22 times
Formerly cwemyss
-
Kitchens Sink
- Posts: 402
- Joined: Sun May 04, 2014 8:55 pm
RE: V 1.11 (B825) Issue at Scenario Load
I played around with the SCEN file a bit. First I eliminated the "Game is On" event entirely, and still got NATO going hostile against USSR at startup....so it's not that event.
I suspect it may be something in the initial side posture settings. Do you have the USSR set as Hostile to anybody that NATO is keyed Friendly to? It was hard for me to tell since some of the side postures may have changed on loading the scenario.
I suspect it may be something in the initial side posture settings. Do you have the USSR set as Hostile to anybody that NATO is keyed Friendly to? It was hard for me to tell since some of the side postures may have changed on loading the scenario.
RE: V 1.11 (B825) Issue at Scenario Load
Nope. USSR is unfriendly to NATO and Somalia, Friendly to Cuba-Ethiopia, and Neutral to Neutral. Only Hostile relationship is C-E toward Somalia, and vice-versa.
Also, this did not happen with V1.10.
Also, this did not happen with V1.10.
Formerly cwemyss
RE: V 1.11 (B825) Issue at Scenario Load
Did you test the script in the console and then save?
Try running a script that sets it back to unfriendly and save. To see if it fixes it.
Back up prior to do this.
Mike
Try running a script that sets it back to unfriendly and save. To see if it fixes it.
Back up prior to do this.
Mike
RE: V 1.11 (B825) Issue at Scenario Load
Oh and I'm asking because I've done this before and thats how I got out the jam I think. [8D]
RE: V 1.11 (B825) Issue at Scenario Load
I'll try that tomorrow night... would having run that script, even if I reverted the results, somehow make it "hang around" and now be executing on load?
(I ask because I know absolutely nothing about what happens behind the scenes...)
(I ask because I know absolutely nothing about what happens behind the scenes...)
Formerly cwemyss
- Randomizer
- Posts: 1535
- Joined: Sat Jun 28, 2008 8:31 pm
RE: V 1.11 (B825) Issue at Scenario Load
For what it's worth, spent almost three-hours on this Sunday night without success. Tried resetting postures, events and using the counsel to change the posture to unfriendly but every time the scenario loads the USSR become hostile to NATO. Even when no side has any hostile settings against any other side... Am out of ideas, sorry.
-C
-C
- michaelm75au
- Posts: 12467
- Joined: Sat May 05, 2001 8:00 am
- Location: Melbourne, Australia
RE: V 1.11 (B825) Issue at Scenario Load
When I checked the NATO side, its Posture to USSR is Hostile. Changed to Unfriendly.
Something then changes it on load
Thought I had it fixed but it is not persistent - the hostile message did not show which tricked me.[:@]
And again...
I decided not to fight it. Created an event that forces the posture back.
...
And loading a save reverts to hostile ....[:@]
[I realized that you have already tried this, but just wanted to go thru the paces[;)]]
Something then changes it on load
Thought I had it fixed but it is not persistent - the hostile message did not show which tricked me.[:@]
And again...
I decided not to fight it. Created an event that forces the posture back.
...
And loading a save reverts to hostile ....[:@]
[I realized that you have already tried this, but just wanted to go thru the paces[;)]]
Michael
- michaelm75au
- Posts: 12467
- Joined: Sat May 05, 2001 8:00 am
- Location: Melbourne, Australia
RE: V 1.11 (B825) Issue at Scenario Load
<even changing everyone to unfriendly in original scenario did not stop USSR from being hostile . All I can think of is that there is some exclusion zone or active event that isn't being seen???.>
Michael
RE: V 1.11 (B825) Issue at Scenario Load
Did you usu Lua or the side posture dialog to make the change?
Mike
Mike
- michaelm75au
- Posts: 12467
- Joined: Sat May 05, 2001 8:00 am
- Location: Melbourne, Australia
RE: V 1.11 (B825) Issue at Scenario Load
Tried both methods. The LUA action on 'Scenario load' fixes it for a scenario start, but not for a save load. Most perplexing.
Michael
RE: V 1.11 (B825) Issue at Scenario Load
Ok will have the guys take a look. Thanks for helping look into it.
Mike
Mike
RE: V 1.11 (B825) Issue at Scenario Load
I had a similar problem with a scenario I developed involving Israel, Gaza, Iraq and Iran. The postures I had set in the game were Israel unfriendly to Gaza, Iraq and Iran. Iran and Iraq neutral to each other and unfriendly to Israel. Gaza/Israel hostile. Gaza mutually friendly to Iran and Iraq.
Every time I loaded the game Iran would become immediately hostile to Israel which was not supposed to happen until specific events in the game. I tried just about all the things that have been brought up in this thread. The solution that finally worked was to export all of the Iranian units and then remove the Iran side. I then added Iran to the scenario, set the postures I wanted and then imported the Iranian units to the new Iran side. It worked - Iran considered Israel unfriendly on startup as I wanted.
Another, less involved solution that worked for me was to execute a small Lua script at scenario load: ScenEdit_SetSidePosture('Iran', 'Israel', 'U'). This also set the posture I wanted the downside being a message display if "Scenario Events" is set on in the "Game Options Message Log" control. Hope something here helps.
-Wayne Stiles
Every time I loaded the game Iran would become immediately hostile to Israel which was not supposed to happen until specific events in the game. I tried just about all the things that have been brought up in this thread. The solution that finally worked was to export all of the Iranian units and then remove the Iran side. I then added Iran to the scenario, set the postures I wanted and then imported the Iranian units to the new Iran side. It worked - Iran considered Israel unfriendly on startup as I wanted.
Another, less involved solution that worked for me was to execute a small Lua script at scenario load: ScenEdit_SetSidePosture('Iran', 'Israel', 'U'). This also set the posture I wanted the downside being a message display if "Scenario Events" is set on in the "Game Options Message Log" control. Hope something here helps.
-Wayne Stiles
“There is no limit to what a man can do so long as he does not care a straw who gets the credit for it.”
Charles Edward Montague, English novelist and essayist
~Disenchantment, ch. 15 (1922)
Charles Edward Montague, English novelist and essayist
~Disenchantment, ch. 15 (1922)
RE: V 1.11 (B825) Issue at Scenario Load
Bah my internet connection is still down so cannot load the savegame atm. But v1.11 has some improvements here. Will dig into when up and running again.
Are there any strike missions in the scens that target specific units?
Are there any strike missions in the scens that target specific units?

Developer "Command: Modern Air/Naval Operations" project!
RE: V 1.11 (B825) Issue at Scenario Load
I don't remember off the top of my head, but yes,I think I have strike missions set up that call out the Minsk and others. To be executed "in the event if hostilities." 
Formerly cwemyss
- Randomizer
- Posts: 1535
- Joined: Sat Jun 28, 2008 8:31 pm
RE: V 1.11 (B825) Issue at Scenario Load
Four ASuW missions are active and have USSR units in the target list. Deactivating the missions prevents the USSR side from becoming hostile as soon as the scenario is loaded. Just edited and tested the latest version. Brilliant catch, Mr. Emsoy! For cf_dallas, looks like you'll need some trigger and a script to activate these missions.
-C
-C
RE: V 1.11 (B825) Issue at Scenario Load
Awesome... And holy cow does the man know his product or what???
I think I can work with that.
So I'm assuming that would apply to a player side too... If you create a contingency mission to hit an Unfriendly side's known ships/facilities, does the act of creating the mission make your posture Hostile?
I think I can work with that.
So I'm assuming that would apply to a player side too... If you create a contingency mission to hit an Unfriendly side's known ships/facilities, does the act of creating the mission make your posture Hostile?
Formerly cwemyss
- Randomizer
- Posts: 1535
- Joined: Sat Jun 28, 2008 8:31 pm
RE: V 1.11 (B825) Issue at Scenario Load
Haven't tested but presumably it might if you load a saved game created after the contingency missions. Must test and see. Given that there is the option of not activating the mission or not populating the target list this feature should not present any issues for scenario designers but no doubt, some passive-aggressive rivet-counter will call it a bug and demand a fix...So I'm assuming that would apply to a player side too... If you create a contingency mission to hit an Unfriendly side's known ships/facilities, does the act of creating the mission make your posture Hostile?
Looking forward to the finished scenario, too bad I had to open the NATO side in the editor.
-C
- michaelm75au
- Posts: 12467
- Joined: Sat May 05, 2001 8:00 am
- Location: Melbourne, Australia
RE: V 1.11 (B825) Issue at Scenario Load
Actually, I think Rag has mentioned this before. If you set up a strike mission against a side, then it assumes 'hostility'.
I MUST record this somewhere so as not to be tricked again...[8D]
I MUST record this somewhere so as not to be tricked again...[8D]
Michael
-
Kitchens Sink
- Posts: 402
- Joined: Sun May 04, 2014 8:55 pm
RE: V 1.11 (B825) Issue at Scenario Load
But, if you set up a target-populated strike mission against an unfriendly or neutral side and set it to Inactive (to be triggered later via lua script based on a particular trigger), then the target side stays unfriendly or neutral as long as the strike mission is Inactive. Is that correct?


