.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

Reply
 
Thread Tools Display Modes
  #1  
Old December 3rd, 2006, 12:21 PM
Twan's Avatar

Twan Twan is offline
Captain
 
Join Date: Sep 2004
Location: France
Posts: 961
Thanks: 2
Thanked 12 Times in 8 Posts
Twan is on a distinguished road
Default Map Editor : How to make \"province inserted\" work?

I have 150 or so provinces already described (name, neighbours etc) in a map file, but forgot a withe pixel for one. I want to use the "province inserted" function but it seems it's bugged. I've tried before modyfying the tga and after, I've tried just after loading the editor, I've tried with or without the inserted province selected, etc... the function simply changes nothing. In all cases inserting a province still messes all my other provinces terrains neighbours and names.

Is the editor known to be bugged when used with very big maps (the one I'm working on has 1200 provinces) ? Is the function known to be bugged in general ? Is there a trick to make "inserted province" work ?
Reply With Quote
  #2  
Old December 3rd, 2006, 01:18 PM
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 Good use of title space!

I don't know about inserted province, but if you can't get it to work, the best solution I can think of is to write a little program that will increase province number by one for all provinces with a number greater than the new inserted province :X
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #3  
Old July 26th, 2007, 10:12 AM

Maraxus Maraxus is offline
Corporal
 
Join Date: Jun 2007
Posts: 181
Thanks: 2
Thanked 12 Times in 8 Posts
Maraxus is on a distinguished road
Default Re: Map Editor : How to make \"province inserted\" work?

Bumped, because I have the problem, too and still and I have no idea, how to "write a litte program".
Reply With Quote
  #4  
Old July 26th, 2007, 10:36 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 Re: Map Editor : How to make \"province inserted\" w

I can do this for you if you want. Post the .map and the desired number of the inserted province and I'll see what I can do.
__________________
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
  #5  
Old July 26th, 2007, 11:32 AM
NTJedi's Avatar

NTJedi NTJedi is offline
General
 
Join Date: Jun 2003
Location: az
Posts: 3,069
Thanks: 41
Thanked 39 Times in 28 Posts
NTJedi is on a distinguished road
Default Re: Map Editor : How to make \"province inserted\" w

The "inserted province" does not work at this time. Adding a new province can be accomplished, but depending on the location it can be a time consuming task.
__________________
There can be only one.
Reply With Quote
  #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
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 05:28 AM.


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