).
Code: Select all
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "Exploration");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(2, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "Exploration");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(3, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "Exploration");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(4, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "Exploration");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(5, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "Exploration");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(6, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "Exploration");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(7, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "Exploration");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(8, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "Exploration");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
AttachEffectToPlayer(9, "SeaLanesDoctrine");
So I added a crown effect to all naval units. But you can add other effects, for example "Drill", then your land units will be faster.
Maybe it can give you some examples.
About the other effects - I think you can find them in "db.zip\db\AreaEffects". I don't think it's possible to create effects "in script", so you would have to mod game files to add them.
Must be saved as scenario. Map files don't contain scripts I think.
Then after you load a scenario in game - you can save a game and move from "Documents\Empire Earth II\savegame_SP" to "Documents\Empire Earth II\savegame_MP" to load it in Multiplayer games (
Unfortunately I haven't tried with territories, so I won't know anything about it. I was "learning" from this pseudo "EE2 SCRIPTING.doc", so if there are no information about it - then we will never find out if it's possible
Maybe just add all player's city centers to a special group, and then count number of units in this group? Then make a function like: