|
|
|
|
 |

January 24th, 2007, 08:21 AM
|
 |
National Security Advisor
|
|
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
|
|
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
|

January 24th, 2007, 09:11 AM
|
 |
Second Lieutenant
|
|
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
|
|
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)
|

January 24th, 2007, 09:21 AM
|
 |
Lieutenant Colonel
|
|
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
|
|
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.)
|

January 24th, 2007, 09:40 AM
|
 |
Second Lieutenant
|
|
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
|
|
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.
|

January 24th, 2007, 10:10 AM
|
 |
Colonel
|
|
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
|
|
Re: Who wants a map/scenario editor ?
Sounds like a great idea. 
|

January 24th, 2007, 05:29 PM
|
 |
Second Lieutenant
|
|
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
|
|
Re: Who wants a map/scenario editor ?
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 ^_^)
|

January 24th, 2007, 07:06 PM
|
 |
Second Lieutenant
|
|
Join Date: Oct 2006
Location: Toulouse, FRANCE
Posts: 436
Thanks: 150
Thanked 21 Times in 13 Posts
|
|
Re: Who wants a map/scenario editor ?
Just a rapid update on the project :
- currently the script that analyse a map image file (.tga or .rgb) for provinces is complete, It is available in the attachment if someone wants it.
Edit : forgot to add the Attachment, it is there now
- by running this script on any map image, you will have a province.txt file generated. (in theory you should also have a copy of the image in JPEG format if you add the save_as_jpeg=1 parameter, but the perl module 'Imager' that I use seems to lack jpeg support for the windows Activeperl version)
This file ( exemple at http://dominions.realites.org/map_ed.../provinces.txt ) will contains the list of all provinces numbers (firt column), and their exact position on the image (the province numbers should be the very same that the official map editor would have chosen)
With this test file, and the jpeg copy of the map (exemple jpeg at http://dominions.realites.org/map_ed.../Mini/Mini.jpg ) I can already do this : http://dominions.realites.org/map_editor/
As you can see, I display all provinces numbers exactly where they should, and you can click on a province number to select the province.
Of course the project is just starting, for now selectinf a province do nothing more that that : selecting the province.
Next on my todo list :
- change color of the selected province's neighbours
- select or unselect a province as a neighbour by clicking on it (changing the selected province will then need to first click on a button or something like that, as a true double-click is not really supported by javascript.)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|