Skip to content

mapconfig.php

John Hawk edited this page Oct 5, 2017 · 6 revisions

The mapconfig.php is the main config file for each map. It contains the positions of giants build-in storages, husbandries, bga and all informations of the factories. The informations are stored in an php-array. So if there are errors in the syntax of the code, FS17 WebStats wont work.

The array has following structure:

$mapconfig = array_merge ( $mapconfig, array (
	'NAME OF LOCATION' => array(
		SOME LOCATIONS OF SPECIFIC SETTINGS
	)
)

Some Locations have only some basic informations, other are more complex.

In Version 1.3 WebStats recognizes these locations in a savegame:

Clone this wiki locally