Map Editor - population limit
Posted: 29 Nov 2018, 12:32
How can i change the population limit and the epoch limit in the map editor? i'm creating a scenario
The only one active forum about Empire Earth II
https://forum.ee2.eu/
You're interested with population limit change. The simplest way:Dr.MonaLisa wrote: ↑30 Oct 2014, 03:31 .ies is a script file, should be stored in:
Documents\Empire Earth II\Scripts
To load an .ies in the map editor:
.scn is a scenario file: map + loaded script, defined areas, mission properties, etc.
Code: Select all
RULES FOR WORLD
SCENARIO
END_SCENARIO
////////////////////////////////////////////////////////////
// DEFINITIONS
////////////////////////////////////////////////////////////
DEFINITIONS
// OBJECTIVES
//PLAYERS
END_DEFINITIONS
////////////////////////////////////////////////////////////
// INITIALIZATION
////////////////////////////////////////////////////////////
INITIALIZATION
SetMaxPopCapacity(1, 999);
SetMaxPopCapacity(2, 999);
SetMaxPopCapacity(3, 999);
SetMaxPopCapacity(4, 999);
SetMaxPopCapacity(5, 999);
SetMaxPopCapacity(6, 999);
SetMaxPopCapacity(7, 999);
SetMaxPopCapacity(8, 999);
SetMaxPopCapacity(9, 999);
SetMaxPopCapacity(10, 999);
// CONSTANTS
////normal stuff like poplimt diplomatic things and something which ends with ;
//PLAYERS
END_INITIALIZATION
// ////////////////////////////////////////////////////////////
// //RUNS AFTER CINEMATIC, BEFORE OBJECTIVES OPEN
// ////////////////////////////////////////////////////////////
Code: Select all
//NO RESEARCH. NO GOING TO EPOCH 2
SetMaxEpochUI(1);
SetTechEnabled(HUMAN_PLAYER, "Main2", false);
Code: Select all
SetMaxEpochUI(1);
SetTechEnabled(1, "Main2", false);
SetTechEnabled(2, "Main2", false);
SetTechEnabled(3, "Main2", false);
SetTechEnabled(4, "Main2", false);
SetTechEnabled(5, "Main2", false);
SetTechEnabled(6, "Main2", false);
SetTechEnabled(7, "Main2", false);
SetTechEnabled(8, "Main2", false);
SetTechEnabled(9, "Main2", false);
SetTechEnabled(10, "Main2", false);
Code: Select all
RULES FOR WORLD
SCENARIO
END_SCENARIO
////////////////////////////////////////////////////////////
// DEFINITIONS
////////////////////////////////////////////////////////////
DEFINITIONS
// OBJECTIVES
//PLAYERS
END_DEFINITIONS
////////////////////////////////////////////////////////////
// INITIALIZATION
////////////////////////////////////////////////////////////
INITIALIZATION
SetMaxPopCapacity(1, 999);
SetMaxPopCapacity(2, 999);
SetMaxPopCapacity(3, 999);
SetMaxPopCapacity(4, 999);
SetMaxPopCapacity(5, 999);
SetMaxPopCapacity(6, 999);
SetMaxPopCapacity(7, 999);
SetMaxPopCapacity(8, 999);
SetMaxPopCapacity(9, 999);
SetMaxPopCapacity(10, 999);
SetMaxEpochUI(1);
SetTechEnabled(1, "Main2", false);
SetTechEnabled(2, "Main2", false);
SetTechEnabled(3, "Main2", false);
SetTechEnabled(4, "Main2", false);
SetTechEnabled(5, "Main2", false);
SetTechEnabled(6, "Main2", false);
SetTechEnabled(7, "Main2", false);
SetTechEnabled(8, "Main2", false);
SetTechEnabled(9, "Main2", false);
SetTechEnabled(10, "Main2", false);
// CONSTANTS
////normal stuff like poplimt diplomatic things and something which ends with ;
//PLAYERS
END_INITIALIZATION
// ////////////////////////////////////////////////////////////
// //RUNS AFTER CINEMATIC, BEFORE OBJECTIVES OPEN
// ////////////////////////////////////////////////////////////
Code: Select all
ToggleFogOfWar(false);
ToggleFogOfWar(true);