.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 July 8th, 2007, 10:19 PM
tatsuaki's Avatar

tatsuaki tatsuaki is offline
Private
 
Join Date: Jul 2007
Location: Wisconsin, USA
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
tatsuaki is on a distinguished road
Default Weird error message, and a problem with my mod...

So, I've gotten this error a few times already when trying to make some rather simple mods, and I'm not sure what to do about it.

When I try to end a turn, the game minimizes and an error window pops up. The subject line is in some language other than english, and the error says "ConvArmyNbr: error!"

Also, I'm trying to make a simple mod that just gives (or tries to) the player a specified start province, a custom created god character and that's about it really. But I can't get it to work right. Everything else works fine, but even though I think I've used all the proper codes to create the god and specify that the player start with that god in their beginning province, but when I play the game, there's nothing in the main province.

#scenario
#allowedplayer 69
#allowedplayer 34
#allowedplayer 44
#features 100
#start 1
#start 255
#start 450
#specstart 69 1
#specstart 34 255
#specstart 44 450
#nohomelandnames
#god 69 "Mary"
#dominionstr 69 8
#computerplayer 34 1
#computerplayer 44 1

#land 1
#owner 69
#setland 1
#poptype 43
#commander "Mary"
#comname "Mary"
#knownfeature "The Previous Forest"
#fort 29
#temple
#lab
#population 10000
#defense 50

I think I did it right, but I don't know...
Reply With Quote
  #2  
Old July 9th, 2007, 05:11 AM
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: Weird error message, and a problem with my mod

The problem is the with the map file. You need to have the mod enabled, you need to have some monster there whose monster name is Mary and you should ideally use
#commander <nbr> where the number is Mary's monster number as defined in the mod.
Reply With Quote
  #3  
Old July 9th, 2007, 08:55 AM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: Weird error message, and a problem with my mod

Otherwise you can do a Mary monster, so you will get Mary the Mary
__________________
www.illwinter.com
Reply With Quote
  #4  
Old July 9th, 2007, 04:23 PM
tatsuaki's Avatar

tatsuaki tatsuaki is offline
Private
 
Join Date: Jul 2007
Location: Wisconsin, USA
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
tatsuaki is on a distinguished road
Default Re: Weird error message, and a problem with my mod

Thanks for the quick reply...

The part about the monster number makes sense, I should have figured that out on my own...

But what do you mean exactly when you say that I need to have the mod enabled? Is there a code I'm supposed to put in the map file to enable the mod? I wasn't aware of such a thing, I thought that if I simply named the mod file and the map file the same thing that it would do the rest on it's own. Any clarification as to how that works would be greatly appreciated.
Reply With Quote
  #5  
Old July 9th, 2007, 05:11 PM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: Weird error message, and a problem with my mod

When you start the game and see the main menu click on 'preferences' and then 'mod preferences' and then click on your mod's name. Now it will say '(enabled)'. Exit to main menu and start a game. If you have made a banner for the mod it will sho to the right so you know thet the mod is enabled.
__________________
www.illwinter.com
Reply With Quote
  #6  
Old July 9th, 2007, 05:37 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: Weird error message, and a problem with my mod

To elaborate a bit further on that: Mods are files that allow players to modify aspects of the game and create new units, change the stats of existing ones and a lot of other things. They use coding syntax similar to those of map files. Mods are text files saved with a .dm extension and placed in the mods folder of your game directory. Once you enable a mod from the preferences, all the changes made in that mod will appear in any game that was started while the mod was enabled.

So you need to make a mod where you create a the monster you want (see the modding manual pdf file) and then enable that monster in the map file.

If you want to use one of the existing monsters, e.g. an enchantress, and name her Mary, you would use

#setland <province nbr>
#commander 363 (the number for Enchantress, IIRC)
#comname "Mary"

which would give you an enchantress commander named Mary in there. Clear? If you need the units and their numbers, see the Dom3DB links in my sig.
Reply With Quote
  #7  
Old July 9th, 2007, 06:17 PM
tatsuaki's Avatar

tatsuaki tatsuaki is offline
Private
 
Join Date: Jul 2007
Location: Wisconsin, USA
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
tatsuaki is on a distinguished road
Default Re: Weird error message, and a problem with my mod

Thanks Edi for all the info, that does clear it up.

And thank you Kristoffer for clarifying how to activate a mod.

As much as that was probably really obvious, this is the first time I've made a mod, or even used one for that matter, so I wasn't sure how they worked completely.

Thanks again for all the help.
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 09:10 PM.


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