My scenarios for Empire Earth 2
- Loewenherz
- Posts: 244
- Joined: 23 Sep 2017, 17:26
- Has thanked: 7 times
- Been thanked: 21 times
Re: My scenarios for Empire Earth 2
No problem. I take this as a basis for improved cooperation.
List of tutorials, useful threads and utilities (look here before posting): Here
Add Pics to Map: viewtopic.php?f=54&p=25184#p25184
Loews Work: viewtopic.php?f=54&t=5160
Add Pics to Map: viewtopic.php?f=54&p=25184#p25184
Loews Work: viewtopic.php?f=54&t=5160
- Loewenherz
- Posts: 244
- Joined: 23 Sep 2017, 17:26
- Has thanked: 7 times
- Been thanked: 21 times
Re: My scenarios for Empire Earth 2
Here are the current files.
- Attachments
-
- KoreanWar_script.ies
- (11.99 KiB) Downloaded 116 times
-
- Byzantium_script.ies
- (21.69 KiB) Downloaded 115 times
List of tutorials, useful threads and utilities (look here before posting): Here
Add Pics to Map: viewtopic.php?f=54&p=25184#p25184
Loews Work: viewtopic.php?f=54&t=5160
Add Pics to Map: viewtopic.php?f=54&p=25184#p25184
Loews Work: viewtopic.php?f=54&t=5160
- Dr.MonaLisa
- High Representative
- Posts: 8711
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 109 times
Re: My scenarios for Empire Earth 2
Thanks for sharing them, Loew.
Bogdan, could you please check them and apply your recent changes?
Bogdan, could you please check them and apply your recent changes?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Re: My scenarios for Empire Earth 2
I've checked and tested them, everything works as expected. So I also wrote Loew about OBJECTIVE obj_Byzantium4 description in Byzantium scenario .dff file, if he made that small change in it too than everything is ready
- Dr.MonaLisa
- High Representative
- Posts: 8711
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 109 times
Re: My scenarios for Empire Earth 2
Ok, so just to confirm, these changes that caused crashes before 158025 are also present in updated .ies / .scn files that I received? viewtopic.php?p=27253#p27253
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Re: My scenarios for Empire Earth 2
Yes, the changes with constants are here too, so scenarios should not crash anymore.
Earlier constants were also fixed in Cold War 1965, but as it doesn't have objectives included, it had no additional issues
Earlier constants were also fixed in Cold War 1965, but as it doesn't have objectives included, it had no additional issues
Re: My scenarios for Empire Earth 2
Hello Mona! Please update script in my KoreanWar scenario:
I discovered that with new paratroops plane fix it's actually possible to win quicker with South Korea players in game, never thought of it, lol
So I took a recent version of script from this topic and added simple win command:
so now it looks like this:
I think it should work, although I can't test it, as I can't import custom .ies to in-game scenario (and my old scenario had other script).
I don't quite remember why we avoided using simple WinScenario() and LoseScenario() in the first place, but it is, well, necessary.
Spoiler
I discovered that with new paratroops plane fix it's actually possible to win quicker with South Korea players in game, never thought of it, lol
So I took a recent version of script from this topic and added simple win command:
Code: Select all
STEP
WinScenario();
Code: Select all
RULE Objective3 ONESHOT
if (!DoesUnitExist( "tx_King_Korean_1" )
&& !DoesUnitExist( "tx_King_Korean_2" )
&& !DoesUnitExist( "tx_King_Korean_3" )
&& !DoesUnitExist( "tx_King_Korean_4" )
&& !DoesUnitExist( "tx_King_Chinese_1" ))
then ObjectiveCompleted3
END_RULE
ACTION ObjectiveCompleted3
SCRIPT WORLD
SetObjectiveCompleted("obj_bogdan_KoreanPeninsula1");
STEP
WinScenario();
END_SCRIPT
END_ACTION
I don't quite remember why we avoided using simple WinScenario() and LoseScenario() in the first place, but it is, well, necessary.
- Dr.MonaLisa
- High Representative
- Posts: 8711
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 109 times
Re: My scenarios for Empire Earth 2
Hi. Thanks for the improvements, but please send to me the final .scn (or whatever file it was). I am not loading .ies scripts to scenarios of the other users as it might cause more harms and problems than when done by the author.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Re: My scenarios for Empire Earth 2
Ok, so I tried to put .ies in current in-game scenario and it was imported successfully this time, strange.
But the problem is that WinScenario(); doesn't work, after all the necessary Kings are killed nothing happens, and the game proposes to crush other players.
Well, I remember now why we didn't use this command...
The workaround we used was to kill all AI units
It is not so aesthetic when it comes to your allies, though
I mean, it blows up all units and destroy all allies' buildings, the very thing a player may have wanted to prevent happening in this scenario logic.
What do you think?
But the problem is that WinScenario(); doesn't work, after all the necessary Kings are killed nothing happens, and the game proposes to crush other players.
Well, I remember now why we didn't use this command...
The workaround we used was to kill all AI units
Code: Select all
ACTION KingDeadAction2
SCRIPT WORLD
if ((PlayerInGame(2)) && (!IsPlayerHumanControlled(2))){
SetAIDiplomacyEnabled(2,true);
ForceSurrenderOffer(2, 1);
SetAIDiplomacyEnabled(2,false);
}
else {
CreateNamedGroup("Group_Korea_1");
AddUnitsByTypeToGroup("Group_Korea_1", "BareBoneBuilding", 2, kPlayerMode_Self, NULL);
AddUnitsByAttributeToGroup("Group_Korea_1", "MobileUnits", 2, kPlayerMode_Self, NULL);
if(NumUnitsInGroup("Group_Korea_1") > 0){
SelectGroupForPlayer("Group_Korea_1", 2);
KillSelection();
ClearSelection();
}
}
END_SCRIPT
END_ACTION
I mean, it blows up all units and destroy all allies' buildings, the very thing a player may have wanted to prevent happening in this scenario logic.
What do you think?
- Dr.MonaLisa
- High Representative
- Posts: 8711
- Joined: 17 Jun 2010, 11:21
- Location: Poland
- Has thanked: 49 times
- Been thanked: 109 times
Re: My scenarios for Empire Earth 2
It might be related to: viewtopic.php?p=23964#p23964 ?
Is the Victory Condition set to "Script Says So"?
Is the Victory Condition set to "Script Says So"?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains