.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 August 17th, 2012, 08:49 AM

elmokki elmokki is offline
Second Lieutenant
 
Join Date: Aug 2008
Posts: 408
Thanks: 11
Thanked 209 Times in 57 Posts
elmokki is on a distinguished road
Default IdUpdater: Image based province definition updater

If you have ever edited a map file to add or remove provinces, you know how removing or adding a province will make the definitions go haywire (unless it's done to the top righternmost province)

Yeah. I hate that too. In big maps it's easy to forget a province dot from some province and notice it too late or accidentally have two dots in some province. Those things generally mean redoing most of the map definitions. I'm pretty happy I haven't made those mistakes in a while. Similiarly if you're editing a map to add or remove provinces it'll break the definitions.

What this tool does is scan both old and new image for the white spots and finds out both the old and the new province number for the spot in that specific place. Then it writes a new .map file where any province that was found from the new image is refrenced with the province number it has in the new image.

It supports following .map file commands:
#specstart
#start
#nostart
#neighbour
#terrain

It does NOT support defining gods. I was lazy. All #setland and #land related commands listed on manual before the god stuff should be removed properly though when provinces are removed too, but I didn't test that.

Like all the other crap I've coded for Dom3, it'll work on Windows, Linux and OSX as long as you have a new enough Java Runtime Enviroinment installed. For OSX and Linux the magic phrase is something like "java -jar idupdater.jar" since java by default hates console and thus double clicking the .jar probably won't work.

You can find it from here:
http://koti.kapsi.fi/elmokki/dom3/mods/idupdater-v2.zip

Also check out a tutorial at http://z7.invisionfree.com/Dom3mods/...?showtopic=939
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341

Last edited by elmokki; August 17th, 2012 at 06:18 PM..
Reply With Quote
The Following User Says Thank You to elmokki For This Useful Post:
 

Bookmarks

Thread Tools
Display Modes

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 07:24 AM.


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