add back old europe map as Europe Classic

This commit is contained in:
evan
2025-04-24 08:56:36 -07:00
parent 34333e306f
commit 9428ac1a28
12 changed files with 205 additions and 0 deletions
File diff suppressed because one or more lines are too long
+193
View File
@@ -0,0 +1,193 @@
{
"name": "Europe",
"width": 2000,
"height": 1000,
"nations": [
{
"coordinates": [171, 171],
"name": "Iceland",
"strength": 1,
"flag": "is"
},
{
"coordinates": [477, 473],
"name": "Ireland",
"strength": 1,
"flag": "ie"
},
{
"coordinates": [650, 500],
"name": "United Kingdom",
"strength": 3,
"flag": "gb"
},
{
"coordinates": [560, 800],
"name": "Spain",
"strength": 2,
"flag": "es"
},
{
"coordinates": [726, 616],
"name": "France",
"strength": 2,
"flag": "fr"
},
{
"coordinates": [1050, 745],
"name": "Italy",
"strength": 1,
"flag": "it"
},
{
"coordinates": [872, 634],
"name": "Switzerland",
"strength": 1,
"flag": "ch"
},
{
"coordinates": [960, 271],
"name": "Norway",
"strength": 1,
"flag": "no"
},
{
"coordinates": [1095, 336],
"name": "Sweden",
"strength": 1,
"flag": "se"
},
{
"coordinates": [1403, 235],
"name": "Finland",
"strength": 1,
"flag": "fi"
},
{
"coordinates": [775, 541],
"name": "Belgium",
"strength": 1,
"flag": "be"
},
{
"coordinates": [868, 487],
"name": "Netherlands",
"strength": 1,
"flag": "nl"
},
{
"coordinates": [1000, 480],
"name": "Germany",
"strength": 1,
"flag": "de"
},
{
"coordinates": [1017, 628],
"name": "Austria",
"strength": 1,
"flag": "at"
},
{
"coordinates": [1120, 477],
"name": "Poland",
"strength": 1,
"flag": "pl"
},
{
"coordinates": [1060, 530],
"name": "Czech Republic",
"strength": 1,
"flag": "cz"
},
{
"coordinates": [1540, 602],
"name": "Ukraine",
"strength": 1,
"flag": "ua"
},
{
"coordinates": [1500, 440],
"name": "Belarus",
"strength": 1,
"flag": "by"
},
{
"coordinates": [1400, 670],
"name": "Romania",
"strength": 1,
"flag": "ro"
},
{
"coordinates": [1580, 834],
"name": "Turkey",
"strength": 1,
"flag": "tr"
},
{
"coordinates": [525, 955],
"name": "Morocco",
"strength": 1,
"flag": "ma"
},
{
"coordinates": [1674, 449],
"name": "Russia",
"strength": 3,
"flag": "ru"
},
{
"coordinates": [1750, 950],
"name": "Syrian Arab Republic",
"strength": 1,
"flag": "sy"
},
{
"coordinates": [1930, 950],
"name": "Iraq",
"strength": 1,
"flag": "iq"
},
{
"coordinates": [1900, 720],
"name": "Georgia",
"strength": 1,
"flag": "ge"
},
{
"coordinates": [950, 930],
"name": "Tunisia",
"strength": 1,
"flag": "tn"
},
{
"coordinates": [740, 940],
"name": "Algeria",
"strength": 1,
"flag": "dz"
},
{
"coordinates": [460, 830],
"name": "Portugal",
"strength": 1,
"flag": "pt"
},
{
"coordinates": [1300, 830],
"name": "Greece",
"strength": 1,
"flag": "gr"
},
{
"coordinates": [1270, 700],
"name": "Serbia",
"strength": 1,
"flag": "rs"
},
{
"coordinates": [1200, 630],
"name": "Hungary",
"strength": 1,
"flag": "hu"
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 828 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

+1
View File
@@ -7,6 +7,7 @@ import { getMapsImage } from "../utilities/Maps";
export const MapDescription: Record<keyof typeof GameMapType, string> = {
World: "World",
Europe: "Europe",
EuropeClassic: "Europe Classic",
Mena: "MENA",
NorthAmerica: "North America",
Oceania: "Oceania",
+3
View File
@@ -4,6 +4,7 @@ import australia from "../../../resources/maps/AustraliaThumb.webp";
import betweenTwoSeas from "../../../resources/maps/BetweenTwoSeasThumb.webp";
import blackSea from "../../../resources/maps/BlackSeaThumb.webp";
import britannia from "../../../resources/maps/BritanniaThumb.webp";
import europeClassic from "../../../resources/maps/EuropeClassicThumb.webp";
import europe from "../../../resources/maps/EuropeThumb.webp";
import faroeislands from "../../../resources/maps/FaroeIslandsThumb.webp";
import gatewayToTheAtlantic from "../../../resources/maps/GatewayToTheAtlanticThumb.webp";
@@ -28,6 +29,8 @@ export function getMapsImage(map: GameMapType): string {
return oceania;
case GameMapType.Europe:
return europe;
case GameMapType.EuropeClassic:
return europeClassic;
case GameMapType.Mena:
return mena;
case GameMapType.NorthAmerica:
+1
View File
@@ -90,6 +90,7 @@ export abstract class DefaultServerConfig implements ServerConfig {
GameMapType.Oceania,
GameMapType.Japan, // Japan at this level because its 2/3 water
GameMapType.FaroeIslands,
GameMapType.EuropeClassic,
].includes(map)
) {
return Math.random() < 0.3 ? 50 : 25;
+2
View File
@@ -51,6 +51,7 @@ export enum Team {
export enum GameMapType {
World = "World",
Europe = "Europe",
EuropeClassic = "Europe Classic",
Mena = "Mena",
NorthAmerica = "North America",
SouthAmerica = "South America",
@@ -76,6 +77,7 @@ export const mapCategories: Record<string, GameMapType[]> = {
GameMapType.NorthAmerica,
GameMapType.SouthAmerica,
GameMapType.Europe,
GameMapType.EuropeClassic,
GameMapType.Asia,
GameMapType.Africa,
GameMapType.Oceania,
+1
View File
@@ -42,6 +42,7 @@ const MAP_FILE_NAMES: Record<GameMapType, string> = {
[GameMapType.BetweenTwoSeas]: "BetweenTwoSeas",
[GameMapType.KnownWorld]: "KnownWorld",
[GameMapType.FaroeIslands]: "FaroeIslands",
[GameMapType.EuropeClassic]: "EuropeClassic",
};
class GameMapLoader {
+1
View File
@@ -9,6 +9,7 @@ const maps = [
"WorldMap",
"BlackSea",
"Europe",
"EuropeClassic",
"Mars",
"Mena",
"Oceania",
+1
View File
@@ -94,6 +94,7 @@ export class MapPlaylist {
case PlaylistType.SmallMaps:
return {
World: 4,
EuropeClassic: 3,
Mena: 2,
Pangaea: 1,
Asia: 1,