.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 February 27th, 2007, 07:06 PM
Hellboy's Avatar

Hellboy Hellboy is offline
Second Lieutenant
 
Join Date: Jul 2004
Posts: 449
Thanks: 0
Thanked 0 Times in 0 Posts
Hellboy is on a distinguished road
Default Basic Map Editing Question

I was trying to edit a small map (silentseasw.map), just to change a couple of provinces to a specific poptype. This seems easy enough, but for some reason my code is not working. Here's what I added, to set to Crystal Amazons:

-- Ptarmigan Ridge
#setland 33
#nostart 33
#poptype 40


I noticed that if I use:
#land 33
instead of setland, then the poptype works ok, but there is no random force placed there at all, which is still not exactly what I was shooting for.

Can anyone tell me how to set the poptype, and get an appropriate random indy force there at the same time?
Reply With Quote
  #2  
Old February 27th, 2007, 08:25 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: Basic Map Editing Question

SetLand says "put it here"
Land says "wipe it clean then put it here"
So if you are setting the basic poptype it looks like your only option is to wipe the province clean then set both poptype and defenders.

Here is part of
http://www.dom3minions.com/docs/map_qref.txt
6.1 #land <province nbr> kill off province and allow settings
6.2 #setland <province nbr> do not kill province but do allow settings
6.3 #commander "<commander type>" place commander and allow settings
6.4 #comname "<name>" overwrites the active commander's random name
6.5 #bodyguards <nbr of guards>"<type>" Gives bodyguards to commander.
6.6 #units <nbr of units> "<type>" squad of soldiers to commander.
6.7 #clearmagic Removes all magic skills from the active commander.
6.8 #xp <0-900> Gives experience points to the active commander.
6.9 #mag_astral <level> Gives magic ability to the active commander.
6.10 #randomequip <0-4> Gives random magic items to commander.
6.11 #additem "<item name>" Gives a magic item to active commander.

for type I find that the number assigned to a unit works better than the name. So to finish out your amazon example it would be...
#land 33
#nostart 33
#poptype 40
#commander 347
#bodyguards 10 248
#units 20 367
__________________
-- 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
  #3  
Old February 28th, 2007, 12:28 AM
Hellboy's Avatar

Hellboy Hellboy is offline
Second Lieutenant
 
Join Date: Jul 2004
Posts: 449
Thanks: 0
Thanked 0 Times in 0 Posts
Hellboy is on a distinguished road
Default Re: Basic Map Editing Question

Quote:
Gandalf Parker said:
So if you are setting the basic poptype it looks like your only option is to wipe the province clean then set both poptype and defenders.

That's what I was afraid, thanks, tho Gandalf.
Reply With Quote
  #4  
Old February 28th, 2007, 11:23 PM
Hellboy's Avatar

Hellboy Hellboy is offline
Second Lieutenant
 
Join Date: Jul 2004
Posts: 449
Thanks: 0
Thanked 0 Times in 0 Posts
Hellboy is on a distinguished road
Default Re: Basic Map Editing Question

Quote:
Gandalf Parker said:


for type I find that the number assigned to a unit works better than the name. So to finish out your amazon example it would be...
#land 33
#nostart 33
#poptype 40
#commander 347
#bodyguards 10 248
#units 20 367
Where does one find the unit IDs and commander IDs? I looked around in www.dom3minions.com/docs and didn't find an obvious file name. I have the old Dom2 unit attributes spreadsheet, but even if the numbers therein are still valid, it doesn't seem to have unit numbers for Mictlan (which is the nation I want to test).

This seems like the kind of thing that Edi might produce w/ his DB, but I haven't found anything w/ national unit/commander IDs so far...

Any help would be appreciated.
Reply With Quote
  #5  
Old February 28th, 2007, 11:41 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 Re: Basic Map Editing Question

Edi's new Dom3 database is here, and there is information about the online unit reference here.
__________________
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
  #6  
Old March 1st, 2007, 12:08 AM
Hellboy's Avatar

Hellboy Hellboy is offline
Second Lieutenant
 
Join Date: Jul 2004
Posts: 449
Thanks: 0
Thanked 0 Times in 0 Posts
Hellboy is on a distinguished road
Default Re: Basic Map Editing Question

Awesome, just exactly what i needed. Thanks for the quick reply!
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 03:31 AM.


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