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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- 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 18th, 2011, 08:05 AM
Makinus's Avatar

Makinus Makinus is offline
First Lieutenant
 
Join Date: Jul 2002
Location: Brasil
Posts: 604
Thanks: 0
Thanked 6 Times in 6 Posts
Makinus is on a distinguished road
Default Making Capital Only units

Just to see if there is not a easier way to do this: the best way to make all national units capital-only is changing them so they are produced by the sites found in capitals?
__________________
Currently Playing:
Megamek (latest dev version with home-made random campaign generator), Dominions 3 (with CBM) and Sins of a Solar Empire (heavily modded)
Reply With Quote
  #2  
Old February 18th, 2011, 09:16 AM
Soyweiser's Avatar

Soyweiser Soyweiser is offline
Colonel
 
Join Date: Nov 2008
Posts: 1,735
Thanks: 272
Thanked 120 Times in 93 Posts
Soyweiser is on a distinguished road
Default Re: Making Capital Only units

I don't think there is any other way. And I'm not totally sure what you have to do to make these units not recruitable by other nations, when they conquer the sites. But that is probably listed in the modding manual.
__________________
I'm acting like a high school girl /\
Bookmark these links:
http://dom3.servegame.com/wiki/
http://wolfsbane.alwaysdata.net/Spells.html
Test stuff, use the debug mod:
http://forum.shrapnelgames.com/showthread.php?t=36453
Reply With Quote
  #3  
Old February 18th, 2011, 09:31 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Making Capital Only units

I think the command is #homecom rather than #com for commanders, and something similar for units. #homecom 100 means unit 100 can be recruited from the site only by the nation which starts with that site.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #4  
Old February 20th, 2011, 03:20 PM

Azurain Azurain is offline
Private
 
Join Date: Oct 2010
Posts: 20
Thanks: 2
Thanked 9 Times in 2 Posts
Azurain is on a distinguished road
Default Re: Making Capital Only units

Quote:
Originally Posted by Makinus View Post
Just to see if there is not a easier way to do this: the best way to make all national units capital-only is changing them so they are produced by the sites found in capitals?
To the best of my knowledge, site modding is the only way to make units capital only. Bear in mind that there are significant limitations to this, as well: each site can only have 5 total traits on it (including units, commanders, gem production and other features) and you can only have 4 sites in a zone, so the maximum number of units and commanders total you can have capital-only for a nation is 20 (not 20 each, 20 total), and that's only if you're willing to eradicate all starting-site gem production for that nation.

You'll also have to clear the nations' recruitment lists, which I'm not 100% on how to do other than clearing the entire nation, but the mod manual can help you there.

The commands are #homemon and #homecom if you want the units to be only recruitable by that nation at its capital and #mon and #com if you want the units to be recruitable by anyone who owns the capital (which is fun, and the basis for my assimilation mod).
Reply With Quote
  #5  
Old February 20th, 2011, 03: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: Making Capital Only units

Clearing national recruitment list is not necessary.

You need to modify a start site (or create a new one), subject to the 5 trait limitation mentioned above and use the #homecom command for commanders and #homemon command for regular cap-only units.

If you need to reset the recruitment list, #clearrec is the command you're looking for. It's just not needed here. Check the 3.26 modding manual and specifically site modding, as well as the recruitment lists section.
Reply With Quote
  #6  
Old February 21st, 2011, 07:37 PM

Azurain Azurain is offline
Private
 
Join Date: Oct 2010
Posts: 20
Thanks: 2
Thanked 9 Times in 2 Posts
Azurain is on a distinguished road
Default Re: Making Capital Only units

Quote:
Originally Posted by Edi View Post
Clearing national recruitment list is not necessary.

You need to modify a start site (or create a new one), subject to the 5 trait limitation mentioned above and use the #homecom command for commanders and #homemon command for regular cap-only units.

If you need to reset the recruitment list, #clearrec is the command you're looking for. It's just not needed here. Check the 3.26 modding manual and specifically site modding, as well as the recruitment lists section.
As far as I understand it, the #homemon and #homecom commands do not overwrite or in any way displace the national #addrecunit and #addreccom commands. Meaning that adding a site with #homemon for a unit that the nation already can recruit everywhere will just mean the unit appears twice in the recruitment list where that site is (the capital if it's a start site).

This is actually a side-effect which occurs in my assimilation mod, which makes use of the #mon and #com commands that work in largely the same way.

Since the original request was how to make all of a nation's existing units capital-only, it would be important to use the #clearrec command as well. Otherwise the units will still be recruitable in every fort and just recruitable 'twice' at the capital.

Of course, I could be misreading/misunderstanding the original request, or possibly wrong about how #homemon/#homecom work (though I just tested them before posting this).
Reply With Quote
Reply

Bookmarks

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 04:43 AM.


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