Empire Earth 2 Map making - MP - .ies Scripting

ImageImageTalking about Modding for EE2 and EE2 AOS. New maps, patches, programs and Multiplayer scenarios.
Loewenherz
Posts: 10
Joined: 23 Sep 2017, 17:26
Location: Germany

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

Post by Loewenherz » 01 Oct 2017, 15:16

Two new useful functions that i found in the List from Dr.Mona Lisa and that is not explained in the Scripting Doc. ;)

// void TributeTerritory(int in_iPlayerFromID, int in_iTerritoryID)
// That are now my Land, and all Buildings of that. Hehehe.
TributeTerritory(1, "Mexico");

// void TributeUnits(int in_iPlayerFromID, const char *in_szGroupName)
// Hey buddy, give me your units.
TributeUnits(1, "GroupTribute");

* float in_fAngle

According to my experience, that parameter doesn't work, except in SetCameraHeading.


Loewenherz
Posts: 10
Joined: 23 Sep 2017, 17:26
Location: Germany

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

Post by Loewenherz » 07 Oct 2017, 13:26

Two new Audiofunctions for scripting, thats not explained in the Scripting Doc.

// Play a own streaming background music, from the music folder in the Empire Earth 2 directory.
int PlayOneShotMusic(const char *in_filename);

// Same as PlayOneShotMusic, but makes the music loop indefinitely.
// You definitely want to save the music handle for this one so you can
// stop it.
int PlayLoopingMusic(const char *in_filename);

Loewenherz
Posts: 10
Joined: 23 Sep 2017, 17:26
Location: Germany

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

Post by Loewenherz » 08 Oct 2017, 23:41

Hi Mona,

have you solved how the rule HasTextBeenTyped work?

http://ee.heavengames.com/cgi-bin/forum ... ,37878,,10

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

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

Post by Leader » 08 Oct 2017, 23:45

Hey. No I didn't find a solution. Seems like this function just doesn't work :( I tried many possibilities and texts but nothing ever worked.

Loewenherz
Posts: 10
Joined: 23 Sep 2017, 17:26
Location: Germany

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

Post by Loewenherz » 09 Oct 2017, 07:19

Ok, thanks for the answer. ;)

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

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

Post by Leader » 20 Oct 2017, 18:57

Loewenherz, do you maybe know how to set the "normal" time of day in the map editor or scripts, for EE2 scenario? I wanted to enable the new "Cycle" time option, but didn't find it anywhere. The functions in the .ies scrip seems to be useless for that.

Post Reply