.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 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #11  
Old May 6th, 2004, 01:14 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: MapEditing Faq anuwhere?

Are the unit number lists available anywhere? It's a real ***** trying to assign some national units to indy provinces (such as Ulmish infantries) without having any idea of the id numbers.

Edi
Reply With Quote
  #12  
Old May 6th, 2004, 10:41 AM

PDF PDF is offline
Colonel
 
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
PDF is on a distinguished road
Default Re: MapEditing Faq anuwhere?

Maltrease,
Your list is wonderful work !
As for your question, I don't know exactly what happens if you specify a unit name that is not unique, but I think it takes the first corresponding id (so id 19 for Heavy Cav).
Thuis has to be tested though.

But anyway it's relatively rare to need to have *that exact* sort of indy light inf , usually you want a Bane Lord, a Niefel Giant, a Vampire, or a group of Hoplites, and in this cases using the unit names is way easier and easy to read
Reply With Quote
  #13  
Old May 6th, 2004, 12:10 PM
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: MapEditing Faq anuwhere?

Maltrease, I bow down before your awesomeness! Thank you, this list absolutely kicks arse!

*copy-paste, save as*

Gandalf, expect to hear from me sometime next week. The ice hocky world championships elimination round games today and my grandmother's funeral on Saturday are going to keep me busy, but I should be able to get the map ready in about a week and a half at the most, at which point I'm going to need some help getting it Online. Or more appropriately, my friend will, because there is no way I'm going to try and upload a 20 MB file through a 56k modem connection.

Edi
Reply With Quote
  #14  
Old May 10th, 2004, 09:29 PM
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: MapEditing Faq anuwhere?

General question regarding map editing resources: Is there collective interest for an improved Version of Maltrease's list?

I was thinking along the lines of one where the different units with the same name (e.g. Heavy Infantry, 8 varieties, or the various black plate infantries) have their equipment listed alongside the unit ID number, makes it easier to slap whichever you happen to need without needing to laboriously find out what you're in fact getting by firing up test games all the time.

In other news, the FR map is almost ready, just a couple of more days. I'm just basically tinkering with superfluous details until it fits *my* idea of how an FR map should be.

Edi
Reply With Quote
  #15  
Old February 7th, 2005, 11:41 PM

Merry Jolkar Merry Jolkar is offline
BANNED USER
 
Join Date: Jan 2003
Posts: 248
Thanks: 0
Thanked 0 Times in 0 Posts
Merry Jolkar is on a distinguished road
Default Re: MapEditing Faq anuwhere?

I am editing a map and would like to have the King of Banefires occupy a province, and cast high level magical spells when attacked. I can get him into the province using the .map file below, but he doesn't cast spells, presumably because he is level 0. How do I set his level? Thanks, Merry

#land 136
#nostart 136
#owner 0
#defence 0
#population 20000
#fort 21
#commander "King of Banefires"
#additem "Bone Armor"
#additem "Demon Whip"
#additem "Bane Blade"
Reply With Quote
  #16  
Old February 8th, 2005, 02:22 PM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: MapEditing Faq anuwhere?

Unfortunately he is stuck with puny research and doesn't have any meaningful spells to cast. Currently there is a default grimoire available to independent commanders, but it is likely that he decides that fire flies is less meaningful than attacking. A few commanders have special grimoires (mostly those that appear in special independent lands such as liches, divine mummies and frost fathers), but they are rare.

A new indep grimoire would of course be a nice thing to have in map editing.
__________________
www.illwinter.com
Reply With Quote
  #17  
Old February 8th, 2005, 04:44 PM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: MapEditing Faq anuwhere?

Baseline questions - I have a map, saved a .tga file.

When I open it in the map editor I get a row of extremely closely spaced banners across the bottom of the screen.

How do I specify provinces, how do I add and/or delete them? Even a province with no neighbors is still part of the game.

The .map file doesn't seem to include any coordinates whatsoever - just province names and numbers. So the map editor is somehow interpolating the locations of provinces from the map I supply it as a background?

Any advice on how to get that algorithm to behave well, if that is indeed the case? Should the borders be some particular color? I notice that they are always either dark red or dark blue in the maps that came with the game.

Why on earth didn't they just let you plant the flags wherever you want by clicking on them and dragging them around?
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
Reply With Quote
  #18  
Old February 8th, 2005, 04:54 PM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: MapEditing Faq anuwhere?

Quote:
DrPraetorious said:
The .map file doesn't seem to include any coordinates whatsoever - just province names and numbers. So the map editor is somehow interpolating the locations of provinces from the map I supply it as a background?
The mechanism is actually pretty inconvenient for the map-maker and pretty convenient for the programmer:

Every pure white pixel represents a province; all white pixels are then numbered from bottom left to top right.

So Dom2 is only looking for white pixels, everything else is ignored by the program.

The map editor however tries to interpret province boundaries if they are in some unknown kind of red color, but I would not rely on that. Just remove all neighborships with the button and then set them by hand (left click sets neighborship, ctrl-left click removes - I wondered quite for some time until I figured that out).

I think a mapmaking FAQ would be very helpful!
Reply With Quote
  #19  
Old February 8th, 2005, 04:57 PM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: MapEditing Faq anuwhere?

PS: It is a good advice to keep the white pixels in a different layer of some more advanced multilayered graphics file! I have not done this, thus I cannot easily edit the mapfile without taking care to relocate white pixels.

In any case, altering provinces after making the mapfile means renumbering the .map file too! Keep that in mind!
Reply With Quote
  #20  
Old February 8th, 2005, 07:27 PM
DrPraetorious's Avatar

DrPraetorious DrPraetorious is offline
Major General
 
Join Date: Feb 2005
Location: Lake of Hali, Aldebaran, OH
Posts: 2,474
Thanks: 51
Thanked 67 Times in 27 Posts
DrPraetorious is on a distinguished road
Default Re: MapEditing Faq anuwhere?

Okay, so the project is -

I take my map, which can be anything. I might try to add red borders if I want to have the automapper draw province connections for me but this doesn't actually work.

I make sure that the map contains no pure-white pixels (a global color swap should take care of this.)

I add another layer, and on this other layer I place a white square everywhere that I want to have a province? When the map is played, you have to click on these white squares to select provinces, so they should be fairly big, yes?

Can anyone recommend a free (as in beer) piece of software I could use to do this natively in .tga files?
__________________
If you read his speech at Rice, all his arguments for going to the moon work equally well as arguments for blowing up the moon, sending cloned dinosaurs into space, or constructing a towering *****-shaped obelisk on Mars. --Randall Munroe
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 02:30 AM.


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