Adding map scripts to the "set up game" menu

Azander

Fairy
Joined
Oct 8, 2006
Messages
133
Location
Copenhagen
Hi guys,

I'd like to add a greater variety to the "Set Up Game" menu. I realise that I can use the Mods entrance to get the scripts, or the advanced setup, but as I tend to restart a lot of times before starting a real game, this would save me a lot of time.

Can it be done?

Thanks.
 
Only by editing a core game file directly - specifically SelectMapType.lua

Right at the end you'll need to add the scripts you want to these lines

Code:
AddMapScriptByFileName("Assets\\Maps\\Continents.lua");
AddMapScriptByFileName("Assets\\Maps\\Pangaea.lua");
AddMapScriptByFileName("Assets\\Maps\\Archipelago.lua");
AddEarthMapEntry(entries);
 
Top Bottom