| View previous topic :: View next topic |
| Author |
Message |
Fattmatt Guest
|
Posted: Thu Dec 09, 2004 4:13 pm Post subject: HELP ME PLEASE! (to make new continents with the Map Editor) |
|
|
In the 4.4 map editor, how do I make a new continent
For instance when you start making countries they are all on the same continent. How do I make it so that the next country I draw is on a different continent?
Last edited by dustin on Fri Dec 10, 2004 1:59 am; edited 1 time in total |
|
| Back to top |
|
 |
mbauer Not A Truck

Joined: 28 Jun 2004 Posts: 3341 Location: Tallahassee
|
Posted: Thu Dec 09, 2004 4:17 pm Post subject: |
|
|
at the moment you can't. You have to take the .luxb file into bbedit and manually seperate the countries into different continents.
mbauer |
|
| Back to top |
|
 |
Fattmatt Guest
|
Posted: Thu Dec 09, 2004 4:29 pm Post subject: |
|
|
| How do I do that? (Walkthrough Please?) |
|
| Back to top |
|
 |
mbauer Not A Truck

Joined: 28 Jun 2004 Posts: 3341 Location: Tallahassee
|
Posted: Thu Dec 09, 2004 4:59 pm Post subject: |
|
|
Ok, once you have gotten your map drawn in the map editor save it.
1. Navigate to your saved maps folder. On a mac it is located at ~/Library/Application Support/Lux/Boards/Saved where ~ is your user folder. On a PC it is located in Program Files/Lux/Support/Boards/Saved.
2. Find your map in that "Saved" folder and open it in BBedit (BBedit is preferred but any program like BBedit should work) what you will find is something that looks similar to this:
| Code: | <luxboard>
<version>1</version>
<height>700</height>
<width>1150</width>
<theme>Civil War</theme>
<title>American Civil War</title>
<author>Mark Bauer</author>
<email>bauer32301@yahoo.com</email>
<description></description>
<continent>
<continentname>Olustee</continentname>
<bonus>1</bonus>
<country>
<name>Olustee</name>
<id>0</id>
<polygon>636,71,650,73,660,81,664,91,664,103,662,113,123,630,124,621,121,611,111,608,97,611,83,621,74,631,71</polygon>
<adjoining></adjoining>
</country>
</continent> |
3. This is the hard part: A continent tag must contain all of the information below:
| Code: | <continent>
<continentname>name of the continent goes here</continentname>
<bonus>bonus value goes here</bonus>
</continent> |
Create how ever many new continents you want under the original one large one by using this code. Then fill in the desired names and bonus values
4. After the </bonus> and before </continent> of the continent tag is where you place all the countries that go into the continent. A country tag must contain all of the following:
| Code: | <country>
<name>country name goes here</name>
<id>id value here</id>
<polygon>polygon coordinates here</polygon>
<adjoining>adjoing countries id values here</adjoining>
<armylocation>coordinates of army box here</armylocation>
</country> |
you should not have to worry about filling any of the country information in, as the map editor should have done that for you already. Now in the original one large continent you'll have to find all the countries that you want to place in the new continent tags that you created. Make sure you copy all of the information above for those countries. Then once you have placed the countries into their respective continent tags make sure you delete them out of the original one large continent tag, as duplicates will cause you quite a headache.
5. Make sure each continent has an ending </continent> to close the continent otherwise it will think you have more countries to place.
6. Make sure you only have 1 </luxboard> tag and it is at the very end of the document. This closes the lux map.
7. Save the file but make sure not to change the extension, save it any other format, or move it's save location.
Your done!
Hope that helped I wrote it quickly and off the top of my head let me know if you have any problems
mbauer
Last edited by mbauer on Thu Dec 09, 2004 5:05 pm; edited 4 times in total |
|
| Back to top |
|
 |
dustin Lux Admin


Joined: 15 May 2003 Posts: 7646 Location: Vancouver
|
Posted: Thu Dec 09, 2004 6:11 pm Post subject: |
|
|
OK, this is what you have to do:
- Find the map file on your computer's filesystem. It will be inside your Support/Boards/Saved/ folder.
- Open up the map file in any text editor (i.e. notepad or textedit).
- You will see the list of countries that you created in this file. In between countries you must add the following text: </continent><continent>
For example your file might have:
| Code: | ...
<country>
<name>top</name>
<id>4</id>
<adjoining>2</adjoining>
<polygon>239,310 270,270 190,277 188,316 239,310</polygon>
</country>
<country>
<name>side</name>
<id>1</id>
<adjoining>0</adjoining>
<polygon>222,181 256,208 213,214 174,131 222,181</polygon>
</country>... |
You would then change it to be:
| Code: | ...
<country>
<name>top</name>
<id>4</id>
<adjoining>2</adjoining>
<polygon>239,310 270,270 190,277 188,316 239,310</polygon>
</country>
</continent><continent>
<country>
<name>side</name>
<id>1</id>
<adjoining>0</adjoining>
<polygon>222,181 256,208 213,214 174,131 222,181</polygon>
</country>... |
Then save the file in your text editor. In the next version of Lux it will be possible to do this from inside the Map Editor. |
|
| Back to top |
|
 |
Fattmatt Guest
|
Posted: Thu Dec 09, 2004 9:23 pm Post subject: |
|
|
| Hey thanks, appreciate the help. If all goes well i'll have my map up in a few days. |
|
| Back to top |
|
 |
dustin Lux Admin


Joined: 15 May 2003 Posts: 7646 Location: Vancouver
|
Posted: Fri Dec 10, 2004 1:55 am Post subject: |
|
|
Weird, I didn't notice your post mb when I posted mine...
[cue the twilight zone music...] |
|
| Back to top |
|
 |
Kef Lux Translator

Joined: 24 Feb 2004 Posts: 4469 Location: in j0r f0rumz, Tr0||in j0r t0pixzz
|
Posted: Fri Dec 10, 2004 6:34 am Post subject: |
|
|
| what ever happend to the lux theme music? |
|
| Back to top |
|
 |
mbauer Not A Truck

Joined: 28 Jun 2004 Posts: 3341 Location: Tallahassee
|
Posted: Fri Dec 10, 2004 7:57 am Post subject: |
|
|
| dustin wrote: | Weird, I didn't notice your post mb when I posted mine...
[cue the twilight zone music...] |
yeah beat you to it
I also posted mine like an hour before you! You're gettin' slow old man.
mbauer
Last edited by mbauer on Sat Dec 11, 2004 9:32 pm; edited 2 times in total |
|
| Back to top |
|
 |
dustin Lux Admin


Joined: 15 May 2003 Posts: 7646 Location: Vancouver
|
Posted: Sun Dec 26, 2004 4:40 pm Post subject: |
|
|
Hey fattmatt,
I post this here in the hopes that you read it.
The map you submitted doesn't specify a theme. So if somebody has it set to the space theme then they can't see the connecting lines. So you might want to specify a theme. I'll give it a day or so incase you want to do this, then I will just let the map go in as is.
peace |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|