.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

Reply
 
Thread Tools Display Modes
  #1  
Old January 24th, 2007, 05:43 AM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Who wants a map/scenario editor ?

Edit : for a demo of the current state of the map editor, see http://dominions.realites.org/map_editor/
For more info about what features are already done, read the thread
--------------------

I already done a map semi randomizer (http://dominions.realites.org) that can add random commanders/units or preset provinces to a map file.

As others such projects have started to be released, instead of adding more feature to the random province part I'm thinking about moving to the next part.
(note that I still take suggestions of special provinces , existing list at http://dominions.realites.org/?actio...cial_provinces )

What is the next part ? A full online map editor, no less.

I already have a perl script that parse a map image en return the list of all provinces found and their position on the image. (note : as this part can take a few minutes for large maps, I will probably release a separate version of this script so only the results can be uploaded)

By using then a jpeg or gif copy of the image, and CSS/javascript, I can display small icons on the image itself in the web browser, make them clicable to select the province, change the color of the numbers of the selected province's neighbours, display the province settings, and finally make them editable (you could add a commander with bodyguards, units, magic items, custom magic skills, and even a random commander, you could even use the existing preset provinces, set the province terrain types, ...)

The current map editor ingame is useful, but it only allows to edit neighbours and basic terrain types, and editing map files directly without the map image (and corresponding province numbers shown) is sometimes fastidious.

At worst, I could have a predefined list of map image file already parsed, and give public access to the editor.

More that a map editor, it will be in fact a scenario editor, where you could also set starting points/provinces/preset computers players , ...

The question is : is it worst the time to do ? I already started working on this project, but if there is already another editor project, or if there not enough people that think they would like such a tool, maybe my time could be better used programming something else ?

So who thinks such a tool would be really useful ?

(note : I can take questions about what I plan to do, or suggestions of features)
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" <stranges noises>
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
  #2  
Old January 24th, 2007, 07:11 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: Who wants a map/scenario editor ?

This could be very useful. Personally, I tend to edit everything by hand into the maps, but hen, I've had quite a bit of experience doing that with the various Faerun maps and keeping the in-game map editor open in windowed mode will allow me to easily check which province was what number and then put things in.

One of the problems you're going to have with placing units and commanders is that you will need to know the actual unit ID numbers. That's because there are lots of units with the same name (several types of heavy infantry, infantry of Ulm, light cavalry, heavy cavalry, archer, crossbowman, warrior, vanherse, vanjarl, bandar commanders etc) but different id numbers and if you just say

#commander "Mounted Commander"
#units 20 "Heavy Infantry"

you will get the mounted commander with the lowest id number (44) and the heavy infantry with the lowest ID number (38), instead of e.g. C'tisian heavy infantry that you wanted to put there.

The same problem exists with magic sites, but to a lesser degree. Knowing site numbers would help.

For that, you need a comprehensive list of units, sites etc. I'm working on that and I can give you a site DB already, but it won't have terrain information since the terrain mask calculations in the modding manual are either just plain wrong or too ambiguous to get down correctly. It might get fixed with the next patch, though, in which case I'll be able to add that info accurately.

Edi
Reply With Quote
  #3  
Old January 24th, 2007, 07:21 AM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: Who wants a map/scenario editor ?

Quote:
Edi said:
This could be very useful. Personally, I tend to edit everything by hand into the maps, but hen, I've had quite a bit of experience doing that with the various Faerun maps and keeping the in-game map editor open in windowed mode will allow me to easily check which province was what number and then put things in.

Yes, that's why I think such an editor could be useful.


Quote:
One of the problems you're going to have with placing units and commanders is that you will need to know the actual unit ID numbers. That's because there are lots of units with the same name (several types of heavy infantry, infantry of Ulm, light cavalry, heavy cavalry, archer, crossbowman, warrior, vanherse, vanjarl, bandar commanders etc) but different id numbers and if you just say

#commander "Mounted Commander"
#units 20 "Heavy Infantry"

you will get the mounted commander with the lowest id number (44) and the heavy infantry with the lowest ID number (38), instead of e.g. C'tisian heavy infantry that you wanted to put there.

The same problem exists with magic sites, but to a lesser degree. Knowing site numbers would help.

For that, you need a comprehensive list of units, sites etc.

Yes, I know of this problem.

I plan to let the user eitheir manually select the unit id or name, or select from a list.

At first the list would be generated from a simple list extracted from the game (with the "strings" command), but there would be a function in place ready to be use instead infos from a database.

Same for the sites, items, ...

Quote:
I'm working on that and I can give you a site DB already, but it won't have terrain information since the terrain mask calculations in the modding manual are either just plain wrong or too ambiguous to get down correctly. It might get fixed with the next patch, though, in which case I'll be able to add that info accurately.

Edi
Yes, your DB project will indeed be of much help. I have several projects that are only waiting for your dom3 DB to be released
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" <stranges noises>
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
  #4  
Old January 24th, 2007, 08:21 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: Who wants a map/scenario editor ?

I'm working on that as fast as I can. It'll eventually have the items as well, but those are taking a backseat to units, weapons, armor and sites.

You can't rely too much on the string lists extracted from the game, because for example Gandalf's extracted list of weapons had things missing (such as #17 Axe), which will throw the numbers off.

I'll try to get ready as soon as possible, but the problem is that complete, accurate, quick, pick any two.

Edi
Reply With Quote
  #5  
Old January 24th, 2007, 09:11 AM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: Who wants a map/scenario editor ?

Quote:
... complete, accurate, quick, pick any two.
Complete and accurate will do. ^_^

Meanwhile, i'll have my script accept manual input (and it will still be useful after your DB is complete, for exemple for mod users whose units are not in the DB)
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" <stranges noises>
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
  #6  
Old January 24th, 2007, 09:21 AM
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 Re: Who wants a map/scenario editor ?

It sounds really useful, if I'll ever make a map (and I'm thinking about it), I'll probably want something like that to work with
Also, in my "Twisted Forest" province I meant to have x7 of everything you put down (ie 7 dark vines 49 vine ogres and 70 vine men) (There should probably be some awesome reward, but I don't remember enough nature site names to know what to put down :X if there's a way to just make sure it'll have lots of cool sites that'll be greats )
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #7  
Old January 24th, 2007, 09:40 AM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: Who wants a map/scenario editor ?

Quote:
Agrajag said:
It sounds really useful, if I'll ever make a map (and I'm thinking about it), I'll probably want something like that to work with
Ok, so one more vote for. ^_^


Quote:
Also, in my "Twisted Forest" province I meant to have x7 of everything you put down (ie 7 dark vines 49 vine ogres and 70 vine men) (There should probably be some awesome reward, but I don't remember enough nature site names to know what to put down :X if there's a way to just make sure it'll have lots of cool sites that'll be greats )
Oh yes, I put one Dark Vine and its unit, but forgot to copy/paste them 6 more times.

I will fix that tonight when I'm back home.

Having a nature site would indeed be a good idea.

At worst I can force the province to require the "manysites" terrain type, so you know that you're more likely to find sites there.
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" <stranges noises>
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
  #8  
Old January 24th, 2007, 05:29 PM
Jack_Trowell's Avatar

Jack_Trowell Jack_Trowell is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
Jack_Trowell is on a distinguished road
Default Re: Who wants a map/scenario editor ?

Quote:
Agrajag said:
It sounds really useful, if I'll ever make a map (and I'm thinking about it), I'll probably want something like that to work with
Also, in my "Twisted Forest" province I meant to have x7 of everything you put down (ie 7 dark vines 49 vine ogres and 70 vine men) (There should probably be some awesome reward, but I don't remember enough nature site names to know what to put down :X if there's a way to just make sure it'll have lots of cool sites that'll be greats )
Ok, Twisted forest has been fixed.

Now if you have a suggestion of anature site to add ...

(at worst, play a normal game, and if you find some appropriate nature site, note the name ^_^)
__________________
Q: "How many Vorlons does it takes to change a lightbulb ?"
A: "Yes !" <stranges noises>
--
Dominions Map validator and randomizer : http://dominions.realites.org
Dominions Map editor v0.75b : http://dominions.realites.org/map_editor
Reply With Quote
  #9  
Old January 25th, 2007, 03:46 PM
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: Who wants a map/scenario editor ?


Hello Jack... this sounds like a great project!

Quote:
Jack_Trowell said:
I plan to let the user eitheir manually select the unit id or name, or select from a list.

I recommend having the unit name and unit ID listed together since the same name can be shared by multiple unit_IDs which have the same name yet different forms/statistics.... such as eater of the dead.
__________________
There can be only one.
Reply With Quote
  #10  
Old January 26th, 2007, 01:44 AM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: Who wants a map/scenario editor ?

I do! I do!

I'm not sure what it is, but I want it.
__________________
You've sailed off the edge of the map--here there be badgers!
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 06:31 AM.


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