I was lucky enough to catch a few minutes of Frogboy's spare time this morning and he shared some Amazing info on how we can make Custom Map Sizes of ANY SIZE by defining it in XML. Seriously, how many other multinational CEO's do you know that will take the time out of their busy schedule to sit down and chat with a modder? None that I know of!!! Thanks a lot, Frogboy. Again you prove to us all who the best and hardest working CEO in the business really is
For all those itching to know what you have to do, here's a copy of the conversation (posted with Frogboy's permission)
[11:41:54 AM] Raven Xavier: Hey chief, sorry to bug you, I know you're busy. Quick question, is it "possible" we'll be getting a Extra Large Map size by or before launch? Thanks in advanced and I won't bug you anymore today
[11:42:26 AM] Brad Wardell: Hi.
[11:42:28 AM] Brad Wardell: Answer: Yes and No.
[11:42:32 AM] Brad Wardell: Yes, there will be crazy large maps
[11:42:39 AM] Brad Wardell: but they won't be randomly generated.
[11:42:43 AM] Brad Wardell: They'll be pre-made.
[11:42:52 AM] Raven Xavier: thats fine, I plan on making mine by hand
[11:43:00 AM] Brad Wardell: You can right now.
[11:43:07 AM] Raven Xavier: Extra Large?
[11:43:11 AM] Brad Wardell: look for something like coremapsizes.xml
[11:43:12 AM] Brad Wardell: or something like that
[11:43:20 AM] Brad Wardell: in the elemental/data/english folder
[11:43:24 AM] Brad Wardell: it's all data driven
[11:43:28 AM] Brad Wardell: you could make an insane sized map
[11:43:33 AM] Brad Wardell: the map sizes are just xml entries.
[11:43:45 AM] Raven Xavier: will do, that's awesome . and that will let me load up a blank of the size I chose in the editor?
[11:44:33 AM] Brad Wardell: cormaps.xml
[11:44:37 AM] Brad Wardell: in the data\english folder
[11:44:40 AM] Brad Wardell: just add your own
[11:47:02 AM] Raven Xavier: another stupid question, if I make a new XML called XL_Map.XML and add in the extra large one, then just leave it in that folder with the rest of them, will the game see it? or should I add it in another folder?
[11:47:30 AM] Raven Xavier: sorry for the newb questions
[11:47:47 AM] Raven Xavier: I found the file though and I'm ready to make a new one
[11:47:53 AM] Raven Xavier: much appreciated
[11:49:04 AM] Brad Wardell: It doesn't care about the file names at all.
[11:49:37 AM] Brad Wardell: As long as the top is called <MapTypes> and ends with </MapTypes> it will be fine
[11:49:41 AM] Brad Wardell: It'd designed to be shared
[11:49:50 AM] Brad Wardell: So you shouldn't ever have to modify an existing file
[11:49:55 AM] Brad Wardell: Just make a new file with new stuf fin it
[11:50:29 AM] Raven Xavier: awesome. thanks a lot chief you're the man I'll leave you alone and let you get back to more important things now. Great Work on everything Btw. Elemental is going to be a SMASH Hit, I just know it.
[11:51:08 AM] Brad Wardell: Raven.xml
[11:51:10 AM] Brad Wardell:
Code: xml
- <MapTypes>
- <MapType InternalName="CrazySize">
- <DisplayName>Crazy Size</DisplayName>
- <MapSectorWidth>18</MapSectorWidth>
- <MapSectorHeight>112</MapSectorHeight>
- </MapType>
- </MapTypes>
[11:51:12 AM] Brad Wardell: voila
[11:51:13 AM] Brad Wardell: oops
[11:51:16 AM] Brad Wardell: make that sectorheigh 12
[11:51:19 AM] Brad Wardell: not 112
[11:51:28 AM] Brad Wardell:
Code: xml
- <MapTypes>
- <MapType InternalName="CrazySize">
- <DisplayName>Crazy Size</DisplayName>
- <MapSectorWidth>18</MapSectorWidth>
- <MapSectorHeight>12</MapSectorHeight>
- </MapType>
- </MapTypes>
[11:52:23 AM] Raven Xavier: Wow...that's awesome can't believe you whipped that up just like that. Thanks again, Bred. you rock man
[11:52:32 AM] Raven Xavier: *Brad
[11:52:33 AM] Brad Wardell: just copied and pasted
[11:53:14 AM] Raven Xavier: the InternalName is just what it will be displayed as in the editor when I pick my size right?
[11:53:21 AM] Brad Wardell: No
[11:53:25 AM] Brad Wardell: The display name
[11:53:40 AM] Raven Xavier: yes, like Small, Tiny, etc etc
[11:53:50 AM] Raven Xavier: when I'm chosing the size to make a blank map
[11:53:51 AM] Brad Wardell: just loaded it up in the map editor
[11:53:53 AM] Brad Wardell: watch this
[11:54:03 AM] Brad Wardell: i had to put it into the english directory
[11:54:14 AM] Raven Xavier: kk
[11:54:49 AM] Brad Wardell: We need a loading screen on the map editor
[11:55:17 AM] Raven Xavier: yeah, something to let people know it's loading and not stalled because their system is a little slow
[11:55:31 AM] Raven Xavier: hasn't been a problem for me, but then again it loads quick on my system
[11:56:01 AM] Raven Xavier: you want a still pic or something with a loading bar?
[11:56:24 AM] Raven Xavier: I can whip up a pic from Elemental stock in 10-15 minutes in photoshop if you want
[11:56:35 AM] Raven Xavier: I have CS4
[11:56:51 AM] Brad Wardell: Hmm
[11:56:54 AM] Brad Wardell: I may need a mapstyle in there
[11:57:08 AM] Raven Xavier: explain pls
[11:57:16 AM] Raven Xavier: mapstyle, like a pic for the icon?
[11:57:25 AM] Raven Xavier: or a new Xml
[11:57:31 AM] Brad Wardell: no, just open up coremaps.xml you'll see what i mean
[11:57:52 AM] Raven Xavier: got it open now, looking
[11:58:07 AM] Raven Xavier: ahh I see
[12:01:01 PM] Raven Xavier: looks like every maptype needs a coresponding mapstyle as well
[12:01:08 PM] Raven Xavier: at least all the ones listed do
[12:01:21 PM] Brad Wardell:
Code: xml
- <MapTypes>
- <MapType InternalName="CrazySize">
- <DisplayName>Crazy Size</DisplayName>
- <MapSectorWidth>18</MapSectorWidth>
- <MapSectorHeight>12</MapSectorHeight>
- <MapStyle InternalName="OneContinent">
- <DisplayName>Single Continent</DisplayName>
- <SmallSpawnSizeMin>12</SmallSpawnSizeMin>
- <SmallSpawnSizeMax>16</SmallSpawnSizeMax>
- <MediumSpawnSizeMin>3</MediumSpawnSizeMin>
- <MediumSpawnSizeMax>6</MediumSpawnSizeMax>
- <HugeSpawnSizeMin>2</HugeSpawnSizeMin>
- <HugeSpawnSizeMax>3</HugeSpawnSizeMax>
- <LinkedSeedPercentage>100</LinkedSeedPercentage>
-
- <NumMountainsMin>2</NumMountainsMin>
- <NumMountainsMax>4</NumMountainsMax>
- <NumForestsMin>2</NumForestsMin>
- <NumForestsMax>4</NumForestsMax>
- <NumRiversMin>3</NumRiversMin>
- <NumRiversMax>6</NumRiversMax>
- </MapStyle>
- </MapType>
- </MapTypes>
[12:02:48 PM] Brad Wardell: Tjat wprled
[12:02:53 PM] Brad Wardell: so now I have an 18 x 12 map
[12:03:06 PM] Raven Xavier: very sweet, I just dropped it in and was about to fire it up and see
[12:03:23 PM] Brad Wardell: choose blank map
[12:03:27 PM] Brad Wardell: and no objects
[12:03:28 PM] Brad Wardell: so that it's fresh
[12:03:38 PM] Brad Wardell: also remmember the + and - keys on the keypad to select the cursor size
[12:03:44 PM] Brad Wardell: makes putting land down a lot quicker
[12:04:31 PM] Raven Xavier: indeed I swear I tried the ones on the num pa the first time before the second patch yesterday and it didn't work, but after the patch it works fine. maybe I justs didn't restart enough after the patch or something.
[12:05:14 PM] Raven Xavier: is it ok if I post on the forums about our little talk here? would be very cool.
[12:05:25 PM] Brad Wardell: sure thing
[12:05:25 PM] Raven Xavier: don't *want to get
[12:05:27 PM] Brad Wardell: I just made it insaner
[12:05:44 PM] Raven Xavier: awesome , thanks Brad, I really appreciate this. you really are the best CEO in the industry
[12:05:48 PM] Brad Wardell: raven.xml
[12:05:50 PM] Brad Wardell:
Code: xml
- <MapTypes>
- <MapType InternalName="CrazySize">
- <DisplayName>Crazy Size</DisplayName>
- <MapSectorWidth>28</MapSectorWidth>
- <MapSectorHeight>21</MapSectorHeight>
- <MapStyle InternalName="OneContinent">
- <DisplayName>Single Continent</DisplayName>
- <SmallSpawnSizeMin>12</SmallSpawnSizeMin>
- <SmallSpawnSizeMax>16</SmallSpawnSizeMax>
- <MediumSpawnSizeMin>3</MediumSpawnSizeMin>
- <MediumSpawnSizeMax>6</MediumSpawnSizeMax>
- <HugeSpawnSizeMin>2</HugeSpawnSizeMin>
- <HugeSpawnSizeMax>3</HugeSpawnSizeMax>
- <LinkedSeedPercentage>100</LinkedSeedPercentage>
-
- <NumMountainsMin>2</NumMountainsMin>
- <NumMountainsMax>4</NumMountainsMax>
- <NumForestsMin>2</NumForestsMin>
- <NumForestsMax>4</NumForestsMax>
- <NumRiversMin>3</NumRiversMin>
- <NumRiversMax>6</NumRiversMax>
- </MapStyle>
- </MapType>
- </MapTypes>
Seriously, is that Awesome or what? A Step by Step Walkthrough Straight from The Man Him-self!!!