Sillysoft
Lux Delux = advanced strategy!
Lux Forums
The Forums Of Universal Domination

 
  Games     Forums     Wiki     Rankings     Sillysoft Lux Online Risk Game RSS feeds    

  About     Contact     News     Sitemap     Maps     Downloads     Buy    
Memberlist     Search     Forum Sign-up     Log in
HELP ME PLEASE! (to make new continents with the Map Editor)

 
Post new topic   Reply to topic    Sillysoft Forum Index -> Maps
View previous topic :: View next topic  
Author Message
Fattmatt
Guest





PostPosted: Thu Dec 09, 2004 4:13 pm    Post subject: HELP ME PLEASE! (to make new continents with the Map Editor) Reply with quote

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
View Fattmatt's ranking
mbauer
Not A Truck


Joined: 28 Jun 2004
Posts: 3341
Location: Tallahassee

PostPosted: Thu Dec 09, 2004 4:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website View mbauer's ranking
Fattmatt
Guest





PostPosted: Thu Dec 09, 2004 4:29 pm    Post subject: Reply with quote

How do I do that? (Walkthrough Please?)
Back to top
View Fattmatt's ranking
mbauer
Not A Truck


Joined: 28 Jun 2004
Posts: 3341
Location: Tallahassee

PostPosted: Thu Dec 09, 2004 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website View mbauer's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 7646
Location: Vancouver

PostPosted: Thu Dec 09, 2004 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
Fattmatt
Guest





PostPosted: Thu Dec 09, 2004 9:23 pm    Post subject: Reply with quote

Hey thanks, appreciate the help. If all goes well i'll have my map up in a few days.
Back to top
View Fattmatt's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 7646
Location: Vancouver

PostPosted: Fri Dec 10, 2004 1:55 am    Post subject: Reply with quote

Weird, I didn't notice your post mb when I posted mine...

[cue the twilight zone music...]
Back to top
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
Kef
Lux Translator


Joined: 24 Feb 2004
Posts: 4469
Location: in j0r f0rumz, Tr0||in j0r t0pixzz

PostPosted: Fri Dec 10, 2004 6:34 am    Post subject: Reply with quote

what ever happend to the lux theme music?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger View Kef's ranking
mbauer
Not A Truck


Joined: 28 Jun 2004
Posts: 3341
Location: Tallahassee

PostPosted: Fri Dec 10, 2004 7:57 am    Post subject: Reply with quote

dustin wrote:
Weird, I didn't notice your post mb when I posted mine...

[cue the twilight zone music...]


yeah beat you to it Laughing Laughing Wink


I also posted mine like an hour before you! You're gettin' slow old man. Wink


mbauer


Last edited by mbauer on Sat Dec 11, 2004 9:32 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website View mbauer's ranking
dustin
Lux Admin
Lux Admin


Joined: 15 May 2003
Posts: 7646
Location: Vancouver

PostPosted: Sun Dec 26, 2004 4:40 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website View dustin's ranking
Display posts from previous:   
Post new topic   Reply to topic    Sillysoft Forum Index -> Maps All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

Lux Delux is our flagship product: an advanced Risk world domination game. — Lux Touch lets you conquer the world on your pocket computer.

American History Lux takes you through the wars of USA history. — Ancient Empires Lux spans Babylon to the Roman Empire.

Free Game Downloads has direct download links to all the games. — We love playing fun Strategy Games.

A similar real-time strategy game is Pax Galaxia. If you like logic puzzles we recommend DROD: Journey to Rooted Hold.

Sillysoft Games makes games for Mac OS X, Windows XP/98/ME/2000/NT/Vista and Linux.

Macintosh users may be interested to see our favorite Mac OS X games. For the full Sillysoft empire check out the sitemap.

Because taking over the world is fun.
                                 - Lux