.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 April 18th, 2009, 10:58 AM

esd29a esd29a is offline
Private
 
Join Date: Jul 2008
Posts: 15
Thanks: 2
Thanked 8 Times in 2 Posts
esd29a is on a distinguished road
Default PD problem

Hello. I have been working on a mod nation. Everything seems to work, except PD. I have defined 4 units for it but when I test it in game only 2 unit types show up.

Here is the code:
Code:
#defcom1 2844
#defcom2 2846
#defunit1 29
#defunit1b 2839
#defunit2 2838
#defunit2b 2841
#defmult1 20
#defmult1b 20
#defmult2 10
#defmult2b 10
29 and 2838 are the unit types that do appear. Any idea what I am doing wrong?
Reply With Quote
  #2  
Old April 18th, 2009, 11:07 AM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: PD problem

hmmm no idea really the coding seems correct and if defunit2 appears it can't be that you forgot to get 20 + PD either.. the other units are coded correctly? I guess they must or there would be an error.

I've compared it to code of Amos (insects in my dom3 K mod, and my own nations which have working PD.) Seems like a lot htough 20 1 and 20 1b.. mayeb the game is protesting against that
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #3  
Old April 18th, 2009, 03:40 PM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default Re: PD problem

There are some strange undocumented bugs about PD. I had that too with Alugra.

If I recall correctly, I bypassed it by changing the amount of units that appear. Try 19 or 21 instead of 20.

If all else fails, copy something that works and change it bit by bit and test after every change, so that you see what breaks it.
__________________
I have now officially moved to the Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.

If you need to ask something about modding, you can contact me here.

See this thread for the latest info concerning my mods.
Reply With Quote
  #4  
Old April 18th, 2009, 03:41 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: PD problem

still weird since those that do appear are 20 too... but he can alwasy try
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #5  
Old April 20th, 2009, 06:10 AM

esd29a esd29a is offline
Private
 
Join Date: Jul 2008
Posts: 15
Thanks: 2
Thanked 8 Times in 2 Posts
esd29a is on a distinguished road
Default Re: PD problem

Hmm. Was hoping it was one of those "we get that often, here is your mistake" problems. Oh well, tweak and test it is. Thanks all.
Reply With Quote
  #6  
Old April 21st, 2009, 02:49 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: PD problem

try to copy the lines from another mod and then just change numbers (I know, according to me it should work since it looks similar but you can always try)

there MIGHT be problems with your units.. are they recruitable, do they work?
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #7  
Old April 22nd, 2009, 03:40 AM

esd29a esd29a is offline
Private
 
Join Date: Jul 2008
Posts: 15
Thanks: 2
Thanked 8 Times in 2 Posts
esd29a is on a distinguished road
Default Re: PD problem

Thanks but, setting the numbers to 15, 15 solved it. Guess the game really did think the previous numbers were excessive. Having seen the 15s in action, the game was right
Their setup in battle seems messy, archers blocking infantry from advancing and so on, but I am guessing there is no way to mod that.
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 12:44 AM.


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