.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 > Scenarios, Maps and Mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old February 9th, 2009, 01:06 AM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Computer Pixel Fixer 1.00 - add or remove provinces in map file

Adding or removing provinces from an existing map has proven to be a hassle and this problem seems to come up again and again in the forums. Pixel Fixer is a cross-platform, standalone executable that will adjust existing province numbers and output a new, fixed map file.

From the included "Help" text:
Quote:
Dominions Pixel Fixer 1.00
**************************
Author: ballbarian AT gmail DOT com

So you want to remove (or add) a province to an existing
map, but this will completely screw up the province
numbering in the map file. This means neighbors will be
twisted into an unrecognizable maze of arrows and many
provinces will show the wrong terrains and names, etc.
Pixel Fixer will hopefully make adjusting your map less
painful.


1. Make sure that PixelFixer.exe and PixelFixer.cfg are in
the same directory as your ".map" file.

2. Open PixelFixer.cfg in the text editor of your choice.

3. Change the settings as needed. Leave the three comment
lines that begin with a dash "-". You want to edit the
last three lines only. The first is the name of your map
file, but leave of the ".map" extension. The second is
the province number, and the third is "add" or "remove".

4. Run PixelFixer.exe

5. Find "yourmapfilenameFIXED.map" in the same directory as
your original map file.

6. If you were removing a pixel then you are done. Easy!

7. If you were adding a pixel then you have a little more
work to do. Open the fixed map file and manually add any
terrain, neighbor, landname, start info for the new province
as necessary. Pixel Fixer has fixed the existing provinces,
but you will need to add the new info for the added province
yourself.
I built this quickly using existing, raw, bare bones code that I had used for fixing my own maps and made it configurable so that modifying the code would no longer be necessary. I have only done minimal testing with this new creature, so let me know if you have any problems.
Attached Files
File Type: zip PixelFixer.zip (111.3 KB, 295 views)
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor

Last edited by Ballbarian; July 31st, 2010 at 01:12 PM..
Reply With Quote
The Following 5 Users Say Thank You to Ballbarian For This Useful Post:
 

Bookmarks

Tags
map editing, map utilities, map utility


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 03:28 AM.


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