.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 June 11th, 2008, 08:48 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default #start and #specstart under 3.17

I am at my wits end. (Not a long trip. )

I tried to start up a game on a map adjusted with my RanDom project (fixed for 3.17) and kept getting strange start placements with the #start province set aside for me (the human player) being ignored and finding myself placed next to AI home provinces. Spent a couple of days deciphering my own code (note to self: more comments and less hacking!). Finally I adjusted the code to add a no start value (512) to the neighboring provinces. Never had to do this before as long as every player had a preassigned start location. Now I find my nation using one of the #specstart locations reserved for another nation and the other nation swiping the start of yet a third nation. The result is a jumbled mess with only a few nations taking their assigned locations.

I have attached the map image and the map file to this post and trimmed out the GAN map code which only added defenders, sites, etc. since it should have absolutely no effect on start locations in this situation. Should make it a little easier to browse the file.

If someone else could confirm this unexpected behavior I would really appreciate it. I am hoping that I just have introduced an error in my code or something simple and not found a bug with the 317 patch. I found no mention of dom3's start placement code being changed in the logs, but maybe their were some unexpected effects caused by some other changes?

My sanity thanks you in advance!
Attached Files
File Type: zip 614970-FunkyStarts.zip (1.45 MB, 53 views)
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
  #2  
Old June 12th, 2008, 10:58 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: #start and #specstart under 3.17

There's more annoyances to be discovered using mapedit commands... such as #fort . After a few discussions I found out from Illwinter that notepad from Windows isn't exactly supported for using mapedit commands. It works for the most part, but does have some issues such as what you're experiencing.

An updated mapedit PDF should be provided which includes advising what txt editors are supported.

Another note is that #god only works for the capital of its province... lost an hour of testing to find this fun piece of knowledge.
__________________
There can be only one.
Reply With Quote
  #3  
Old June 12th, 2008, 11:07 AM
Edratman's Avatar

Edratman Edratman is offline
First Lieutenant
 
Join Date: May 2007
Location: Reading, PA
Posts: 724
Thanks: 93
Thanked 37 Times in 27 Posts
Edratman is on a distinguished road
Default Re: #start and #specstart under 3.17

I use 2 text editors that work fine, that I downloaded for free. They are "cream" and "PS Pad". When I opened your notebook file with PS PAd it looked okay to me (quick scan only). I saved it with PS pad and later on I'll see if it works.
__________________
Men do not quit playing because they grow old; they grow old because they quit playing.
Oliver Wendell Holmes
Reply With Quote
  #4  
Old June 12th, 2008, 12:07 PM
Edratman's Avatar

Edratman Edratman is offline
First Lieutenant
 
Join Date: May 2007
Location: Reading, PA
Posts: 724
Thanks: 93
Thanked 37 Times in 27 Posts
Edratman is on a distinguished road
Default Re: #start and #specstart under 3.17

I converted your file to text file. Works fine and both Ulm and Ermor start where you want, 17 and 67. That's are far as I took it.

Your trouble must be something funky with notepad. Who knows?

I give you credit for doing it correctly in notepad. You have a lot more patience than I. I can't even read a map file in notepad.
__________________
Men do not quit playing because they grow old; they grow old because they quit playing.
Oliver Wendell Holmes
Reply With Quote
  #5  
Old June 12th, 2008, 12:57 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: #start and #specstart under 3.17

Notepad uses nonstandard (for Unix/Linux) endlines. On top of that, it does not even recognize the normal endlines, so if you open up a text file that uses those, it's all mashed together in one big row of text and probably contains errors too. Notepad is crapware.

So anything that uses the standard endline will work just fine. Personally, I recommend Crimson Editor. It's free for personal use and absolutely kickass for all kinds of things, including coding.
Reply With Quote
  #6  
Old June 12th, 2008, 02:27 PM
Edratman's Avatar

Edratman Edratman is offline
First Lieutenant
 
Join Date: May 2007
Location: Reading, PA
Posts: 724
Thanks: 93
Thanked 37 Times in 27 Posts
Edratman is on a distinguished road
Default Re: #start and #specstart under 3.17

There is something even worse. Once you download a text editor and see what the map and dm files look like on an editor, you will be dope slapping yourself for weeks.

Edi, if you don't like notepad, just come out and say it.
__________________
Men do not quit playing because they grow old; they grow old because they quit playing.
Oliver Wendell Holmes
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:13 AM.


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