Page 5 of 7

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

Posted: 25 Nov 2017, 20:49
by calsch03


Added after 1 hour 13 minutes 13 seconds:
I have it working thanks to your script.
Timer.PNG
Timer.PNG (26.36 KiB) Viewed 6091 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.

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

Posted: 25 Nov 2017, 21:13
by Dr.MonaLisa
Did you delete the "zips\dbtext_cheats.utf8" file after updating the text entry?

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

Posted: 25 Nov 2017, 23:19
by calsch03
A yeah that's it, now its changed

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

Posted: 26 Nov 2017, 13:43
by calsch03
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

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

Posted: 26 Nov 2017, 13:58
by Dr.MonaLisa
I'm happy that I could help :)
The text entries have been updated for the 156019 update.

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

Posted: 21 Jan 2018, 14:11
by calsch03
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

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

Posted: 21 Jan 2018, 15:26
by Dr.MonaLisa
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 6037 times
When crowns are disabled, the header is "LChunkFil5":
crowns-disabled.PNG
crowns-disabled.PNG (19.38 KiB) Viewed 6037 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.

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

Posted: 21 Jan 2018, 17:11
by calsch03
Hello monalisa,

From the looks of it, it seems that crowns are disabled:
save file.PNG
save file.PNG (58.13 KiB) Viewed 6034 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. ;)

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

Posted: 21 Jan 2018, 17:17
by Dr.MonaLisa
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.

IES Script Collection - Examples

Posted: 03 Mar 2018, 19:54
by Loewenherz
------ 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-----