.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old June 15th, 2008, 06:04 PM

wazawak wazawak is offline
Private
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
wazawak is on a distinguished road
Default Turn Any Image Into Map

On the "Features" list, it says that you can turn any image into a map. That intrigues me. How can I do this?
Reply With Quote
  #2  
Old June 15th, 2008, 06:24 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: Turn Any Image Into Map

I can only think of just loading it in a program that can save it as a file the game can use for maps.. and then do the white dots needed for the game to recognize provinces and bright red lines to mark borders...

I'd more work than you'd think though
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #3  
Old June 15th, 2008, 06:54 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Turn Any Image Into Map

There are a couple of people working to make it easier. But in the simplest sense...
If you load an image of Madonna into a paint program, remove all COMPLETELY white pixels (255, 255, 255) which is usually done just by makng them a light grey. Then put the tiniest possible white dot in each location that would be a "flag" when you played it. Then you can load that image into the Map Editor in the Tools part of Dominions and have it generate a .map file for it.

The results would be bad.
But yes its possible. Usually its better to choose a decent image (like a sattelite photograph of Europe?), add borders, then the dots, and reasonable neighbor connections.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #4  
Old June 16th, 2008, 02:27 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Turn Any Image Into Map

Even the borders aren't necessary. The map editor in game tools is quite bad at guessing correct neighbours, and very bad without red borders, but you can just assign neighbours manually if you have to.
Reply With Quote
  #5  
Old June 16th, 2008, 04:26 AM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Turn Any Image Into Map

My RMG in progress will be able to take an image and turn it into a map, but unless you supply it with an image and it's own "format" for storing per-pixel terrain bitmasks, it will only be able to plonk down random provinces and provinces and connect them (so some polygon over Madonna's nose might be deep sea, while another that contains her left earlobe would be a mountainous forest).
Though I haven't made much progress on it for the last couple of days because I'm a bit sick
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #6  
Old June 16th, 2008, 10:30 AM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Turn Any Image Into Map

Why does this conjure images of a lower GI track...

Oh yes.. for our next move, we're going to invade the colon...
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:53 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.