.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

Reply
 
Thread Tools Display Modes
  #11  
Old January 10th, 2007, 07:55 PM

Isit Isit is offline
Private
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Isit is on a distinguished road
Default Re: make us some maps

NM I figured it out.
Reply With Quote
  #12  
Old January 10th, 2007, 07:56 PM

Capt_Jack Capt_Jack is offline
Private
 
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Capt_Jack is on a distinguished road
Default Re: make us some maps

I am fooling around with Photoshop and the maps. I can't seem to grasp the location of one piece of data. If I want to tweak the location on the map of a province, where is the province location ( like a set of pixel coordinates) stored.

Stated differently.. If I create a .rgb and a .map file where is the link between the 2 stored?
Reply With Quote
  #13  
Old January 10th, 2007, 08:02 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: make us some maps

Quote:
Capt_Jack said:
Stated differently.. If I create a .rgb and a .map file where is the link between the 2 stored?
It's stored in the .map file... when you open your image within the map editor, make your adjustments and then save the map the .map file will be created linking the two files.
Do not make changes within the .map file such as setting allies and then use the map editor to change province settings, otherwise once you save the map within the editor all the information you typed into the .map file will be lost.... this happened to me.
__________________
There can be only one.
Reply With Quote
  #14  
Old January 10th, 2007, 08:25 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: make us some maps

DrPraetorious ....
your special barbarian province 16 looks great except one thing which you may or may not know. You have 3 #knownfeatures listed yet when the map is created if 2 random magic sites are placed on the province then one of your #knownfeatures will not appear. If you definitely want all three of those magic sites to appear then add the #killfeatures before your #knownfeature commands.
__________________
There can be only one.
Reply With Quote
  #15  
Old January 10th, 2007, 08:51 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: make us some maps

I need to dig up my snippets (I called them zones I think).

Lets see...
There was one full of black hawks all carrying exploding amulets

and the Forest of Black Wood which had that site that allows recruiting centaurs, and a dozen centaurs all armed with Black Bow

Another that had centaurs armed with Bow of War

The Lost Village that had a ***** Queen, and skinshifter bodyguards, and lots of wolves
And another Lost Village of all vampires

Crystal Tower with caelum troops but I forget the layout of it

Gryphon Vale (gryphons without riders)

Is anyone putting the neighbors into an array? That would allow for recognition of more than just terrain.
Island: land with all water neighbors
Lake: water with all land neighbors
Volcano: mountain with no mountains around it
Penninsulas, valleys, etc
Also Cave: kindof anyway,land with only one land neighbor

Gandalf Parker
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #16  
Old January 11th, 2007, 12:12 AM
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: make us some maps

NTJedi - yes, you are 100% correct.

Since #killfeatures is part of all my special provinces, it spits it out by default, doesn't need to be added to each special.

Gandalf - yeah, remember you requested island and lake functionality when I posted version 0.1 of the script? It does indeed keep track of neighbors, and spits out comments re: what's a lake and what's an island. Now that you bring it up, it would be much more logical to put specials on lakes (especially) and islands than just scattered around at unused start locations.

In addition to specifying a mask for every eligible special province, I can also specify something about the neighbors - two extra lines of code, easy. That way you could have special provinces that can only be islands etc. I'll get on that.

I wasn't planning on posting a new version of my map-funker until paradox bringer can generate wrap-around maps that he's willing to let me have .

At that point, I can start nagging him about how I want my script to add little symbols to his map when it places start locations, special provinces, etc.
__________________
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
  #17  
Old January 11th, 2007, 07:32 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: make us some maps

@DrPraetorious : I'm currently writing a perl library that will make those kind of script easier.

I should finish tonight the parsing function (from *any .map file, it extract all the informations into a perl structure (it woouldn't be hard to make a true perl object), including the list of terrains types (and similar settings such as 'manysites') of each province.

Simple functions will then be able to edit the provinces and map settings, and another function (that I plan to have done by this week-end) will then output the edited .map file.

When the first version is done (parsing and output functions done + random commanders function (with or without bodyguards and/or units) + simple exemple script) I will post it on the mod forum.
__________________
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
  #18  
Old January 11th, 2007, 08:06 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: make us some maps

Quote:
NTJedi said:
Quote:
Edi said:
Actually, #fort <nbr> does work as advertised, but I'm not sure if the fort numbers in the manual are correct. I have them listed correctly in the DB and I can post some kind of a list of them from home tomorrow (I'm at work now).

Edi
This might be a 'notepad' issue again, but #fort "<nbr>" gives unpredictable results on the many maps I've tested.
I did find a complicated workaround to get the correct fort to appear using notepad.
#fort "<fort_number>" = is unpredictable and should not be used
however
IF the map editor uses the complicated workaround below the correct fort can appear using notepad:
#owner <fort_number>#fort "<any_number>" = WORKS !!

Using the command above within notepad will allow the correct fort to appear and proves the command is broken at least when using notepad. Since most game owners are using Windows and the map edit PDF says a text editor can be used... it's broken. Based on what I discovered it's not working as advertised.
That's a notepad issue, not a problem with the game. Notepad for some reason uses a different form of endline command than standard. It's some kind of proprietary Microsoft thing. Using any other text editor will give you no problems at all. With all the alternatives out there, why anyone would want to use that piece of crap anyway is quite beyond me.

Personally I use Crimson Editor. It's a completely free and far more powerful tool than Notepad and doesn't have any issues with the endlines. Other good choices are Textpad (which you can run off a USB stick withoyt ever needing to install it) and any of a dozen others.

Edi
Reply With Quote
  #19  
Old January 11th, 2007, 09:19 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: make us some maps

Quote:
Gandalf Parker said:
http://www.dom3minions.com/docs/forts.txt
altho I probably should pull the list from the game again in case the last couple of patches added any.
About #21 "Jerellen Wall" : isn'it "Jervallian" wall rather ?
I've found such a site, but it didn't give me any fortress - bug ?
As the site didn't give anything *at all* indeed, it should be a bug !
Reply With Quote
  #20  
Old January 11th, 2007, 11:09 AM
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: make us some maps

The Jervallan Wall gives me a fortress when I find it.

Did you already build a fortress in the province? It won't replace an existing fort.
__________________
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 06:56 AM.


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