PDA

View Full Version : Adding maps



Jagger
09-15-2002, 02:41
I designed a new western europe map.

I would like to see the map show up when battles are generated within the strategic game.

How would I add the map to say Mercia? So that if a battle occurs, my map would show up? Can multiple maps be used for a single province?

Thanks in advance!

barocca
09-15-2002, 03:28
ok,
this is a little tricky to explain,
but once you get it, it's a piece of cake!!

For this Example I'll use the
campmap/startpos/early.txt file

Determine where you want the map to be used, which province Border.
(for this instance we'll pick Mercia)
You see each province that Mercia borders can have a different set of maps,
and the actual map for the battle is selected at random (maybe!- not sure yet).

Open Early.txt and then edit/find maps!

//========================================
//Border Info
//Attributes of borders between provinces
//and the maps available to each border
//========================================
I've Highlighted the Map Controls

SetBorderInfo:: ID_NORTH_UMBRIA ID_MERCIA 7712 6000 0 LUSH AT_WESTERN_EUROPEAN INLAND FLAT NO_RIVER
SetBorderInfo:: ID_WALES ID_MERCIA 7336 6480 0 LUSH AT_WESTERN_EUROPEAN INLAND HLL2FLT NO_RIVER
SetBorderInfo:: ID_WESSEX ID_MERCIA 7600 7592 0 LUSH AT_WESTERN_EUROPEAN INLAND FLAT RIVER
SetBorderInfo:: ID_NORTH_SEA ID_MERCIA 8384 6320 0 LUSH AT_WESTERN_EUROPEAN COAST FLAT NO_RIVER
SetBorderInfo:: ID_ENGLISH_CHANNEL ID_MERCIA 8984 7136 0 LUSH AT_WESTERN_EUROPEAN COAST HILLY NO_RIVER
SetBorderInfo:: ID_IRISH_SEA ID_MERCIA 7136 5680 0 LUSH AT_WESTERN_EUROPEAN COAST FLAT NO_RIVER

=========
so we have
INLAND FLAT NO_RIVER
INLAND HLL2FLT NO_RIVER
INLAND FLAT RIVER
COAST FLAT NO_RIVER
COAST HILLY NO_RIVER
COAST FLAT NO_RIVER

Still doesn't help us much does it?
I originally thought the inf files in the map folder would be called for this!
but it doesn't appear to be that way.
It's simply a matter of renaming your map to fit in with the above selections!
i'm not going to list all the combinations
INLAND FLAT NO_RIVER
uses maps flatinland01.jjm to flatinland24.jjm

INLAND HLL2FLT NO_RIVER
flattohillsinland01.jjm

INLAND FLAT RIVER
flatinlandriver01.jjm

COAST FLAT NO_RIVER
flatcoastal01.jjm

and so on,

I have not found a table anywhere that tells the game which particular maps to use,

and i do not know if it's truly random - because I've just played 6 battles in a row in Pomerania (early campaign) and 5 of them were on the same map, where Pomerania's landward borders are "inland flat no river" - meaning 24 choices in the maps folder!


------------------
Clan Doragon
DoragonBarocca of Clan Doragon (http://doragon.barocca.web1000.com/)

[This message has been edited by barocca (edited 09-16-2002).]

barocca
09-15-2002, 03:32
remember your map will be used as a random choice for EVERY province that has the same parameters!

if you make a map for INLAND FLAT NORIVER, any province matching the conrol, terrain (ie. Lush etc.) and architecture (ie. West European etc.) will be able to "use" that map!

[This message has been edited by barocca (edited 09-14-2002).]

Jagger
09-15-2002, 04:46
Great!!

Thanks for all the info. Let me see if I can fit my map in...

Thanks agains!