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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- 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
  #6  
Old July 27th, 2007, 04:29 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Map Editor : How to make \"province inserted\" w

You need to edit the map file by hand when you add new provinces.

Add the province where you want it, check the number of that province, then start from the end of the province list, with the highest number and change each number after the new province to 1 greater than it was. Needs to be done manually so as not to screw up possible terrain assignments, so find & replace is not an option.

Neighbors are easier, copy the neighbors section to a new text file and again start from the highest number down, change the numbers to 1 greater by find and replace (still takes a while to do, as I found out with the Faerun 466 map). When you're finished, check the borders to verify that everything went right.

If you need to remove a province and need to do things by hand, same drill, but you start by going up from the removed province and decreasing numbers by 1, same deal with border assignments and the find and replace, start from removed, decrease by 1 and move to next.

If somebody could write a script where the inserted parameters were the type of operation (add or remove province), the number of the province to be added or removed and then working as described above depending on which operation it was, it would be a very valuable tool for mapmakers.
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 05:03 PM.


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