.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old January 24th, 2007, 06:28 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: design just ONE province

Quote:
Jack_Trowell said:
Ok, I added your province. ( see http://dominions.realites.org/?actio...cial_provinces )

This is what it will look like in the map file :


-------------------------------------------------------
-- Required terrain type(s) :
-- mountain (16)
-------------------------------------------------------
#setland XXX-- province by Sandman
#landname "Duncorum"
#poptype 47
#commander 21
#bodyguards 5 21
#units 10 21
#units 20 40
#units 25 49
#additem "Black Steel Plate"
#feature "Mine of Superior Iron"


Note that I added the poptype 47 (heavy cavalries and crossbowmen), so they will be recruitable once you take the province. Moreover, the #setland command (instead of #land) means that the natural poptype units will still be there : the heavy cavalry commander and his units will be *added* to the province defences. But if you think that's too many units I can remove the original units, or put less additional ones.
Slight correction here: You have assigned indie poptype 47, but the autogenerated defenders could be ANY poptype that can appear in that terrain. The reason for that is that when Dom3 generates the actual game, it will first randomly assign all provinces some poptype and defenders according to that poptype and will also place all magic sites.

Only after that will it start parsing the map file and will add everything specified there (and also kill any indies in provinces governed by #land and remove sites from provinces with #killfeatures). This means that the defenders for that province could be e.g. Onyx Amazons and Nightmares augmented by the scripted heavy cavalry units, but when you finally do manage to defeat the indies, you will only get to recruit optype 47 instead of the amazons you expected to be there (because they appeared as provincial defenders).

I wish the map file parsing happened before random assignment since it would give far greater control over map files, but unfortunately it doesn't.

Edi
Reply With Quote
 

Bookmarks

Tags
ballbarian, gandalf parker, semirand, semirandom

Thread Tools
Display Modes

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 11:57 PM.


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