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

This Month's Specials

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

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old July 19th, 2008, 10:57 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Creating a fake map image file

Calling all technical types.

I would like people to be able to upload their own maps to the LlamaServer. However, I'd rather they didn't have to upload the images as well, since they are often large. It occurred to me that the images are surely fairly pointless - the server doesn't have to see the prettiness of the map. So I was hoping to set it up so that only the .map file need be uploaded.

However, you can't actually start a game without the map image present (it gets angry). So, I decided to write a program to create a fake image file, containing only a row of white pixels with as many pixels as there are provinces listed in the .map file. Ingenious, I thought. Unfortunately, it turns out that Dominions isn't happy with such an image file. On trying to create a test game, it said:

N�got gick fel!
can't find a valid starting province
N�got gick fel!
can't find a valid starting province
Aborted

So, my question is: what other features of the image file do we think Dominions needs? Do I need to space out the white pixels somehow? I'm at a bit of a loss, being as I don't know what Dominions actually does with the image file.

Hope someone has some ideas!

Thanks, llama
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
 

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 06:35 AM.


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