.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 10th, 2012, 09:16 PM

Torgon Torgon is offline
Sergeant
 
Join Date: Jan 2011
Posts: 253
Thanks: 4
Thanked 8 Times in 3 Posts
Torgon is on a distinguished road
Default Modding Question: Adding pretenders to a nations list

How do you add pretenders to the list a nation has to select from?
Reply With Quote
  #2  
Old February 10th, 2012, 09:42 PM
Juzza's Avatar

Juzza Juzza is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Canberra, Australia
Posts: 409
Thanks: 0
Thanked 1 Time in 1 Post
Juzza is on a distinguished road
Default Re: Modding Question: Adding pretenders to a nations list

You need to edit the pretender and add "#restrictedgod 95" or whatever nation you want to restrict the god to. There are lists of unit numbers in several places on the forums or you can select units in game by holding Shift and I dominions then then displays some information including their unit numbers.

This is what editing the Freak Lord would look like.

#selectmonster 246
#restrictedgod 95
#end

Answers to small questions like this can also be found in the modding.pdf in the docs folder of Dominions 3.
__________________
My Mods:
Tarent Mod:
http://forum.shrapnelgames.com/showt...ghlight=Tarent

Dinnas'Arval Mod:
http://forum.shrapnelgames.com/showt...nnas'Arval

Free Port:
http://forum.shrapnelgames.com/showt...+nation&page=3

Currently working on:
http://forum.shrapnelgames.com/showt...hlight=witcher
Inspired by the game The Witcher and the Witcher Novels.
Reply With Quote
  #3  
Old February 10th, 2012, 09:49 PM

Torgon Torgon is offline
Sergeant
 
Join Date: Jan 2011
Posts: 253
Thanks: 4
Thanked 8 Times in 3 Posts
Torgon is on a distinguished road
Default Re: Modding Question: Adding pretenders to a nations list

Yep I tried this method. However, I'm creating a new nation and if you add that line, it removed the pretender from some other nations list. I'm making an altered version of man and was trying to add their pretenders onto the new nation. As I did it they were removed from those available to the normal version on Man. Any way around this problem short of creating new units with copied stats of the old units?

Edit: actually just did this and it wasn't to hard. Problem solved.

Last edited by Torgon; February 10th, 2012 at 10:19 PM..
Reply With Quote
  #4  
Old February 10th, 2012, 11:33 PM
Juzza's Avatar

Juzza Juzza is offline
Second Lieutenant
 
Join Date: Oct 2006
Location: Canberra, Australia
Posts: 409
Thanks: 0
Thanked 1 Time in 1 Post
Juzza is on a distinguished road
Default Re: Modding Question: Adding pretenders to a nations list

You could also just add #restrictedgod for the standard nations as well as your new nation.
__________________
My Mods:
Tarent Mod:
http://forum.shrapnelgames.com/showt...ghlight=Tarent

Dinnas'Arval Mod:
http://forum.shrapnelgames.com/showt...nnas'Arval

Free Port:
http://forum.shrapnelgames.com/showt...+nation&page=3

Currently working on:
http://forum.shrapnelgames.com/showt...hlight=witcher
Inspired by the game The Witcher and the Witcher Novels.
Reply With Quote
  #5  
Old February 10th, 2012, 11:45 PM

Torgon Torgon is offline
Sergeant
 
Join Date: Jan 2011
Posts: 253
Thanks: 4
Thanked 8 Times in 3 Posts
Torgon is on a distinguished road
Default Re: Modding Question: Adding pretenders to a nations list

Quote:
Originally Posted by Juzza View Post
You could also just add #restrictedgod for the standard nations as well as your new nation.
Yep, but it's a lot harder to go through and try to find all the nations than currently use the pretender than it is to just create a duplicate unit. Only downside is that it uses up a unit slot.
Reply With Quote
  #6  
Old February 12th, 2012, 05:35 PM

elmokki elmokki is offline
Second Lieutenant
 
Join Date: Aug 2008
Posts: 408
Thanks: 11
Thanked 209 Times in 57 Posts
elmokki is on a distinguished road
Default Re: Modding Question: Adding pretenders to a nations list

The only way to add pretender gods to new nations without removing them from existing ones is to create a new unit, #copystats and #restrictedgod. Only one #restrictedgod (I think, in any case it's low) per god works.

Cataclysm has the workaround to this by just copying a ton of gods and not adding #restrictedgod. That makes them available to every single nation.
__________________
UnitGen - randomly generated nations with randomly generated sprites
http://forum.shrapnelgames.com/showthread.php?t=48341
Reply With Quote
  #7  
Old February 16th, 2012, 08:52 PM
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: Modding Question: Adding pretenders to a nations list

Elmokki is right, the mod command accepts only one nation. This can be very frustrating. You need to copy the gods.
__________________
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
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:34 AM.


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