Abstracted from cave+normal to kzedmaps. Can now have any configurable type of map.
This commit is contained in:
parent
4b5e6e6f80
commit
8263918b8d
5 changed files with 213 additions and 144 deletions
|
|
@ -1,10 +1,17 @@
|
|||
var setup = {
|
||||
var config = {
|
||||
tileUrl: 'tiles/',
|
||||
updateUrl: 'up/', // For Apache and lighttpd
|
||||
// updateUrl: 'up/default.aspx?lasttimestamp=', // For IIS
|
||||
updateRate: 2000, // Seconds the map should poll for updates. (Seconds) * 1000. The default is 2000 (every 2 seconds).
|
||||
showPortraitsOnMap: true,
|
||||
showPortraitsInPlayerList: true,
|
||||
showPlayerNameOnMap: false
|
||||
showPlayerNameOnMap: false,
|
||||
defaultMap: 'defaultmap',
|
||||
maps: {
|
||||
'defaultmap': new DefaultMapType(),
|
||||
'cavemap': new CaveMapType()
|
||||
},
|
||||
tileWidth: 128,
|
||||
tileHeight: 128
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue