Empire Earth 2 Map making - MP - .ies Scripting

ImageImageTalking about Modding for EE2 and EE2 AOS. New maps, patches, programs and Multiplayer scenarios.
User avatar
calsch03
Posts: 21
Joined: 04 Dec 2015, 11:24
Location: The Netherlands
Contact:

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by calsch03 » 25 Nov 2017, 19:36



Added after 1 hour 13 minutes 13 seconds:
I have it working thanks to your script.
Timer.PNG
Timer.PNG (26.36 KiB) Viewed 629 times
I use "IsMissionTimerExpired(int)" to do an action ones the timer runs out.

I have one problem, i changed te tekst entry to "Final Wave: Survive for", but it doesn't update in the game for some reason.


User avatar
Leader
Dr.MonaLisa
Posts: 7073
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by Leader » 25 Nov 2017, 21:13

Did you delete the "zips\dbtext_cheats.utf8" file after updating the text entry?
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

User avatar
calsch03
Posts: 21
Joined: 04 Dec 2015, 11:24
Location: The Netherlands
Contact:

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by calsch03 » 25 Nov 2017, 23:19

A yeah that's it, now its changed

User avatar
calsch03
Posts: 21
Joined: 04 Dec 2015, 11:24
Location: The Netherlands
Contact:

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by calsch03 » 26 Nov 2017, 13:43

Hi,

I have implemented all the clocks and the scenario looks a lot better now.

These are the new text entries:

Code: Select all

tx_futuretext97,"""Time until the first wave"""
tx_futuretext98,"""Wave %WAVECOUNTER% of %MAXWAVE%: Next wave in"""
tx_futuretext99,"""Final Wave: Survive for"""
Thanks for your help.

calsch03

User avatar
Leader
Dr.MonaLisa
Posts: 7073
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by Leader » 26 Nov 2017, 13:58

I'm happy that I could help :)
The text entries have been updated for the 156019 update.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

User avatar
calsch03
Posts: 21
Joined: 04 Dec 2015, 11:24
Location: The Netherlands
Contact:

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by calsch03 » 21 Jan 2018, 14:11

Hi,

I've been hard at work at my mission, but I found a bug.

If you play my mission in multiplayer and the host gets a crown, the game goes out of sync and if the client gets a crown his game crashes and the host gets an out of sync error. If you play in single player however there is no crown awarded to any player.

I have been unable to find a solution for this because I can't find an option in the scripting docs to enable or disable crowns.

Does someone know anything that can help me disable or enable crowns?

Thanks in advance,

calsch03

User avatar
Leader
Dr.MonaLisa
Posts: 7073
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by Leader » 21 Jan 2018, 15:26

Hi calsch.
Could you please upload the .sav file to me? Do you play EE2 or AOS?

What version of UP1.5 do you use? Newest one?

Theoretically, the host and players should get the correct crowns status after loading the .sav file.

In UP1.5.6 crowns status is stored at the top of .sav file.
I recommend to use program HXD: https://mh-nexus.de/en/downloads.php?product=HxD

In HXD, open the game save file.
When crowns are enabled, the file header is "LChunkFile":
crowns-enabled.PNG
crowns-enabled.PNG (16.75 KiB) Viewed 575 times
When crowns are disabled, the header is "LChunkFil5":
crowns-disabled.PNG
crowns-disabled.PNG (19.38 KiB) Viewed 575 times
By default, all new scenarios/maps/saves from the map editor should store "LChunkFile" header. So I don't know where's the problem, and if possible I'd like to test it with you.

By the way, the option to enable/disable crowns is Unofficial Patch 1.5 feature, so it has no script control or anything else. Basically this option didn't exist before UP1.5.6, and it was improved with later updates.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

User avatar
calsch03
Posts: 21
Joined: 04 Dec 2015, 11:24
Location: The Netherlands
Contact:

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by calsch03 » 21 Jan 2018, 17:11

Hello monalisa,

From the looks of it, it seems that crowns are disabled:
save file.PNG
save file.PNG (58.13 KiB) Viewed 572 times
Maybe that's the reason why it crashes?

And of course you are aloud to test is with me, you just have to join my lobby. ;)

User avatar
Leader
Dr.MonaLisa
Posts: 7073
Joined: 17 Jun 2010, 11:21
Location: Poland

Re: Empire Earth 2 Map making - MP - .ies Scripting

Post by Leader » 21 Jan 2018, 17:17

Seems like the save has "No-Crowns" status. How did you generate this save? By "Test Mission" option in map editor?
What version of UP1.5 do you use? For Developers or Normal? Newest version?

Could you also contact me by the Support Chat in the Launcher?

By the way, replacing "Fil5" to "File" should fix problem in your case, but I still would like to test it a bit.
Best regards,
Dr.MonaLisa
Ministry of Game Affairs
Department of Control and Complains

User avatar
Loewenherz
Posts: 56
Joined: 23 Sep 2017, 17:26
Location: Germany

IES Script Collection - Examples

Post by Loewenherz » 03 Mar 2018, 19:54

------ THE EE2 IES SCRIPT COLLECTION -----

I have collected all ies script that i have and uploaded here. So you can look how scripts and functions in EE2 Scenarios work. There are scripts from me, Dr. Mona Lisa, e24ever and Dr. Grip. So you have a many examples and interesting scripts and i have attachment a file with all script commands from ee2.Enjoy it.
For extensive explanations please look in the EE2 SCRIPTING.doc in your EE2 Folder.

------DOWNLOAD-----
Attachments
IES Scripts.zip
(459.3 KiB) Downloaded 4 times
AllScriptCommandsfromEE2.zip
(16.38 KiB) Downloaded 19 times
Last edited by Loewenherz on 01 Aug 2018, 16:02, edited 3 times in total.
My EE2 Work:
EE2 Scripts - Notepad ++ User Defined Language make the scripting clearly and easy.
Grid Utility for EE2 and EE2X to create accurate maps.
IES Script Collection with all scenario scripts from EE2 1.5

Post Reply